Does a (.net) COM+ assembly need to be installed in the GAC?
Asked Answered
R

2

13

I have a .net assembly that has a COM+ ServicedCopmonent in it and at the moment I install it into the GAC to get everything working. This means that I need to have every assembly that it references in the GAC as well.

During development it is quite painful to make changes to thes assemblies, re-install them to the GAC and then test.

Is it possible to maintain the COM+ component but not have everything in the GAC?

Retrieval answered 1/10, 2008 at 5:27 Comment(0)
D
10

No, you don't have to install it in the GAC. You can use regsvcs (http://msdn.microsoft.com/en-us/library/04za0hca.aspx) with /appdir parameter to specify explicitly where the app is located.

Debauchery answered 1/10, 2008 at 5:31 Comment(0)
C
1

No, they need to be registered in the Registry using the regsvcs tool. It needs to be a strongly named assembly though.

Contraindicate answered 1/10, 2008 at 5:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.