Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create a dll file in .net framework from my specific location.
I located to windows microsoft.net system folder('C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727') of above creating dll file for utilization of another .net framework project. Whenever i run the project,
a error msg shown('An unhandled exception of type 'System.IO.FileLoadException' occurred in Project.exe. Additional information:
Could not load file or assembly 'dll_Name, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)')<br />

How will i solve the above problem & supply to any proper instruction of this problem???

Please help me....
Posted
Updated 5-Mar-12 8:23am
v2

1 solution

Remove the reference you set in this project to that .DLL and re-add the reference.

If you're going to continue to make changes to the .DLL project, you'll have to constantly remove and readd the reference in this project. To get around this problem, add your .DLL project to the solution this project is in and add a PROJECT reference instead of a reference to the resulting .DLL.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900