Click here to Skip to main content
15,886,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am facing a new problem with my project

Yesterday it worked good.. I shutdown my system and came back to my work with the project today,

it is showing the error

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

I searched in google and done the following to solve this problem......
1. I set my project as startup project
but no use
2. Deleted the Temp folder
then also getting same error
3. I Removed all the references and added freshly
but same error exists

Now...I created a new project "WindowsFormsApplication1" and placed a default empty form
Even if I run this simple form project, I am getting same problem

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.

plz help me to solve this problem
I am not understanding the problem,,, wheather it is in my project or visual studio
my entire one month work is seems to be gone,,,,,,,,,,,,,,,plz help me,,,,,,
Posted
Updated 24-Jan-12 23:30pm
v3
Comments
Addy Tas 26-Jan-12 17:00pm    
Have you tried Dependency checker from the sysinternals suite?

To validate....

You created a new WinForms app, you did NOT add any of your any code in any way (no assembly references). So the only thing in the solution was Microsoft stuff.

If that is correct and ONLY if that is correct....

As a wild possibility you could try turning off your firewall/anti-virus apps. Then try the new WinForms project. Sometimes they can have wild interactions with system resources including files. Shouldn't matter but worth a try before proceeding. Of course turn it back after the test.

Otherwise if it was me I would presume something had been corrupted on the system or had been uninstalled.

If WinForms requires some additional MS install (besides standard .Net) then I would uninstall it then re-install. Try the new WinForms test.

Finally I would uninstall the VS IDE and re-install. I would also see if .Net versions (1 through 4) allow for a 'fix' mode in the install/uninstall options.)
 
Share this answer
 
In your project code you missing some assembly file. to know which assembly file is missing in your code you expand the reference option in the solution explorer and the missing file is colored with error mark. to add this file just write click on the reference and add the references. you can add the references from computer, form .net or used project as reference for your project.
 
Share this answer
 
v2

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