[Webinar] Streamline your web hosting managementRegister Today


Visual Studio Forms Error?

Posted on 2008-02-09
Medium Priority
Last Modified: 2013-12-17
I just copied a form and pasted it to duplicate the form (Something that should be simple...), and am now getting this error when I try to build my application:

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

Does anyone know how I can fix this?  I would really appreciate some help, as this has me quite nervous...

Thanks Again for your help...
Question by:M_Lyons

Accepted Solution

jagmohan_gunwant earned 2000 total points
ID: 20856855
Hello Sir
As it seems, have u tried deleting the obj directory and also cleaning you solution and project.
try Rebuilding the Project.

If it also does not helps, then the last one
Try Changing the Class Names of your copied Form and its CS file i.e in the Designer.cs file and in the Copied Form's Code Behind File.

Hope it helps

Author Closing Comment

ID: 31429450
OMG, thank you SOOOOOOO much for your help.  That seems to have corrected it.  That had me really terrified...

Thank you very much.  :)

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question