UWP Windows Application Packaging Project in Visual Studio 15 - visual-studio

I'm trying to use Package desktop applications (Desktop Bridge) with UWP and WinFroms application. I'm following UWP with Desktop Extension guide and have to add a “Windows Application Packaging Project” from “Windows Universal” category. I'm not sure if it is because I'm using Visual Studio 15, .NET Framework 4.5.2, Windows Application Packaging Project template is missed in installed UWP platform:
What I have tried is to install Microsoft announces the Desktop to UWP Packaging Project for Visual Studio "15" which says "Desktop to UWP Packaging Project for Visual Studio "15"." but Desktop Bridge Debugging Project shows this message:
and log:
02.07.2019 14:43:50 - Microsoft VSIX Installer
02.07.2019 14:43:50 - -------------------------------------------
02.07.2019 14:43:50 - Initializing Install...
02.07.2019 14:43:50 - Extension Details...
02.07.2019 14:43:50 - Identifier : Centennial
02.07.2019 14:43:50 - Name : Desktop Bridge Debugging Project
02.07.2019 14:43:50 - Author : Microsoft
02.07.2019 14:43:50 - Version : 0.3.1
02.07.2019 14:43:50 - Description : A Project that enables a Classic Windows application to be debugged as a Universal Windows Platform application
02.07.2019 14:43:50 - Locale : en-US
02.07.2019 14:43:50 - MoreInfoURL :
02.07.2019 14:43:50 - InstalledByMSI : False
02.07.2019 14:43:50 - SupportedFrameworkVersionRange : [4.5,)
02.07.2019 14:43:50 -
02.07.2019 14:43:50 - SignatureState : ValidSignature
02.07.2019 14:43:50 - SignedBy : Microsoft Corporation
02.07.2019 14:43:50 - Certificate Info :
02.07.2019 14:43:50 - -------------------------------------------------------
02.07.2019 14:43:50 - [Subject] : CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
02.07.2019 14:43:50 - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
02.07.2019 14:43:50 - [Serial Number] : ...
02.07.2019 14:43:50 - [Not Before] : 15.02.2017 23:10:16
02.07.2019 14:43:50 - [Not After] : 09.05.2018 23:10:16
02.07.2019 14:43:50 - [Thumbprint] : ...
02.07.2019 14:43:50 -
02.07.2019 14:43:50 - Supported Products :
02.07.2019 14:43:50 - Microsoft.VisualStudio.Community
02.07.2019 14:43:50 - Version : [15.0,)
02.07.2019 14:43:50 - Microsoft.VisualStudio.Pro
02.07.2019 14:43:50 - Version : [15.0,)
02.07.2019 14:43:50 - Microsoft.VisualStudio.Enterprise
02.07.2019 14:43:50 - Version : [15.0,)
02.07.2019 14:43:50 - Microsoft.VisualStudio.IntegratedShell
02.07.2019 14:43:50 - Version : [15.0,)
02.07.2019 14:43:50 -
02.07.2019 14:43:50 - References :
02.07.2019 14:43:50 - Signature Details...
02.07.2019 14:43:50 - Extension is signed with a valid signature.
02.07.2019 14:43:50 -
02.07.2019 14:43:50 - Searching for applicable products...
02.07.2019 14:43:50 - Found installed product - Microsoft Visual Studio Community 2015
02.07.2019 14:43:50 - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
02.07.2019 14:43:50 - Found installed product - Global Location
02.07.2019 14:43:50 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Package a .NET desktop application using the Desktop Bridge and Visual Studio Preview says "the minimum version of the .NET Framework supported by the Desktop Bridge is 4.0, even if it’s highly recommended to target at least .NET 4.6.1." I'm not sure, do I have just to change target to 4.6.1 or update VS15 to Visual Studio Community

As mentioned in the docs, the Windows Application Packaging Project project is only available in Visual Studio 2019 and Visual Studio 2017 15.5 and later. The former is recommended. It's not supported in Visual Studio 2015.
You should also make sure that your application to be packaged targets .NET Framework 4.6.2 or later. This is a requirement.

Related

Visualhg wont install for Visual Studio 2019

The install won't complete, I get this message:
Download Error
And this is the Install Log:
4/7/2022 8:37:31 AM - Microsoft VSIX Installer
4/7/2022 8:37:31 AM - -------------------------------------------
4/7/2022 8:37:31 AM - vsixinstaller.exe version:
4/7/2022 8:37:31 AM - 17.1.1035-preview2
4/7/2022 8:37:31 AM - -------------------------------------------
4/7/2022 8:37:31 AM - Command line parameters:
4/7/2022 8:37:31 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\rebek\Downloads\VisualHG.vsix
4/7/2022 8:37:31 AM - -------------------------------------------
4/7/2022 8:37:31 AM - Microsoft VSIX Installer
4/7/2022 8:37:31 AM - -------------------------------------------
4/7/2022 8:37:34 AM - Initializing Install...
4/7/2022 8:37:34 AM - Extension Details...
4/7/2022 8:37:34 AM - Identifier : DADADA00-dfd3-4e42-a61c-499121e136f3
4/7/2022 8:37:34 AM - Name : VisualHG
4/7/2022 8:37:34 AM - Author : Bernd Schrader
4/7/2022 8:37:34 AM - Version : 1.1.7
4/7/2022 8:37:34 AM - Description : Mercurial source control integration
4/7/2022 8:37:34 AM - Locale : en-US
4/7/2022 8:37:34 AM - MoreInfoURL : http://visualhg.codeplex.com/
4/7/2022 8:37:34 AM - InstalledByMSI : False
4/7/2022 8:37:34 AM - SupportedFrameworkVersionRange : [4.0]
4/7/2022 8:37:34 AM -
4/7/2022 8:37:34 AM - SignatureState : Unsigned
4/7/2022 8:37:34 AM - Supported Products :
4/7/2022 8:37:34 AM - Microsoft.VisualStudio.Pro
4/7/2022 8:37:34 AM - Version : [10.0,11.0)
4/7/2022 8:37:34 AM - ProductArchitecture : x86
4/7/2022 8:37:34 AM - Microsoft.VisualStudio.Pro
4/7/2022 8:37:34 AM - Version : [11.0,12.0)
4/7/2022 8:37:34 AM - ProductArchitecture : x86
4/7/2022 8:37:34 AM - Microsoft.VisualStudio.Pro
4/7/2022 8:37:34 AM - Version : [12.0,13.0)
4/7/2022 8:37:34 AM - ProductArchitecture : x86
4/7/2022 8:37:34 AM - Microsoft.VisualStudio.Pro
4/7/2022 8:37:34 AM - Version : [14.0,15.0)
4/7/2022 8:37:34 AM - ProductArchitecture : x86
4/7/2022 8:37:34 AM -
4/7/2022 8:37:34 AM - References :
4/7/2022 8:37:34 AM - -------------------------------------------------------
4/7/2022 8:37:34 AM - Identifier : Microsoft.VisualStudio.MPF
4/7/2022 8:37:34 AM - Name : Visual Studio MPF
4/7/2022 8:37:34 AM - Version : [10.0,)
4/7/2022 8:37:34 AM - MoreInfoURL :
4/7/2022 8:37:34 AM - Nested : No
4/7/2022 8:37:34 AM -
4/7/2022 8:37:34 AM - Signature Details...
4/7/2022 8:37:34 AM - Extension is not signed.
4/7/2022 8:37:34 AM -
4/7/2022 8:37:34 AM - Searching for applicable products...
4/7/2022 8:37:34 AM - Found installed product - Global Location
4/7/2022 8:37:34 AM - Found installed product - AtmelStudio
4/7/2022 8:37:34 AM - Found installed product - Visual Studio Community 2019
4/7/2022 8:37:34 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Any help would be appreciated!
Even if VisualHG isn't maintained, you can use Mercurial natively from VS2019 with VSHG
a fork of VisualHG, which works with Visual Studio 2019 and Visual Studio 2017
You should move to Git or use Hg from the command line
Hg extensions are no longer maintained
The error says :
VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
The VisualHG installer in VS Marketplace was last updated in 2015 and only targets up to VS 2015. It can't support VS 2019 and is now abandoned. Some people have cloned the code from Codeplex to a Github repo but there's no activity there either.
You can use a different extension, eg HgSccPackage although even that project is now archived.
You should seriously consider migrating to Git. Mercurial simply isn't that popular any more, and hasn't been for more than 5 years. In the distributed version control space Git is the undisputed king.
Migrating to Git
The question Git interoperability with a Mercurial Repository has several answers that show how Git can be used with a remote Hg repository.
The answers to Converting Mercurial folder to a Git repository show how you can clone an Hg repo to Git. On Windows 10 you can use WSL to use any Linux tools or scripts needed to convert the repository
The Git Manual's Migrating to Git has a section on Mercurial that explains what tools are needed and what they do.

Installing GitHub extension for VS2017 "This extension is not installable on any currently installed products"

On an already installed Visual Studio Community 2017 (version 15.9.5), I am trying to add Github extension. While running the GitHub.VisualStudio.vsix installer, I am getting the above error. I have crosschecked my version from the Install logs, but unlike other questions on this topic, version doesn't seem to be the problem. [Versions supported are [14.0,17.0) and [15.0,17.0) for Community and IntegratedShell respectively]
I have already tried to edit the extension.vsixmanifest file, to add to the "Supported Products" section, but the changes did not reflect.
The first time that I downloaded the installer it didn't show this error, instead asked me to close all VS instances. For some reason, I couldn't afford to install it then and relaunched it later. After that, this error has been persistent.
So,I tried deleting and downloading it again many times and tried to run it with both VS open and closed.
My Install Log file looks like this :
03-05-2019 21:30:41 - Microsoft VSIX Installer
03-05-2019 21:30:41 - -------------------------------------------
03-05-2019 21:30:41 - Initializing Install...
03-05-2019 21:30:42 - Extension Details...
03-05-2019 21:30:42 - Identifier : c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
03-05-2019 21:30:42 - Name : GitHub Extension for Visual Studio
03-05-2019 21:30:42 - Author : GitHub, Inc
03-05-2019 21:30:42 - Version : 2.9.0.7614
03-05-2019 21:30:42 - Description : A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
03-05-2019 21:30:42 - Locale : en-US
03-05-2019 21:30:42 - MoreInfoURL : https://visualstudio.github.com/
03-05-2019 21:30:42 - InstalledByMSI : False
03-05-2019 21:30:42 - SupportedFrameworkVersionRange : [4.5,)
03-05-2019 21:30:42 -
03-05-2019 21:30:43 - SignedBy : GitHub, Inc.
03-05-2019 21:30:43 - Certificate Info : [Subject]
CN="GitHub, Inc.", O="GitHub, Inc.", L=San Francisco, S=California, C=US
[Issuer]
CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Serial Number]
013AA7BBB950DCCD25305F1602258B00
[Not Before]
23-11-2016 05:30:00
[Not After]
19-11-2019 17:30:00
[Thumbprint]
C4FDF13659F49E57AC14774FDF45053F499F185F
03-05-2019 21:30:43 - Supported Products :
03-05-2019 21:30:43 - Microsoft.VisualStudio.Community
03-05-2019 21:30:43 - Version : [14.0,17.0)
03-05-2019 21:30:43 - Microsoft.VisualStudio.IntegratedShell
03-05-2019 21:30:43 - Version : [15.0,17.0)
03-05-2019 21:30:43 -
03-05-2019 21:30:43 - References :
03-05-2019 21:30:43 - -------------------------------------------------------
03-05-2019 21:30:43 - Identifier : Microsoft.VisualStudio.MPF.14.0
03-05-2019 21:30:43 - Name : Visual Studio MPF 14.0
03-05-2019 21:30:43 - Version : [14.0,)
03-05-2019 21:30:43 - MoreInfoURL :
03-05-2019 21:30:43 - Nested : No
03-05-2019 21:30:43 -
03-05-2019 21:30:43 - -------------------------------------------------------
03-05-2019 21:30:43 - Identifier : Microsoft.VisualStudio.TeamFoundation.TeamExplorer.Extensions
03-05-2019 21:30:43 - Name : Team Explorer
03-05-2019 21:30:43 - Version : [14.0,)
03-05-2019 21:30:43 - MoreInfoURL :
03-05-2019 21:30:43 - Nested : No
03-05-2019 21:30:43 -
03-05-2019 21:30:43 -
03-05-2019 21:30:43 - Searching for applicable products...
03-05-2019 21:30:44 - Found installed product - Global Location
03-05-2019 21:30:44 - Found installed product - ssms
03-05-2019 21:30:44 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Not sure if it results from extensions.configurationchanged file. You can try if devenv /updateconfiguration command and reinstall the .vsix can fix it.
Steps to reproduce:
I install the same extension and abort it before the installation succeeds. In this situation actually the .vsix is not successfully installed yet.But I can't reinstall it since the installer seems to not work to find my vs any more.
(In my opinion,the installer thinks the extension has been installed but actually it not)
Workaround:
Open your Developer Command Prompt for VS2017, and type command devenv /updateconfiguration, wait several seconds(maybe longer) until its execution finishes.
After that go C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions, delete the GitHub folder (Which contains content of GitHub extension), and then rerun your xxx.vsix to check if it finds your VS2017 product. Hope it helps.

