How to avoid a System.Runtime.InteropServices.COMException?

后端 未结 4 1002
你的背包
你的背包 2020-11-29 07:56

In my Microsoft Surface project, I always get a lot of the following exceptions:

\'MuReSe.vshost.exe\' (Managed (v2.0.50727)): Loaded \'C:\\Windows\\assembly         


        
4条回答
  •  时光说笑
    2020-11-29 08:40

    I came across System.Runtime.InteropServices.COMException while opening a project solution. Sometimes user doesn't have enough priveleges to run some COM Methods. I ran Visual Studio as Administrator and the exception was gone.

提交回复
热议问题