Sven Groot wrote:

Yggdrasil wrote: Yes, this sucks big-time. And no, there aren't any managed APIs that can register/unregister things in the GAC. GACUTIL binds to unmanaged functions.

Actually, there is a managed API that can install an assembly in the GAC: System.EnterpriseServices.Internal.Publish.GacInstall. I've used it, it works great.


Is this new in 2.0? I don't remember it there in 1.1.
And while I've used the EnterpriseServices.Internal namespace before (to create IIS virtual directories), I would hesitate recommending its use. I don't think they're committed to keeping it there without breaking changes.