The designer could not be shown for this file because none of the classes within it can be designed

后端 未结 11 2528
一个人的身影
一个人的身影 2020-12-09 14:53

We have the following shared component:

public class OurServiceBase : System.ServiceProcess.ServiceBase

This class has functionality we wan

11条回答
  •  暖寄归人
    2020-12-09 15:19

    1. Open "Designer.cs" file
    2. Cut all code and save file
    3. Paste all code and save file
    4. Re-open form / Restart Project / Restart Visual studio (whichever works)

    This will do the trick

提交回复
热议问题