Assembly Manifest Error
-
I was working on Visual Studio 2008 Pro and all of a sudden I went to click on the "start debugging" and an error code appeared: Error while trying to run project: Could not load file or assembly "project1" or one of its dependencies. The module was expected to contain an assembly manifest. I have never received this error code before. How do I remedy this problem? Thanks Kevin
-
I was working on Visual Studio 2008 Pro and all of a sudden I went to click on the "start debugging" and an error code appeared: Error while trying to run project: Could not load file or assembly "project1" or one of its dependencies. The module was expected to contain an assembly manifest. I have never received this error code before. How do I remedy this problem? Thanks Kevin
Your system might have uninstalled the GAC and you need to reinstall it. If you are running Visual Studio 2008, you could use the Visual Studio 2008 Command Prompt Go to(Start-All Programs-Microsoft Visual Studio 2008 – Visual Studio Tools – Visual Studio 2008 Command Prompt) and execute the this command gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" quotes are required and you may change it to whatever .dll file you need installed. Hope it helps! Farhat. P.S. You need to restart your VS in order to see this error gone.
-
Your system might have uninstalled the GAC and you need to reinstall it. If you are running Visual Studio 2008, you could use the Visual Studio 2008 Command Prompt Go to(Start-All Programs-Microsoft Visual Studio 2008 – Visual Studio Tools – Visual Studio 2008 Command Prompt) and execute the this command gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" quotes are required and you may change it to whatever .dll file you need installed. Hope it helps! Farhat. P.S. You need to restart your VS in order to see this error gone.
-
I have the same problem....I can't solve this yet....i do your step and restart pc ,but still the same problem...can you solve this problem for me
I am sure you must be able to resolve the issue. I just happen to visit codeproject and I will revise the solution for you once again. To install it into your GAC, simply navigate to: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin in your command prompt (not the .NET on, the regular one) and type in: gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" or change it to whatever .dll file you need installed. I am sure you won't get that error again. Regards Farhat.
-
I am sure you must be able to resolve the issue. I just happen to visit codeproject and I will revise the solution for you once again. To install it into your GAC, simply navigate to: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin in your command prompt (not the .NET on, the regular one) and type in: gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" or change it to whatever .dll file you need installed. I am sure you won't get that error again. Regards Farhat.
-
Even after doing the steps you said it is still not working how will i know which dll to run
It has been a year since I didn't come across such a problem. I am on Visual Studio 2010 Ultimate now. This link might help. http://stackoverflow.com/questions/215026/the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference[^] Regards Farhat.