Click here to Skip to main content
16,018,916 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
See more:
I'm having problem to run VB Form project (using Visual Studio 2010
ultimate edition).
When I try to run the project which I already ran, it says:
"Error while<br />
trying to run project:could not load file or assembly<br />
'WindowsFormsApplication1' one of its dependencies. The module was<br />
expected to contain an assembly manifest"
.

After this error im not able to run any Form or any other project. Please
tell me why this error occured and a way to fix this problem.

I have uninstall and re-install Visual Studio five times, I have combed the internet for solutions but have found none.

Thank You.
Posted
Updated 22-May-13 6:16am
v2
Comments
Mahesh Bailwal 22-May-13 9:30am    
Is it happening for only for one project? I mean if you create new project and run it without making any change, does it work.
tarhex 22-May-13 9:37am    
all of my project have this error
CHill60 22-May-13 10:43am    
Have you changed the target framework for your build at all (e.g. from 4.0 to 3.5)?
[no name] 22-May-13 11:39am    
I know... weird question... but have you thought about asking Microsoft about their product?
tarhex 22-May-13 16:16pm    
I have changed from 4 to 3 to even 2, error still exist

1 solution

You need to have an Assemblyinfo[^] file in the properties folder.
 
Share this answer
 
Comments
tarhex 22-May-13 16:17pm    
How can I do that?
Abhinav S 23-May-13 0:26am    
The place where you got this code from should have that file?
tarhex 23-May-13 0:32am    
I still don't understand you, bro.
Abhinav S 23-May-13 0:43am    
Try following this link - http://www.codeproject.com/Articles/27931/Customizing-csproj-files-to-autogenerate-AssemblyI
tarhex 3-Jul-13 7:52am    
Never worked

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