From 0274aceaeef970bb19a04eb73cfe46e876ae99ee Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Tue, 25 Jun 2019 13:41:16 -0700 Subject: [PATCH] Generate .nupkg files that contain aspnetcore-runtime MSI for insertion into Visual Studio (#11345) --- eng/Signing.props | 2 ++ .../Windows/GenerateNugetPackageWithMsi.ps1 | 31 +++++++++++++++++++ .../SharedFramework/SharedFramework.wixproj | 19 ++++++++++++ .../SharedFrameworkPackage.nuspec | 19 ++++++++++++ .../TargetingPack/TargetingPack.wixproj | 18 +++++++++++ .../TargetingPack/TargetingPackPackage.nuspec | 18 +++++++++++ src/Installers/Windows/Wix.props | 1 + src/SiteExtensions/build.cmd | 2 +- 8 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 src/Installers/Windows/GenerateNugetPackageWithMsi.ps1 create mode 100644 src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec create mode 100644 src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec diff --git a/eng/Signing.props b/eng/Signing.props index 26491b99d1..0e8b87b4dd 100644 --- a/eng/Signing.props +++ b/eng/Signing.props @@ -24,6 +24,8 @@ + + + + + + $(InstallersOutputPath)$(PackageFileName) + + + diff --git a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec b/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec new file mode 100644 index 0000000000..51f4a304e4 --- /dev/null +++ b/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec @@ -0,0 +1,18 @@ + + + + VS.Redist.Common.AspNetCore.TargetingPack.$ARCH$.$MAJOR$.$MINOR$ + 1.0.0 + VS.Redist.Common.AspNetCore.TargetingPack.$ARCH$.$MAJOR$.$MINOR$ + Microsoft + Microsoft + https://www.microsoft.com/net/dotnet_library_license.htm + https://github.com/aspnet/aspnetcore + true + $MAJOR$.$MINOR$ ASP.NET Core TargetingPack ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption + © Microsoft Corporation. All rights reserved. + + + + + \ No newline at end of file diff --git a/src/Installers/Windows/Wix.props b/src/Installers/Windows/Wix.props index a76eaf631d..c9b7565fe8 100644 --- a/src/Installers/Windows/Wix.props +++ b/src/Installers/Windows/Wix.props @@ -25,6 +25,7 @@ $(DefineConstants);files=$(MSBuildThisFileDirectory)files $(DefineConstants);Culture=$(Cultures) + $(RepoRoot)\src\Installers\Windows\GenerateNugetPackageWithMsi.ps1 diff --git a/src/SiteExtensions/build.cmd b/src/SiteExtensions/build.cmd index 8535c444d2..b8b980af6f 100644 --- a/src/SiteExtensions/build.cmd +++ b/src/SiteExtensions/build.cmd @@ -24,4 +24,4 @@ IF %ERRORLEVEL% NEQ 0 ( EXIT /b %ErrorLevel% ) -ECHO SiteExtensions successly built! \ No newline at end of file +ECHO SiteExtensions successly built!