Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assembly not found
Message
De
24/12/2009 08:58:02
 
 
À
24/12/2009 08:19:34
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01439842
Message ID:
01440521
Vues:
21
>>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'.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform