Click here to Skip to main content
15,850,265 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I don't why suddenly my project is getting an error

Error 1 The item "obj\Debug\MDI.frmChangePassword.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. MDI

I am not able to understand this error, I tried to delete that MDI.frmChangePassword.resources file but it creates again automatically when I debug or Build my project....
Please Help on this

I got the Solution above answers does not work, just simply delete you debug folder of your project file and rename your .sln file with any other name, it will work....
Share this answer
Maciej Los 11-May-12 17:42pm    
Super, +5!
Please, mark your question as "solved".
This[^] looks like the same problem.
Share this answer
Mohammed Dawood Ansari 15-Mar-12 11:06am    
Right but I am not getting the Solution form that forum, I had already checked that.....
Richard MacCutchan 15-Mar-12 11:52am    
Then you need to provide a lot more detail; your question is not very clear, apart from specifying what error message you see. And please edit your question above when you provide more information.
I would advise to open a project file as text in a regular text editor and search for "MDI.frmChangePassword.resources". Does it appear twice? If so, remove redundant node (backup the file before this experiment, of course).

I vaguely remember such cases appeared after tricky but incorrect manipulations with projects (like merging them), and I always managed to fix the problem manually.

Share this answer
Take a backup of the file(copy both .cs and .designer.cs file) which is giving the error and then delete that file from the project. After removing the problem file rebuild the solution and then add the same file back (add both .cs and .designer.cs file) 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