RE: Namespace error | clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
-
Friday, April 02, 2010 2:02 PM
Hello,
Im currently trying to write a Silverlight app for Windows 7 Mobile using
- Visual Studio 2010 Express for Windows Phone
- Expression Blend 4 Beta
- Expression Design 3 Trial
Im tryin to move XAML generated (working code) from Visual Studio to Blend but getting a namespace error:
Namespace: Declared in inside <Application> no error...
xmlns:mpc="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
Code:
<Style x:Key="PhoneListBoxItemLayout" TargetType="mpc:ListViewItem">
Error:
The name "ListViewItem" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
Thank you
Michael Kearney
All Replies
-
Friday, April 02, 2010 2:35 PMModerator
Are you missing an assembly reference in your project in Blend?- Marked As Answer by mikexkearney Friday, April 02, 2010 2:41 PM
-
Friday, April 02, 2010 2:44 PM
That should have been my first action but I thought was already referenced seeming as there wasnt a red line under the namespace.
Thanks

