24 July, 2014

Install an assembly to GAC on Win2012

Man, things are never static!

One used to be able to just drag/drop an assembly into the assembly gac to have it installed. Say hello to Windows Server 2012 and this is no longer an option? So without having to install all sorts of development tools or other stuff – you can use PowerShell to perform this action. I can’t think of any other way of doing it actually.

1. Open a PowerShell command prompt and enter the following
(note that your lines are the $publish.GacInstall(“<full path to my assembly>”))

image

2. Run this from an elevated admin PowerShell console

3. Done.

No comments:

InRiver: Not loading your extensions?

(You really need to in the loop to appreciate the issue this post addresses). Man, I've been fighting this problem for hours before I ...