thx Tuna

i tried to add the app.config again the previous error disappeared but i get
another one:

Method not found: 'System.Collections.IDictionary
NHibernate.ISessionFactory.GetAllClassMetadata()'.

2009/8/16 Tuna Toksoz <[email protected]>

> You may have something in gac, you may have some leftoevers in some
> projects bins
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
>
> On Sun, Aug 16, 2009 at 2:29 PM, Ahmed Emad <[email protected]> wrote:
>
>>
>> hi
>> when i used Nhibernate 2.1 and Set it still need Iesi Collection
>> but when i use it with wpf project i always get this error
>>
>> Could not load file or assembly 'NHibernate, Version=2.0.1.4000,
>> Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its
>> dependencies. The located assembly's manifest definition does not
>> match the assembly reference. (Exception from HRESULT: 0x80131040)
>>
>>
>> i have already remove all dlls and add them again alot of times and no
>> any response
>>
>> the project have a warrning! :
>>
>>
>> Warning 1       Found conflicts between different versions of the same
>> dependent assembly.
>>
>> then he asks me :
>>
>> ---------------------------
>> Microsoft Visual Studio
>> ---------------------------
>> One or more dependent assemblies have version conflicts.
>>
>> Do you want to fix these conflicts by adding binding redirect records
>> in the app.config file?
>> ---------------------------
>> Yes   No
>> ---------------------------
>>
>>
>> when i press yes i get this app.config file in my project :
>>
>>
>> <?xml version="1.0"?>
>> <configuration>
>>        <runtime>
>>                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
>>                        <dependentAssembly>
>>                                <assemblyIdentity name="Iesi.Collections"
>> publicKeyToken="AA95F207798DFDB4" culture="neutral"/>
>>                                <bindingRedirect
>> oldVersion="0.0.0.0-1.0.1.0" newVersion="1.0.1.0"/
>> >
>>                        </dependentAssembly>
>>                        <dependentAssembly>
>>                                <assemblyIdentity name="NHibernate"
>> publicKeyToken="AA95F207798DFDB4" culture="neutral"/>
>>                                <bindingRedirect
>> oldVersion="0.0.0.0-2.1.0.4000"
>> newVersion="2.1.0.4000"/>
>>                        </dependentAssembly>
>>                </assemblyBinding>
>>        </runtime>
>> </configuration>
>>
>>
>>
>> but the proplem still persist any help?
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to