VS2010 “An item with the same key has already been added”

前端 未结 8 1353
慢半拍i
慢半拍i 2020-12-10 11:03

I recently installed Visual Studio 2010 and copied and converted an old VS2005 solution to VS2010

When I edit this solution, if I try to change a control\'s .image p

8条回答
  •  失恋的感觉
    2020-12-10 11:26

    I worked this out thanks to a search. The solution is to never create a .resx file with the name "Resources.resx" because it conflicts with the "Resources.resx" files that can be automatically created in the project's properties dialog.

    Once I renamed Resources.resx to Icons.resx, I was able to change the image property for anything in the solution.

提交回复
热议问题