LightSwitch Extensibility Toolkit for Visual Studio 2012 Failing With a Generic Error message

Issue Description:

Installation of LightSwitch Extensibility Toolkit for Visual Studio 2012 Failing With a Generic Error message dialog box


Windows 7 SP1 (x86 and x64)

Windows 8 (x86 and x64)

Windows Server 2008 R2 (x64)

Windows Server 2012 (x64)

Symptom and inference:

Download LightSwitch Extensibility Toolkit for Visual Studio 2012 from and launch the installation via the , ideally by extracting the Microsoft.LightSwitch.Toolkit.exe file and launching the Microsoft.LightSwitch.Toolkit.vsix file-


The installation might fail within a couple of minutes from the launch with the following screen-


The above error message is indeed generic and does not really tell you about the exact point of failure.

However, if you take a look at the detailed log under the  %temp% folder (start >> run >> %temp%), it will provide you with the required details. Sample excerpt-


03-Sep-13 11:33:40 PM – Beginning to install extension to Microsoft Visual Studio Ultimate 2012…

03-Sep-13 11:33:40 PM – Install Error : Microsoft.VisualStudio.ExtensionManager.MissingReferencesException: This extension cannot be installed because the following references are missing:

– Microsoft Visual Studio SDK

   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)

   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)

   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)

   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)



As is now apparent from the log above, you need to have Microsoft Visual Studio 2012 SDK installed. You can get this installed from:

Once this is done, you can re-launch the setup for the extension and this time it should run through successfully.

Content by: Ritwik Sinha

Comments (0)