Unable to create a manifest resource name error in Visual Studio 2008

前端 未结 6 966
半阙折子戏
半阙折子戏 2021-01-07 22:54

I\'ve created a Form1.cs in a Windows Forms application, and there\'s already a file Form1.resx. But whenever I try to run my application, I\'m constantly getting the follow

6条回答
  •  盖世英雄少女心
    2021-01-07 23:43

    Your .csproj is corrupted. You need to manually edit it. For a form, there must be 3 entries:

    
      Form
    
    
    
      MyForm.cs
    
    
    
      MyForm.cs
      Designer
    
    

提交回复
热议问题