开发者

Making a COM+ installation package in C#

开发者 https://www.devze.com 2023-01-31 15:26 出处:网络
I recently got tasked with simplifying a COM+ installation consisting of 5-6 COM+ apps for w2k3 server, never having worked with COM+ before. I\'ve seen some ways to do this with a vbscript, but I wou

I recently got tasked with simplifying a COM+ installation consisting of 5-6 COM+ apps for w2k3 server, never having worked with COM+ before. I've seen some ways to do this with a vbscript, but I would much prefer doing it in C#. So I've been searching around and I can't seem to find anything similar for C#.

I am limited to using .NET 2.0, is t开发者_如何转开发his feasible? I have been looking for a COM related library, but so far I don't see what I could use.

I would appreciate any pointers you guys might have on how to achieve this, and I will also probably be posting a number of other newbie COM+ questions along the way.


There is something that will help you -- take a look at the System.EnterpriseServices namespace.

You will have to jump through some hoops to get your .NET assemblies registered as COM objects, but that should be a decent starting point.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号