Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assembly not found
Message
De
24/12/2009 07:44:27
 
 
À
24/12/2009 02:03:43
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:
01440508
Vues:
21
>In Solution Explorer under your project that contains EditForm open the References leaf. Is the Members.Library listed in the references.
>
>You indicated that it was, but I just want to make 100% sure that it really is there.
>
>If that's not it I'm having a tough time coming up with a reason why it's not in your intellisense list. Viv's idea may help.

Yes, it's there. Here's a screenshot: http://www.samaansystems.com/images/Capture1.jpg MembersWpf is the WPF project with the reference to Members.Library. EditForm also exists in MembersWpf.

I think there was a problem with the Members.Library namespace (see my reply to Viv), but I believe I have fid=xed that and I still have this error:

The type reference cannot find a public type named 'Members.MembershipTypes'.

This is the code that is causing the problem:
<local:EditForm x:Class="MembersWpf.MembershipTypesEdit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MembersWpf"
    xmlns:csla="clr-namespace:Csla.Wpf;assembly=Csla"
    xmlns:Members="clr_namespace:Members.Library;assembly=Members.Library">
    <local:EditForm.Resources>
        <local:VisibilityConverter x:Key="VisibilityConverter" />
        <csla:IdentityConverter x:Key="IdentityConverter" />
        <csla:CslaDataProvider x:Key="MembershipTypeList"
                           ObjectType="{x:Type Members.MembershipTypes}"
                           FactoryMethod="GetMembershipTypes"
                           IsAsynchronous="False"
                           DataChanged="DataChanged"
                           ManageObjectLifetime="True">
        </csla:CslaDataProvider>
        <csla:ObjectStatus x:Key="MembershipTypeListStatus"
                       DataContext="{StaticResource MembershipTypeList}" />
    </local:EditForm.Resources>
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform