G
Guest
Hi,
I am trying to use the data access dll in one of my projects and was
originally getting the error:
'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong
name.
I then followed instructions and gave the following assemblies strong name
using mycompany.snk
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
I then complied each, which went successful. I the try to reference them
form my project using the following path respectively
C:\Program Files\Microsoft Enterprise Library June
2005\src\Common\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Common.dll
C:\Program Files\Microsoft Enterprise Library June
2005\src\Configuration\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Configuration.dll
C:\Program Files\Microsoft Enterprise Library June
2005\src\Data\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Data.dll
I then compile my project. All was successful. NO ERRORS SO FAR. When I
click the button to retrieve data form the database I get the error
An unhandled exception of type 'System.IO.FileLoadException' occurred in
microsoft.practices.enterpriselibrary.configuration.dll
Additional information: The located assembly's manifest definition with name
'Microsoft.Practices.EnterpriseLibrary.Data' does not match the assembly
reference.
What's next! Please any ideas. I have been with this for > 24 hours.
Thanks
I am trying to use the data access dll in one of my projects and was
originally getting the error:
'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong
name.
I then followed instructions and gave the following assemblies strong name
using mycompany.snk
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
I then complied each, which went successful. I the try to reference them
form my project using the following path respectively
C:\Program Files\Microsoft Enterprise Library June
2005\src\Common\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Common.dll
C:\Program Files\Microsoft Enterprise Library June
2005\src\Configuration\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Configuration.dll
C:\Program Files\Microsoft Enterprise Library June
2005\src\Data\obj\Debug\Microsoft.Practices.EnterpriseLibrary.Data.dll
I then compile my project. All was successful. NO ERRORS SO FAR. When I
click the button to retrieve data form the database I get the error
An unhandled exception of type 'System.IO.FileLoadException' occurred in
microsoft.practices.enterpriselibrary.configuration.dll
Additional information: The located assembly's manifest definition with name
'Microsoft.Practices.EnterpriseLibrary.Data' does not match the assembly
reference.
What's next! Please any ideas. I have been with this for > 24 hours.
Thanks