UWP Windows Visual Studio 15 中的应用程序打包项目
UWP Windows Application Packaging Project in Visual Studio 15
我正在尝试使用 Package desktop applications (Desktop Bridge) with UWP and WinFroms application. I'm following UWP with Desktop Extension 指南,并且必须从“Windows 通用”类别中添加“Windows 应用程序打包项目”。我不确定是不是因为我正在使用 Visual Studio 15,.NET Framework 4.5.2,Windows 安装的 UWP 平台中缺少应用程序打包项目模板:
我尝试安装 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 显示此消息:
并记录:
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
如 docs 中所述,Windows Application Packaging Project 项目仅在 Visual Studio 2019 和 Visual Studio 2017 15.5 及更高版本中可用。推荐前者。 Visual Studio 2015.
不支持
您还应确保要打包的应用程序面向 .NET Framework 4.6.2 或更高版本。这是一个requirement.
我正在尝试使用 Package desktop applications (Desktop Bridge) with UWP and WinFroms application. I'm following UWP with Desktop Extension 指南,并且必须从“Windows 通用”类别中添加“Windows 应用程序打包项目”。我不确定是不是因为我正在使用 Visual Studio 15,.NET Framework 4.5.2,Windows 安装的 UWP 平台中缺少应用程序打包项目模板:
我尝试安装 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 显示此消息:
并记录:
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
如 docs 中所述,Windows Application Packaging Project 项目仅在 Visual Studio 2019 和 Visual Studio 2017 15.5 及更高版本中可用。推荐前者。 Visual Studio 2015.
不支持您还应确保要打包的应用程序面向 .NET Framework 4.6.2 或更高版本。这是一个requirement.