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

前端 未结 6 1568
后悔当初
后悔当初 2021-01-17 11:50

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

6条回答
  •  离开以前
    2021-01-17 12:02

    Be sure that under yourForm.cs no duplicate resources are defined (.resx). If you renamed your Form, remove the old resource because the new one during compile will be created with the new name.

提交回复
热议问题