This project has moved and is read-only. For the latest updates, please go here.
1

Closed

The extension 'VS Settings Switcher by Dave Sexton' requires a version of the .NET Framework that is not installed.

description

VS Setting Switcher does not install on my machine. Below is the error log and attached is screen shot of error dialog. I get the following error log below.

I have all .NET frameworks installed in 4.6. VS 2013 & VS 2015 CTP are also installed.

Error Log

18/02/2015 10:07:21 AM - Microsoft VSIX Installer
18/02/2015 10:07:21 AM - -------------------------------------------
18/02/2015 10:07:22 AM - Initializing Install...
18/02/2015 10:07:22 AM - Extension Details...
18/02/2015 10:07:22 AM -    Identifier      : df47a1c4-0804-4f17-9a10-310b0a52892b
18/02/2015 10:07:22 AM -    Name            : VS Settings Switcher by Dave Sexton
18/02/2015 10:07:22 AM -    Author          : Dave Sexton
18/02/2015 10:07:22 AM -    Version         : 1.2
18/02/2015 10:07:22 AM -    Description     : Switches between Visual Studio settings automatically when a solution is opened.  Also switches or exports settings at the click of a button.
18/02/2015 10:07:22 AM -    Locale          : en-US
18/02/2015 10:07:22 AM -    MoreInfoURL     : http://vsswitch.codeplex.com/
18/02/2015 10:07:22 AM -    InstalledByMSI  : False
18/02/2015 10:07:22 AM -    SupportedFrameworkVersionRange : [4.5]
18/02/2015 10:07:22 AM - 
18/02/2015 10:07:22 AM -    Supported Products : 
18/02/2015 10:07:22 AM -        Microsoft.VisualStudio.IntegratedShell
18/02/2015 10:07:22 AM -            Version : [11.0,12.0]
18/02/2015 10:07:22 AM -        Microsoft.VisualStudio.Premium
18/02/2015 10:07:22 AM -            Version : [11.0,12.0]
18/02/2015 10:07:22 AM -        Microsoft.VisualStudio.Pro
18/02/2015 10:07:22 AM -            Version : [11.0,12.0]
18/02/2015 10:07:22 AM -        Microsoft.VisualStudio.Ultimate
18/02/2015 10:07:22 AM -            Version : [11.0,12.0]
18/02/2015 10:07:22 AM - 
18/02/2015 10:07:22 AM -    References      : 
18/02/2015 10:07:22 AM -        -------------------------------------------------------
18/02/2015 10:07:22 AM -        Identifier   : Microsoft.VisualStudio.MPF.11.0
18/02/2015 10:07:22 AM -        Name         : Visual Studio MPF 11.0
18/02/2015 10:07:22 AM -        Version      : [11.0]
18/02/2015 10:07:22 AM -        MoreInfoURL  : 
18/02/2015 10:07:22 AM -        Nested       : No
18/02/2015 10:07:22 AM - 
18/02/2015 10:07:22 AM - 
18/02/2015 10:07:22 AM - Searching for applicable products...
18/02/2015 10:07:22 AM - Found installed product - Microsoft Visual Studio Professional 2013
18/02/2015 10:07:23 AM - The extension with ID 'df47a1c4-0804-4f17-9a10-310b0a52892b' is not installed to Microsoft Visual Studio Professional 2013.
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio Ultimate 2015 CTP
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio Premium 2015 CTP
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio Professional 2015 CTP
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio Community 2015 CTP
18/02/2015 10:07:23 AM - Found installed product - Microsoft Visual Studio 2015 CTP Shell (Integrated)
18/02/2015 10:07:23 AM - Found installed product - Global Location
18/02/2015 10:07:28 AM - The following target products have been selected...
18/02/2015 10:07:28 AM -    Microsoft Visual Studio Professional 2013
18/02/2015 10:07:28 AM - 
18/02/2015 10:07:28 AM - Beginning to install extension to Microsoft Visual Studio Professional 2013...
18/02/2015 10:07:29 AM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'VS Settings Switcher by Dave Sexton' requires a version of the .NET Framework that is not installed.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForValidDotNetFramework(IExtension extension)
   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)

file attachments

Closed Feb 20, 2015 at 12:46 AM by davedev
Fixed in v1.3.
Thanks to TimMurphy for reporting the problem and confirming the fix.

comments

davedev wrote Feb 18, 2015 at 12:34 AM

Thanks for reporting this.

The supported VS version range for Settings Switcher 1.2 is 11.0 and 12.0 only. Maybe your VS is reporting a version that is greater than 12.0?

I could try sending you a version that supports >=11.0 and see if that works for you. Please let me know if you want it.

davedev wrote Feb 18, 2015 at 12:37 AM

Looking at the error report closer, it looks like it's requiring .NET 4.5, but apparently you don't have that installed. Could that be possible?

TimMurphy wrote Feb 18, 2015 at 9:13 AM

Yes 4.5 installed. I know this by:
I tried removing VS 2015 and installing your add-in. No change, the install still fails.

davedev wrote Feb 18, 2015 at 11:57 AM

Ok, apparently requiring .NET 4.5 alone is too strict in your case. Not sure why, because I have all of the Framework updates too.

I can try changing the package manifest to [4.5,) rather than just [4.5] to see if that helps you. On the web, I'm seeing other projects that have run into this same issue apparently and fix it this way. Let me know if you're interested and I'll compile a release for your to test.

Thanks,
Dave

TimMurphy wrote Feb 18, 2015 at 2:40 PM

Certainly am interested.

davedev wrote Feb 19, 2015 at 3:32 AM

I'm fairly confident that relaxing the version constraints will work, so I've deployed v1.3 with only those changes.

You can download 1.3 from either of the typical locations:

https://vsswitch.codeplex.com/releases/view/611821
https://visualstudiogallery.msdn.microsoft.com/fa71b090-7a6d-49a3-98aa-54d5e3feaa6b

Please let me know if it works so I can close this work item. And if it doesn't work, we can try something else. Now that I've released 1.3, I don't mind doing patches or incremental updates until it's working, assuming that it's a problem that I can even resolve and not just something odd about your particular system. :)

TimMurphy wrote Feb 19, 2015 at 2:06 PM

Installed! Thank you for your work fixing this problem. And thank you for this extension. It is exactly what I've wanted for years.

wrote Feb 20, 2015 at 12:46 AM

wrote Feb 20, 2015 at 12:46 AM

wrote Dec 1 at 1:37 PM