Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assembly not found
Message
From
24/12/2009 08:58:02
 
 
To
24/12/2009 08:19:34
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01439842
Message ID:
01440521
Views:
20
>>Snip: Error : The type reference cannot find a public type named 'Members.MembershipTypes'.
>>
>>Your reference in XAML is : x:Type Members.MembershipTypes
>>Is that the right namespace? Should it be : Members.Library.MembershipTypes ?
>
>I thought that this line meant I could refer to it as Members alone:
>
>xmlns:Members="clr_namespace:Members.Library;assembly=Members.Library"
>
>Maybe I'm misunderstanding what this does, but I thought it was like a using Members.Library, but giving it an alias called "Members".
>
>Is that right?

No. If you are using the xmlns alias it should be a colon (so I just realized I was wrong in suggesting the correction I did).
If your xmlns is Members="Members.Library...." then the line should be:
x:Type Members:MembershipTypes
(assuming you are referencing Members.Library.MembershipTypes)

>
>If I use Members.Library.MembershipTypes then I get the error:
>
>The type reference cannot find a public type named 'Members.Library.MembershipTypes'.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform