What could cause Visual Studio / C# error MSB3105: Duplicate resources

While working on an existing project I suddenly got the following error when trying to compile the solution:

error MSB3105: The item "[filename]" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter.

Now, as far as I'm aware, I did not make any change to the project that affects the resources. Also I have checked each and every file within the project, but there is no duplicate reference anywhere to this file. Now I already found some forum entries regarding this error:

1) Open the .csproj file and remove the duplicate reference. [Tried this, but I cannot find any duplicates in it]

2) In a 'partial class' project, move everything to a single class. [ Could try this, but the project has been split up into partial classes since the start, and I do not want to change this just because of the error ]

So what else could cause this ?


Did you try showing all files in the Solution Explorer? You could have a duplicate .rsx file somewhere in there.

Need Your Help

how to change the default application image of the qt android app

android c++ image qt qml

I made an android app using QT/Qml c++ and i can run it on the android device.

Avoiding Loss of Work with Local Commits?


I am new to Git, having only tinkered with it. I really like it so far, and we are talking about starting to use it where I work.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.