Error while trying to run project: Could not load file or assembly 'WindowsFormsApplication1' or one of its dependencies. The module was expected to contain an assembly manifest.


    Question

  • i am using visual studio 2010 from one year everything is fine in last one year but before two months i am facing problem from debugging every time when debug a new project or old project i have got an error which is "could not load file or Assembly 'windows form application3' or one of its dependencies .The module was expected to contain an assembly manifest"
    I have tried everything repair reinstall vs2010 format 2-3 times  windows 7 again  install,create new user account,reset vs settings and all the solution from net but the problem is as it is.i am tired from this error please solve my problem.
    i am making project in c# using win form and wpf  but the same error in everywhere .

Answers

  • Question
By saber shaikh
Please change target .NET Framework to 4.0, clean and rebuild your solution, check it again.
Change the platform. Try to manually set it to x86/x64/Any CPU and see if it will run after that.
Reference:
Have a nice day,

Comments