Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Visual Studio 8 new windows project run gives error - Error While Trying To Run Project Could not Load file or Assemply ......the module was expected to contain a assembly manifest

Thanks

What I have tried:

I have formatted my machine and installed visul studio 8 and taken a new project and click on run it works. Then I installed visual studio 10 and then in vs 8 - new project run it gives this error.
Posted
Updated 25-Jul-16 3:42am

1 solution

Chances are that the two projects are built for different "machine sizes" - if your new VS10 project is built for x64 and uses a DLL your VS8 built for x86 (or vice versa) then you could get this message as you can't switch between 32 bit and 64 bit assemblies within the same process.

So check your build settings, and use an appropriate size for your DLL files.
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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