[英]Why does RegistrationServices.RegisterAssembly() return FALSE?
I wrote this code to register my assembly with COM-interface: 我编写了以下代码以使用COM接口注册我的程序集:
var rs = new RegistrationServices();
var b = rs.RegisterAssembly(Assembly.GetExecutingAssembly(), AssemblyRegistrationFlags.SetCodeBase);
At the end of execution b equals false . 在执行结束时, b等于false 。 I don't understand what I am doing wrong?
我不明白我在做什么错? Is there any way to get more information why registration fails?
有什么方法可以获取更多信息,为什么注册失败?
Thank you! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.