I have actually just figured this out and thought I'd share it in case it helps anyone in the future.
To fix the issue I browsed to [obj > Debug] and [obj > release] and deleted any files which referenced the word resources. After this my project built successfully.
Hope that helps someone!
Ben
-- Please mark my responses as answers if they help!
Marked as answer by ferretneck on Feb 14, 2011 10:48 AM
ferretneck
Member
601 Points
279 Posts
Resource name '<name>.Resources.resources' cannot be used more than once.
Feb 03, 2011 11:08 AM|LINK
Hi All
I have recently upgraded to VS 2010 and converted my web site into a web application. Now, when I attempt to build, I receive the error:
Resource name '<name>.Resources.resources' cannot be used more than once.
There is no page name or anything, and I have completely exhausted all that Google has to offer.
Can someone help please?
Thanks
Ben
Zizhuoye Che...
All-Star
21915 Points
1915 Posts
Re: Resource name '<name>.Resources.resources' cannot be used more than once.
Feb 08, 2011 01:49 AM|LINK
Hi,
Not very sure about the issue. Do you have any Resources file or ScriptManager, AJAX control in your web application?
Maybe you can try to find out all the resource file and then add them. Then complie application again.
This article described this error:
http://www.punkcoder.com/2005/02/nant-error-cs1508-bc31502-resource-has.html
And here's a similar thread, you can check it:
http://forums.asp.net/t/1306881.aspx
Hope this can help you.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
ferretneck
Member
601 Points
279 Posts
Re: Resource name '<name>.Resources.resources' cannot be used more than once.
Feb 14, 2011 09:07 AM|LINK
Hi, thanks for getting back to me.
I have actually just figured this out and thought I'd share it in case it helps anyone in the future.
To fix the issue I browsed to [obj > Debug] and [obj > release] and deleted any files which referenced the word resources. After this my project built successfully.
Hope that helps someone!
Ben