Form and designer files not linking in Solution Explorer

后端 未结 5 541
礼貌的吻别
礼貌的吻别 2020-12-15 18:21

I can\'t seem to get the form and the designer files to link in my project. They look like this in the Solution Explorer.

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 18:55

    In VS2017 (c#) to solve it, in my case:

    1. exclude all file
    2. go to folder
    3. rename file (all 3 file .cs.Designer.cs .resx)
    4. refresh solution
    5. add to project back

提交回复
热议问题