Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
My windows form application in c# VS2010 is not working properly and prompting the message "the module was expected to contain an assembly manifest" even in simple projects. How to solve this?



Thanks in Advance
Posted
Updated 9-May-14 4:15am
v4
Comments
johannesnestler 9-May-14 6:51am    
reinstall?
[no name] 9-May-14 6:56am    
http://www.google.com/search?q=the+module+was+expected+to+contain+an+assembly+manifest

1 solution

Basically, you are trying to use some executable module (PE file) assuming this is a valid .NET assembly, but it is not.

I have no idea why and how you are trying to do that, but this answer should give you the idea. Assembly manifest is a section of a PE file with the content identifying that the module as a main executable module of some .NET assembly and providing access to its metadata. .NET runtime starts with identifying the module as such a .NET module, and, in case it is not, this exception is thrown.

—SA
 
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