954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error with manifest resource files

I have a project (which I inherited) in Visual Studio 2002. I have been working with this project for about 6 months. This week, the project decided to generate many errors as below:

Resources 'private\901\default.aspx.resx' and 'private\903\default.aspx.resx' have the same manifest resource name 'content.default.aspx.resources'.


I seem to remember finding an answer to this some time ago, but cannot seem to find it now.

If I exclude one of the files, close VS, then add the file back to the project (after restarting VS), the errors will sometimes go away. Today, VS decided to keep them around. I actually recreated one of the web forms. I have excluded the form from the project, deleted resx files, and then re-added the form. These solutions will seem to work temporarily. After a couple of builds and runs, the errors will return.

Any ideas?

Thanks,
Peggy

plope
Newbie Poster
4 posts since May 2004
Reputation Points: 10
Solved Threads: 0
 

I've had the same problem. I changed the name of a form, but it didn't change the name of the actual class. Make sure you have different class names between your two files.

tojamismis
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

Rebuild the project. Create a new and add the files back in?

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You