Two output file names resolved to the same output

后端 未结 21 974
攒了一身酷
攒了一身酷 2020-12-13 23:50

Recently I created new Form called WorkersScreen. When I try to run the project I got this error:

Error 1 Two output file nam

21条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 00:05

    I had the issue and it was caused because I had a partial class of a custom control.

    I had accidentally created a .resx file for the partial

    I think I did this by hitting shift F7 on the partial class and producing the empty designer form.

    Removing the .resx file on the partial class resolved it for me. I was using version control and it was showing that it was a new file.

    Hope this helps

提交回复
热议问题