简体   繁体   中英

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

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?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM