-1

I am developing a windows application in visual studio 2012 ultimate. But I am getting following error when I am running it:

Error: while trying to run your project, could not load file or assembly WindowsApplication1 or one of it's dependencies. The module was expected to contain an assembly manifest.

Suhaib Janjua
  • 3,538
  • 16
  • 59
  • 73
Ameen Ami
  • 26
  • 1
  • 2
  • 5
  • Did you move something, or accidently delete something in your WindowsApplication1 file? – mmking Apr 11 '15 at 15:21
  • no..just dragged a button and clikced on run but getting error,and selected build project but getting error,and created new project but still getting the same error – Ameen Ami Apr 11 '15 at 15:37
  • Check out [this question](http://stackoverflow.com/questions/12135925/error-while-trying-to-run-projectthe-module-was-expected-to-contain-an-assembly) and see if it helps. – mmking Apr 11 '15 at 15:45

1 Answers1

0

Finally i found the solution.It was just because of file missing from my windows os.So just formatted and installed new OS and then installed Visual Studio.Now working fine...

Ameen Ami
  • 26
  • 1
  • 2
  • 5