locked
Resource name cannot be used more than once RRS feed

  • Question

  • User1389224148 posted

    My program was working fine until I tried to publish it.While building it kept giving me this error message;

    "Resource name cannot be used more than once".

    I don't know where I need to look for it or what i need to do.

    Has anyone come across something like this?How did you resolve it?

    Tuesday, October 25, 2011 12:10 PM

Answers

  • User-276842610 posted

    Hi reeba2011,

    Does the error look like "Resource name 'xxxxx.resources' cannot be used more than once"? if that, you have got the sufficient information the warning itself provided, you need to rename xxxxx.resources.

    else, please try method mentioned in this post: http://forums.asp.net/t/1649329.aspx

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 27, 2011 2:00 AM

All replies

  • User-949955009 posted

    The error means: The name for a specified resource in a dynamic-linked library or executable file was used more than once.

    Go ahead and check all the resources that you have in your application, Embedded files, string resources etc. and make sure the names are unique otherwise you would get this error.

    Read more: http://forums.asp.net/t/1649329.aspx

    Tuesday, October 25, 2011 12:44 PM
  • User1389224148 posted

    No did not work for me. I had to rework it all over again.Since it was a small site it's okay wonder what I would have done if it was a big one.There has to be a better way .

    Tuesday, October 25, 2011 4:05 PM
  • User-276842610 posted

    Hi reeba2011,

    Does the error look like "Resource name 'xxxxx.resources' cannot be used more than once"? if that, you have got the sufficient information the warning itself provided, you need to rename xxxxx.resources.

    else, please try method mentioned in this post: http://forums.asp.net/t/1649329.aspx

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 27, 2011 2:00 AM