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

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

    Further to Ausibanez's answer above.

    My app was in X64 but my problem was I had recently added a COM reference to WIA (Windows Image Acquisition) which was the issue.

    But oddly...

    1. It worked for some time before it decided to no longer work, and
    2. WIA was not being called on the particular inherited form or its base.

    But, once the reference to WIA was removed, all was OK again.

    So, check your COM references!

提交回复
热议问题