Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one error when I want to debug my project (my project name is 'pp'
my error:

"error while trying to run project could not load file or assembly 'pp' or one of its dependencies. the module was expected to contain an assembly manifest "

How can I solve my problem ?

Also when I create new project and debug it I have this error.

Thank you very much kind gentlemen.
Posted
Updated 12-May-11 4:54am
v4
Comments
Hemant__Sharma 12-May-11 8:56am    
Are you able to build it successfully?
Are you able to run it without debugging?

--Hemant
samad_najjar 13-May-11 1:57am    
no , i can't !
BobJanova 12-May-11 11:45am    
c/p from below:

Usually, this is because you compiled your assembly with some external reference (using /r: on the csc command line or References in your IDE), and you didn't copy those referenced assemblies into the output folder.

Although actually in this case it is a manifest that is missing, apparently. Is there a 'pp.manifest' file that you failed to copy?

1 solution

 
Share this answer
 
Comments
Marc A. Brown 12-May-11 8:58am    
Not sure why you got 1-voted, but I countered it. Good link.
#realJSOP 12-May-11 9:23am    
Probably because I couldn't read his freakin' mind and didn't have some divine link to his code base so I could point and go, "AH -HA!!!"

Lotsa tools on the site today...
Hemant__Sharma 12-May-11 9:04am    
Certainly its a good link.. who voted down. My 5 too.
BobJanova 12-May-11 9:39am    
Good link, but perhaps a little explanation of the most common cause would help the OP: Usually, this is because you compiled your assembly with some external reference (using /r: on the csc command line or References in your IDE), and you didn't copy those referenced assemblies into the output folder.

Although actually in this case it is a manifest that is missing, apparently. Is there a 'pp.manifest' file that you failed to copy?
#realJSOP 12-May-11 9:51am    
Why don't you ask the OP that question?

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