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

后端 未结 11 2516
一个人的身影
一个人的身影 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:04

    You may also run into this problem if your control/service is inheriting from a generic class. The designer doesn't get along well with abstract classes in the hierarchy, since it has to instantiate them.

提交回复
热议问题