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>”))


2. Run this from an elevated admin PowerShell console

3. Done.

No comments:

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...