From 01f48cd961ecc022619493db772b757f6359457f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 11:41:37 -0700 Subject: [PATCH] [release/7.0] Generate VS.Redist package for ANCM (#44369) * Generate VS.Redist package for ANCM * Fixup * Add package for IISExpress * Rename nuspecs * Fix target order Co-authored-by: Will Godbe --- .../ANCMIISExpressV2/AncmIISExpressV2.nuspec | 22 ++++++++++++++++++ .../ANCMIISExpressV2/AncmIISExpressV2.wixproj | 23 +++++++++++++++++++ .../ANCMV2/AncmV2.nuspec | 22 ++++++++++++++++++ .../ANCMV2/AncmV2.wixproj | 23 +++++++++++++++++++ ...kPackage.nuspec => SharedFramework.nuspec} | 2 +- .../SharedFramework/SharedFramework.wixproj | 4 ++-- ...ackPackage.nuspec => TargetingPack.nuspec} | 0 .../TargetingPack/TargetingPack.wixproj | 4 ++-- 8 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec create mode 100644 src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec rename src/Installers/Windows/SharedFramework/{SharedFrameworkPackage.nuspec => SharedFramework.nuspec} (85%) rename src/Installers/Windows/TargetingPack/{TargetingPackPackage.nuspec => TargetingPack.nuspec} (100%) diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec new file mode 100644 index 000000000000..deafcb88f55a --- /dev/null +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec @@ -0,0 +1,22 @@ + + + + VS.Redist.Common.AspNetCore.AspNetCoreModuleV2IISExpress.$MAJOR$.$MINOR$ + 1.0.0 + VS.Redist.Common.AspNetCore.AspNetCoreModuleV2IISExpress.$MAJOR$.$MINOR$ + Microsoft + Microsoft + $PackageLicenseExpression$ + https://github.com/dotnet/aspnetcore + $PackageIcon$ + true + $MAJOR$.$MINOR$ ASP.NET Core Module IIS Express Windows Installer MSI as a .nupkg for internal Visual Studio build consumption + © Microsoft Corporation. All rights reserved. + true + + + + + + + \ No newline at end of file diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj index fc9de94854d8..60e782886a35 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj @@ -14,6 +14,7 @@ x64 Win32 ARM64 + $(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec @@ -70,5 +71,27 @@ ancm_iis_express_$(Platform)_en_v2_$(PackageVersion)$(TargetExt) + ASP.NET Core Module IIS Express V2 + + + + $(InstallersOutputPath)$(PackageFileName) + + + + diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec new file mode 100644 index 000000000000..5eedd79158ac --- /dev/null +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec @@ -0,0 +1,22 @@ + + + + VS.Redist.Common.AspNetCore.AspNetCoreModuleV2.$MAJOR$.$MINOR$ + 1.0.0 + VS.Redist.Common.AspNetCore.AspNetCoreModuleV2.$MAJOR$.$MINOR$ + Microsoft + Microsoft + $PackageLicenseExpression$ + https://github.com/dotnet/aspnetcore + $PackageIcon$ + true + $MAJOR$.$MINOR$ ASP.NET Core Module Windows Installer MSI as a .nupkg for internal Visual Studio build consumption + © Microsoft Corporation. All rights reserved. + true + + + + + + + diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj index 940e56befa85..bfae51ff3fa7 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj @@ -11,6 +11,7 @@ true 2.0 true + $(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec @@ -57,5 +58,27 @@ aspnetcoremodule_$(Platform)_en_v2_$(PackageVersion)$(TargetExt) + ASP.NET Core Module V2 + + + + $(InstallersOutputPath)$(PackageFileName) + + + + diff --git a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec b/src/Installers/Windows/SharedFramework/SharedFramework.nuspec similarity index 85% rename from src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec rename to src/Installers/Windows/SharedFramework/SharedFramework.nuspec index 95435d143a8d..99a350d5462c 100644 --- a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec +++ b/src/Installers/Windows/SharedFramework/SharedFramework.nuspec @@ -10,7 +10,7 @@ https://github.com/dotnet/aspnetcore $PackageIcon$ true - $MAJOR$.$MINOR$ ASP.NET Core TargetingPack ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption + $MAJOR$.$MINOR$ ASP.NET Core Shared Framework ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption © Microsoft Corporation. All rights reserved. true diff --git a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj index becd904b5ea6..7d0aefe32294 100644 --- a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj +++ b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj @@ -21,7 +21,7 @@ $(DefineConstants);AspNetCoreSharedFrameworkSource=$(HarvestSource) $(SharedFrameworkNamespaceGuid) 2.0 - $(RepoRoot)\src\Installers\Windows\SharedFramework\SharedFrameworkPackage.nuspec + $(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec @@ -86,7 +86,7 @@ $(DefineConstants);ProductName=$(ProductName) - + $(InstallersOutputPath)$(PackageFileName) diff --git a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec b/src/Installers/Windows/TargetingPack/TargetingPack.nuspec similarity index 100% rename from src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec rename to src/Installers/Windows/TargetingPack/TargetingPack.nuspec diff --git a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj index dc20b17662f0..4823d1c89f33 100644 --- a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj +++ b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj @@ -20,7 +20,7 @@ $(DefineConstants);AspNetCoreTargetingPackSource=$(HarvestSource) DDBB771F-963F-47D3-8510-9ABD04DBE1D1 2.0 - $(RepoRoot)\src\Installers\Windows\TargetingPack\TargetingPackPackage.nuspec + $(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec $(TargetingPackVersionPrefix) $(TargetingPackVersionPrefix) @@ -80,7 +80,7 @@ $(DefineConstants);ProductName=$(ProductName) - + $(InstallersOutputPath)$(PackageFileName)