Unable to get the designer view window back using windows forms with Visual Studio 2010

后端 未结 15 1644
逝去的感伤
逝去的感伤 2020-12-20 11:08

I am in process of writing a C# Windows Forms application using Visual Studio Express 2010 ENU SP1. Further VS specifics are at the bottom of this post. I recently made so

15条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-20 11:33

    I realise this is quite an old thread now, but I just had something similar happen in one of my projects in VS2010. There was no way to edit the Form in the form designer.

    In the end tracked it down to a problem in the .csproj file. There is a item group that specifies what is compiled. Within the item group tag, for my form it had ...

    
    

    it needed...

    
      Form
    
    

    The SubType XML tag was missing. A quick change to the project file and I could edit the form again.

提交回复
热议问题