Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi folks,

I've come across a new error message (For me at least) in VS 2010 when I try to debug. If anyone could help solve it I'd appreciate it.......It says:
Quote:
Error 1 The item "obj\x86\Debug\WindowsFormsApplication2.frmMain.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. WindowsFormsApplication
Posted

It seems that you have added frmmain Form twice thats why it is giving error

Do following thin after taking backup of your existing project

Remove the frmmain form from recent solution (and save somewhere)
Recompile the project
Save the solution
Restart the solution
Add the frmmain form
Recompile


Again Take backup before doing this

Hope this will solve prob
 
Share this answer
 
Comments
amirmohamad 26-Aug-12 0:50am    
I deleted the resx file and rebuilt the project. Thanks anyway.:-)
nitin bhoyate 26-Aug-12 0:53am    
ok go ahead....I hope you solved the problem
Try This,
Take a backup of the both .cs and .designer.cs files, which is giving the error and then delete that file from the project. And rebuild the solution and then add add both .cs and .designer.cs files to solution and again rebuild the solution back.
 
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