VS2017 VSIX Installer failed to install

I'm trying to install the VS2017 VSIX Installer so I can create a setup project for my application. I've tried to run this package several times without success.
It seems to be failing for the following reason...
Package 'VSInstallerProjects,version=0.8.4' failed to install. System.IO.IOException: The file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.WizardFramework.dll' already exists.
I've even renamed the .WizardFramework.dll but it just created a new one and then failed again.
Any help to resolve this will be greatly appreciated
Thanks
Here's the entire Log file .....
2017-06-23 11:55:58 AM - Microsoft VSIX Installer
2017-06-23 11:55:58 AM - -------------------------------------------
2017-06-23 11:55:58 AM - vsixinstaller.exe version:
2017-06-23 11:55:58 AM - 15.0.26403.7 built by: D15SVC
2017-06-23 11:55:58 AM - -------------------------------------------
2017-06-23 11:55:58 AM - Command line parameters:
2017-06-23 11:55:58 AM - C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\duane\Downloads\InstallerProjects.vsix,/installas:2024,/callingprocessid:21024
2017-06-23 11:55:58 AM - -------------------------------------------
2017-06-23 11:55:58 AM - Microsoft VSIX Installer
2017-06-23 11:55:58 AM - -------------------------------------------
2017-06-23 11:55:59 AM - Initializing Install...
2017-06-23 11:55:59 AM - Extension Details...
2017-06-23 11:55:59 AM - Identifier : VSInstallerProjects
2017-06-23 11:55:59 AM - Name : Microsoft Visual Studio 2017 Installer Projects
2017-06-23 11:55:59 AM - Author : Microsoft
2017-06-23 11:55:59 AM - Version : 0.8.4
2017-06-23 11:55:59 AM - Description : This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio 2017.
2017-06-23 11:55:59 AM - Locale : en-US
2017-06-23 11:55:59 AM - MoreInfoURL :
2017-06-23 11:55:59 AM - InstalledByMSI : False
2017-06-23 11:55:59 AM - SupportedFrameworkVersionRange : [4.6.1,)
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - SignatureState : ValidSignature
2017-06-23 11:55:59 AM - SignedBy : Microsoft Corporation
2017-06-23 11:55:59 AM - Certificate Info :
2017-06-23 11:55:59 AM - -------------------------------------------------------
2017-06-23 11:55:59 AM - [Subject] : CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2017-06-23 11:55:59 AM - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
2017-06-23 11:55:59 AM - [Serial Number] : 330000017D015E4C2BE2BCF66900000000017D
2017-06-23 11:55:59 AM - [Not Before] : 2017-02-15 2:10:16 PM
2017-06-23 11:55:59 AM - [Not After] : 2018-05-09 3:10:16 PM
2017-06-23 11:55:59 AM - [Thumbprint] : 69713C6FF47FADFF90C9465F7783E6E08232B28F
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - Supported Products :
2017-06-23 11:55:59 AM - Microsoft.VisualStudio.Community
2017-06-23 11:55:59 AM - Version : [15.0]
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - References :
2017-06-23 11:55:59 AM - Prerequisites :
2017-06-23 11:55:59 AM - -------------------------------------------------------
2017-06-23 11:55:59 AM - Identifier : Microsoft.VisualStudio.MinShell
2017-06-23 11:55:59 AM - Name : Visual Studio Min Shell
2017-06-23 11:55:59 AM - Version : [15.0.26205,16.0)
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - -------------------------------------------------------
2017-06-23 11:55:59 AM - Identifier : Microsoft.Component.ClickOnce
2017-06-23 11:55:59 AM - Name : ClickOnce Publishing
2017-06-23 11:55:59 AM - Version : [15.0,16.0)
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - Signature Details...
2017-06-23 11:55:59 AM - Extension is signed with a valid signature.
2017-06-23 11:55:59 AM -
2017-06-23 11:55:59 AM - Searching for applicable products...
2017-06-23 11:55:59 AM - Found installed product - Microsoft Visual Studio Community 2015
2017-06-23 11:55:59 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
2017-06-23 11:55:59 AM - Found installed product - Global Location
2017-06-23 11:55:59 AM - Found installed product - Visual Studio Community 2017
2017-06-23 11:56:00 AM - PKGDEF Information: Looking for master PkgDef file, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\master.pkgdef
2017-06-23 11:56:00 AM - PKGDEF Information: Creating PkgDefCacheNonVolatile
2017-06-23 11:56:00 AM - PKGDEF Information: Double-checking master pkgdef file
2017-06-23 11:56:00 AM - PKGDEF Information: PkgDefManagement initialized
2017-06-23 11:56:00 AM - PKGDEF Information: RootFolder, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\
2017-06-23 11:56:00 AM - PKGDEF Information: ShellFolder, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\
2017-06-23 11:56:00 AM - PKGDEF Information: PkgDefSearchPath, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.admin.pkgdef
2017-06-23 11:56:00 AM - PKGDEF Information: ImageManifestSearchPath, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions;C:\Users\duane\AppData\Local\Microsoft\VisualStudio\15.0_0ee0412c\Extensions
2017-06-23 11:56:00 AM - PKGDEF Information: ApplicationExtensionsFolder, Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions
2017-06-23 11:56:00 AM - PKGDEF Information: "ZeroImpact" = dword:0, "MergeRegistry" = dword:3
2017-06-23 11:56:00 AM - PKGDEF Information: Could not find ConfigurationChanged timestamp., PKGDEF: 80070002
2017-06-23 11:56:00 AM - PKGDEF Information: Could not find ConfigurationChanged timestamp., PKGDEF: 80070002
2017-06-23 11:56:00 AM - PKGDEF Information: User extensions enabled by setting, Path: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0_0ee0412c\ExtensionManager\EnableAdminExtensions
2017-06-23 11:56:00 AM - PKGDEF Information: PkgDefCache flags, PKGDEF: 7001
2017-06-23 11:56:00 AM - PKGDEF Information: Could not find ConfigurationChanged timestamp., PKGDEF: 80070002
2017-06-23 11:56:00 AM - PKGDEF Information: Could not find ConfigurationChanged timestamp., PKGDEF: 80070002
2017-06-23 11:56:00 AM - PKGDEF Information: PkgDefManagement startup complete
2017-06-23 11:56:01 AM - The extension with ID 'VSInstallerProjects' is not installed to Visual Studio Community 2017.
2017-06-23 11:56:07 AM - The following target products have been selected...
2017-06-23 11:56:07 AM - Visual Studio Community 2017
2017-06-23 11:56:07 AM -
2017-06-23 11:56:08 AM - Beginning to install extension to Visual Studio Community 2017...
2017-06-23 11:56:08 AM - VSIX TaskScheduler: VSIX Auto Updatetask already exists.
2017-06-23 11:56:12 AM - Package Microsoft.Windows.UniversalCRT.Msu.8 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.2,6.3)'.
2017-06-23 11:56:12 AM - Package Microsoft.Windows.UniversalCRT.Msu.81 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.3,6.4)'.
2017-06-23 11:56:12 AM - Package Microsoft.Net.4.6.FullRedist is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1.1,6.4)'.
2017-06-23 11:56:13 AM - Package Microsoft.Windows.UniversalCRT.Msu.7 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
2017-06-23 11:56:13 AM - Package Microsoft.DiagnosticsHub.KB2882822.Win7 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
2017-06-23 11:56:13 AM - Package WebSocket4NetV2 is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.2)'.
2017-06-23 11:56:13 AM - Package Microsoft.Net.4.6.1.FullRedist is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1.1,10.0.10241)'.
2017-06-23 11:56:13 AM - Package Microsoft.Windows.81SDK.Store.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
2017-06-23 11:56:13 AM - Package Microsoft.Windows.81SDK.Store.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
2017-06-23 11:56:13 AM - Package Microsoft.Windows.81SDK.Desktop.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
2017-06-23 11:56:13 AM - Package Microsoft.Windows.81SDK.Desktop.DirectX.Msi is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '[6.1,6.3]'.
2017-06-23 11:56:13 AM - Windows Installer found the package 'sqllocaldb,version=15.1.61703.130,chip=x64,language=en-US' superseded but corresponding compatible package information was not found. Attempts to repair will be skipped and that to uninstall may leave the cache behind.
2017-06-23 11:56:13 AM - Package Microsoft.VisualStudio.OfficeDeveloperTools.WindowsIdentityFoundation.Msu is not applicable. Skipping it due to the following reason(s): The current OS Version '10.0.15063.0' is not in the supported version range '(,6.2)'.
2017-06-23 11:56:22 AM -
Package 'VSInstallerProjects,version=0.8.4' failed to install. System.IO.IOException: The file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.WizardFramework.dll' already exists.
at Microsoft.VisualStudio.Setup.Installer.VsixInstaller.InstallCore(String localPath, String installDir, InstallablePackage pkg)
at Microsoft.VisualStudio.Setup.Installer.InstallerBase.InstallHelper(InstallData installData)
2017-06-23 11:56:22 AM - Skipping cache of package 'Component.VSInstallerProjects,version=0.8.4' since the package or a parent package had a vital failure.
2017-06-23 11:56:28 AM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'VSInstallerProjects' failed to install
at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress1 progress, InstallFlags installFlags, AsyncOperation asyncOp, IInstalledExtension& newExtension)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress1 progress)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
I had the exact same problem.
What did the trick for me was go to the folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PublicAssemblies
and rename the following 2 files:
Microsoft.VisualStudio.DeployWizard.dll
Microsoft.VisualStudio.WizardFramework.dll
Also rename the following folder if it exists:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\VSI
Once done, I could install the extension.
Mind you, I have a Professional version, so in the folder-paths you should probably replace "Professional" with "Community".
I got this same error message. The error message appeared when trying to install a VS extension to VS 2017 after installing VS 2019 on my machine.
It looked like the VS 2019 install might have distrubed the 2017 VSIX.
SOLUTION:
I did a repair on the version of 2017 on my machine and that fixed my problem. Just another solution for anyone with this problem.
To do a repair, open, 'Control Panel | Uninstall a program | right click on Visual Studio 2017'. Either the uninstall or the change (try change option first) will give you the option to 'Repair' the version of 2017 currently on your machine.

VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products

I tried to install enterprise library 6.0 recently in visual studio 2015 but the installer throws an error:
VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
I couldn't resolve it.
19-Dec-16 9:59:48 AM - Microsoft VSIX Installer
19-Dec-16 9:59:48 AM - -------------------------------------------
19-Dec-16 9:59:48 AM - Initializing Install...
19-Dec-16 9:59:48 AM - Extension Details...
19-Dec-16 9:59:48 AM - Identifier : A42E118F-C41F-47A2-ADB5-04CDEBF8EB90
19-Dec-16 9:59:48 AM - Name : EnterpriseLibrary.Config.v6
19-Dec-16 9:59:48 AM - Author : Microsoft
19-Dec-16 9:59:48 AM - Version : 6.0.1304.1
19-Dec-16 9:59:48 AM - Description : Launches the Microsoft Enterprise Library v6 Configuration Console
19-Dec-16 9:59:48 AM - Locale : en-US
19-Dec-16 9:59:48 AM - MoreInfoURL :
19-Dec-16 9:59:48 AM - InstalledByMSI : False
19-Dec-16 9:59:48 AM - SupportedFrameworkVersionRange : [4.5]
19-Dec-16 9:59:48 AM -
19-Dec-16 9:59:50 AM - SignatureState : ValidSignature
19-Dec-16 9:59:50 AM - SignedBy : Microsoft Corporation
19-Dec-16 9:59:50 AM - Certificate Info :
19-Dec-16 9:59:50 AM - -------------------------------------------------------
19-Dec-16 9:59:50 AM - [Subject] : CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
19-Dec-16 9:59:50 AM - [Issuer] : CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
19-Dec-16 9:59:50 AM - [Serial Number] : 33000000B2E6906F8BE7453D5B0001000000B2
19-Dec-16 9:59:50 AM - [Not Before] : 25-Jan-13 4:03:41 AM
19-Dec-16 9:59:50 AM - [Not After] : 25-Apr-14 4:03:41 AM
19-Dec-16 9:59:50 AM - [Thumbprint] : E4EEC5DFB7F413E5A15191DA00D017F97E3A6260
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Supported Products :
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Ultimate
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Premium
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Pro
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - References :
19-Dec-16 9:59:50 AM - -------------------------------------------------------
19-Dec-16 9:59:50 AM - Identifier : Microsoft.VisualStudio.MPF
19-Dec-16 9:59:50 AM - Name : Visual Studio MPF
19-Dec-16 9:59:50 AM - Version : [10.0,)
19-Dec-16 9:59:50 AM - MoreInfoURL :
19-Dec-16 9:59:50 AM - Nested : No
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Signature Details...
19-Dec-16 9:59:50 AM - Extension is signed with a valid signature.
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Searching for applicable products...
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Professional 2015
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Community 2015
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
19-Dec-16 9:59:51 AM - Found installed product - Global Location
19-Dec-16 9:59:51 AM - Found installed product - ssms
19-Dec-16 9:59:51 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Could anyone help me out ?
From the log file, we can get this extension is support on VS 2012 ultimate/premium/professional, and it found the installed product is VS 2015, so the error message “This extension is not installable on any currently installed products” popups, and we can also know this from system requirement of Microsoft Enterprise Library 6.
To solve it, you can have a look at this similar issue and directly download the Microsoft.Practices.EnterpriseLibrary.ConfigConsole.V6.VS2015.vsix (Source) and use it to install, it works fine on my side.
This VSIX is only designed to work with Visual Studio version 11 (Visual Studio 2012), as the error indicates - so you could use that version instead of VS 2015.
Here is the list of versions:
VS 2019 Version 16
VS 2017 Version 15
VS 2015 Version 14
VS 2013 Version 12
VS 2012 Version 11
On how to fix this, now with pictures:
Download the wsix from here
Right mouse on the XamlStyler.Package.vsix
Open it with archiver (in my case it's 7zip, but you can use any other)
Right mouse on the extension.visxmanifest -> Open
Replace
<Installation InstalledByMsi="false" AllUsers="true">
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[12.0,14.0)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[14.0,15.0)" Id="Microsoft.VisualStudio.Community" />
</Installation>
With
<Installation InstalledByMsi="false" AllUsers="true">
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[12.0,)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Community" />
</Installation>
Don't forget to save and modify the archive.
Run XamlStyler.Package.vsix again and install VS extension.
Test if it works by Right mouse
I hope this will save you some time.
In order to modify this Extension to allow Support for Visual Studio 2015, you would have to go into the 'Visual Studio Extension' installer.
Open the .vsix file with any file archiver. (7-Zip for myself)
Locate the .visxmanifest file and Edit it.
Save the changes to the .visxmanifest file, exit and then run the .vsix VS Extension Installer file.
Note that for the Version Number in the Manifest an explicit Version is specified, which maps to a given version of Visual Studio. (eg: '11.0' corresponding to 'Visual Studio 2012')
However, if you add a comma after the Version Number, this will allow you to set an explicit range for Version Support, or open Support for all Versions after a given Version.
Here are some examples below.
(Allow only VS 2012)
Microsoft.VisualStudio.Ultimate
Version : [11.0]
(Allow only VS 2012 & VS 2015)
Microsoft.VisualStudio.Premium
Version : [11.0,14.0]
(Allow all VS Versions later than 2012)
Microsoft.VisualStudio.Pro
Version : [11.0,]
Here is Mads Kristensen's original Blog Post on forward porting Visual Studio Extensions from VS 2017 to VS 2019 for reference.
You have it there:
Supported Products :
Microsoft.VisualStudio.Ultimate
Version : [11.0]
Microsoft.VisualStudio.Premium
Version : [11.0]
Microsoft.VisualStudio.Pro
Version : [11.0]
Visual Studio 2015 is version 14.0
Please check that This VSIX is installed by Windows Installer option is checked in manifest file of Visual Studio(VS) extension. You'll find this option under Install Targets tab while viewing the *.vsixmanifest file of the VS extension you're creating:

VIsual Studio 2010. NuGet is installing fine but not responding

I have installed NuGet on Visual Studio 2010 Ultimate. x64.
My OS is Windows 7 ultimate.
NuGet appears to be installing fine.
Here is a log of NuGet after it has installed.:
19-03-2012 13:35:24 - Microsoft Visual Studio Extension Installer
19-03-2012 13:35:24 - -------------------------------------------
19-03-2012 13:35:24 - Initializing Install...
19-03-2012 13:35:24 - Extension Details...
19-03-2012 13:35:24 - Identifier : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
19-03-2012 13:35:24 - Name : NuGet Package Manager
19-03-2012 13:35:24 - Author : Microsoft Corporation
19-03-2012 13:35:24 - Version : 1.6.21215.9133
19-03-2012 13:35:24 - Description : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
19-03-2012 13:35:24 - Locale : en-US
19-03-2012 13:35:24 - MoreInfoURL : http://docs.nuget.org/
19-03-2012 13:35:24 - InstalledByMSI : False
19-03-2012 13:35:24 - MinFramework : 4.0
19-03-2012 13:35:24 - MaxFramework : 4.0
19-03-2012 13:35:24 -
19-03-2012 13:35:24 - Supported Visual Studio Editions :
19-03-2012 13:35:24 - Version : 10.0
19-03-2012 13:35:24 - Pro
19-03-2012 13:35:24 - IntegratedShell
19-03-2012 13:35:24 - VWDExpress
19-03-2012 13:35:24 - VPDExpress
19-03-2012 13:35:24 - Version : 11.0
19-03-2012 13:35:24 - Pro
19-03-2012 13:35:24 - IntegratedShell
19-03-2012 13:35:24 - VWDExpress
19-03-2012 13:35:24 - VPDExpress
19-03-2012 13:35:24 -
19-03-2012 13:35:24 - Supported Isolated Shells :
19-03-2012 13:35:24 -
19-03-2012 13:35:24 - References :
19-03-2012 13:35:24 -
19-03-2012 13:35:24 - The extension with ID 'NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5' is not installed to Microsoft Visual Studio 2010 Ultimate.
19-03-2012 13:35:27 - The following target products have been selected...
19-03-2012 13:35:27 - Microsoft Visual Studio 2010 Ultimate
19-03-2012 13:35:27 -
19-03-2012 13:35:27 - Beginning to install extension to Microsoft Visual Studio 2010 Ultimate...
19-03-2012 13:35:27 - Install to Microsoft Visual Studio 2010 Ultimate completed successfully. The extension has been installed to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\1.6.21215.9133\
But when I try starting opening the console manager for the NuGet, nothing appears and even no error message is displayed.
When I try to make a new ASP.NET MVC 3 type of project, then Visual Studio doesn't allow me to do it. And it shows an error:
Nuget Package Manager is missing.
I have already tried uninstalling and reinstalling NuGet.
I have already disabled all the other extensions that I was using.
I have tried deleting the packages folder but no help.
NuGet was working the last time I checked.
How can I fix this problem?
Well, I don't know why this was happening... I did the following things.
Repaired Visual Studio 2010
Uninstalled and reinstalled ASP.NET MVC 3
And I could make an ASP.NET MVC 3 project again... :)

Resources