Search code examples
azuresdkgac

Windows Azure SDK 2.0 and old runtime assemblies in GAC


I've installed Windows Azure SDK 2.0 and started to migrate my project. After installation of 2.0 I uninstalled all items for 2012-10 (the previous version) from Programs and Features (my environment is Win8 Pro + VS2012 SP2).

I expected when I open project with references to the old version of Microsoft.WindowsAzure.ServiceRuntime that I will see broken references, so I would be easily able to find them and replace with the latest version. However the old versions of Microsoft.WindowsAzure.ServiceRuntime remained in GAC (1.7 and 1.8) so the projects still compile. Trying to uninstall old assemblies from GAC I'm getting Access Denied.

I believe I would be able to remove them somehow but my question is - did they remain there intentionally? Do I need these old versions for something?


Solution

  • If you have no projects that rely on the older versions, feel free to remove. Have you tried uninstalling the old SDKs. If you have, and the old assemblies still remain then:

    You should be able to remove the old version by doing the following:

    1. Open an elevated cmd prompt (run as administrator)
    2. gacutil.exe -u microsoft.WindowsAzure.ServiceRuntime.dll