none
.resources was specified more than once in the "Resources" parameter RRS feed

  • Question

  • Hi! I'm getting this error, which apparently many developers face, but all solutions I get for it, is to delete the .resx file, which sure makes the program work but I don't know is a good idea or not. Please help:
    "Error 1 The item "obj\x86\Debug\Quality_Control_Analysis.qualitycontrolanalysis.resources" was specified more than once in the "Resources" parameter.  Duplicate items are not supported by the "Resources" parameter."
    There is only 1 such tag in my csproj file:
    <EmbeddedResource Include="Quality Control Analysis.resx">
       <DependentUpon>Quality Control Analysis.cs</DependentUpon>
    </EmbeddedResource>
    But if I delete the Quality Control Analysis.resx file from VS 2010, or change the "Build Action" of "Quality Control Analysis.resx" from "Embedded Resource" to "None", the problem is gone. It's weird...what should I do?

    facebook.com/prateek203

    • Moved by eryang Monday, May 2, 2011 3:01 AM (From:Visual Studio Debugger)
    Friday, April 29, 2011 3:43 AM

All replies

  • Hi,

    Similar issue was discussed at another post, you may want to have a read.

    By the way, your question is out of support range of VS Debugger forum, you can try MSBuild forum for further support.

     


    Eric Yang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, May 2, 2011 3:01 AM
  • I already went through that post. Didn't helped me :(

    What's the difference in VS Debugger and MSBuild? Can you kindly move my thread to the appropriate forum?


    facebook.com/prateek203
    Tuesday, May 3, 2011 9:45 AM