Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2022-10-11 21:42:02 +0300
committerGitHub <noreply@github.com>2022-10-11 21:42:02 +0300
commit113353166aec9130f244a50480fd5ab92bff3e2c (patch)
treee75d2abaec22df321b355f9d8db0526a6ffa5bc4
parent96dcb67573ba81b6438f603e864083b466e208f4 (diff)
Add VS.Redist project for ANCM (#44459)
-rw-r--r--src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec22
-rw-r--r--src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj23
-rw-r--r--src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec22
-rw-r--r--src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj23
-rw-r--r--src/Installers/Windows/SharedFramework/SharedFramework.nuspec (renamed from src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec)2
-rw-r--r--src/Installers/Windows/SharedFramework/SharedFramework.wixproj4
-rw-r--r--src/Installers/Windows/TargetingPack/TargetingPack.nuspec (renamed from src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec)0
-rw-r--r--src/Installers/Windows/TargetingPack/TargetingPack.wixproj4
8 files changed, 95 insertions, 5 deletions
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 0000000000..deafcb88f5
--- /dev/null
+++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.nuspec
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>VS.Redist.Common.AspNetCore.AspNetCoreModuleV2IISExpress.$MAJOR$.$MINOR$</id>
+ <version>1.0.0</version>
+ <title>VS.Redist.Common.AspNetCore.AspNetCoreModuleV2IISExpress.$MAJOR$.$MINOR$</title>
+ <authors>Microsoft</authors>
+ <owners>Microsoft</owners>
+ <license type="expression">$PackageLicenseExpression$</license>
+ <projectUrl>https://github.com/dotnet/aspnetcore</projectUrl>
+ <icon>$PackageIcon$</icon>
+ <requireLicenseAcceptance>true</requireLicenseAcceptance>
+ <description>$MAJOR$.$MINOR$ ASP.NET Core Module IIS Express Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
+ <copyright>© Microsoft Corporation. All rights reserved.</copyright>
+ <serviceable>true</serviceable>
+ </metadata>
+ <files>
+ <file src="$ASPNETCORE_RUNTIME_MSI$" />
+ <file src="$ASPNETCORE_CAB_FILE$" />
+ <file src="$PackageIconFullPath$" target="$PackageIcon$" />
+ </files>
+</package> \ 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 04f70e784c..890d869d70 100644
--- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj
+++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj
@@ -13,6 +13,7 @@
<SchemaVersion>2.0</SchemaVersion>
<TempPlatform Condition="'$(Platform)' == 'x64'">x64</TempPlatform>
<TempPlatform Condition="'$(Platform)' == 'x86'">Win32</TempPlatform>
+ <ToolsetInstallerNuspecFile>$(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec</ToolsetInstallerNuspecFile>
</PropertyGroup>
<ItemGroup>
@@ -68,5 +69,27 @@
<PropertyGroup>
<PackageFileName>ancm_iis_express_$(Platform)_en_v2_$(PackageVersion)$(TargetExt)</PackageFileName>
+ <ProductNameShort>ASP.NET Core Module IIS Express V2</ProductNameShort>
</PropertyGroup>
+
+ <Target Name="CreateANCMIISExpressNugetPackage" DependsOnTargets="CopyToArtifactsDirectory" BeforeTargets="Build">
+ <PropertyGroup>
+ <MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
+ </PropertyGroup>
+
+ <Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
+ '$(ProductNameShort)' ^
+ '$(MsiFullPath)' ^
+ '$(CabFullPath)' ^
+ '$(ToolsetInstallerNuspecFile)' ^
+ '$(ArtifactsNonShippingPackagesDir)' ^
+ '$(Platform)' ^
+ '$(_GeneratedPackageVersion)' ^
+ '$(RepoRoot)' ^
+ '$(AspNetCoreMajorVersion)' ^
+ '$(AspNetCoreMinorVersion)' ^
+ '$(PackageIcon)' ^
+ '$(PackageIconFullPath)' ^
+ '$(PackageLicenseExpression)' " />
+ </Target>
</Project>
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 0000000000..5eedd79158
--- /dev/null
+++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.nuspec
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>VS.Redist.Common.AspNetCore.AspNetCoreModuleV2.$MAJOR$.$MINOR$</id>
+ <version>1.0.0</version>
+ <title>VS.Redist.Common.AspNetCore.AspNetCoreModuleV2.$MAJOR$.$MINOR$</title>
+ <authors>Microsoft</authors>
+ <owners>Microsoft</owners>
+ <license type="expression">$PackageLicenseExpression$</license>
+ <projectUrl>https://github.com/dotnet/aspnetcore</projectUrl>
+ <icon>$PackageIcon$</icon>
+ <requireLicenseAcceptance>true</requireLicenseAcceptance>
+ <description>$MAJOR$.$MINOR$ ASP.NET Core Module Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
+ <copyright>© Microsoft Corporation. All rights reserved.</copyright>
+ <serviceable>true</serviceable>
+ </metadata>
+ <files>
+ <file src="$ASPNETCORE_RUNTIME_MSI$" />
+ <file src="$ASPNETCORE_CAB_FILE$" />
+ <file src="$PackageIconFullPath$" target="$PackageIcon$" />
+ </files>
+</package>
diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj
index ecc897c78b..d32603bb64 100644
--- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj
+++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj
@@ -11,6 +11,7 @@
<GenerateRandomNamespaceGuid>true</GenerateRandomNamespaceGuid>
<SchemaVersion>2.0</SchemaVersion>
<DisableGuidGeneration>true</DisableGuidGeneration>
+ <ToolsetInstallerNuspecFile>$(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec</ToolsetInstallerNuspecFile>
</PropertyGroup>
<ItemGroup>
@@ -56,5 +57,27 @@
<PropertyGroup>
<PackageFileName>aspnetcoremodule_$(Platform)_en_v2_$(PackageVersion)$(TargetExt)</PackageFileName>
+ <ProductNameShort>ASP.NET Core Module V2</ProductNameShort>
</PropertyGroup>
+
+ <Target Name="CreateANCMNugetPackage" DependsOnTargets="CopyToArtifactsDirectory" BeforeTargets="Build">
+ <PropertyGroup>
+ <MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
+ </PropertyGroup>
+
+ <Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
+ '$(ProductNameShort)' ^
+ '$(MsiFullPath)' ^
+ '$(CabFullPath)' ^
+ '$(ToolsetInstallerNuspecFile)' ^
+ '$(ArtifactsNonShippingPackagesDir)' ^
+ '$(Platform)' ^
+ '$(_GeneratedPackageVersion)' ^
+ '$(RepoRoot)' ^
+ '$(AspNetCoreMajorVersion)' ^
+ '$(AspNetCoreMinorVersion)' ^
+ '$(PackageIcon)' ^
+ '$(PackageIconFullPath)' ^
+ '$(PackageLicenseExpression)' " />
+ </Target>
</Project>
diff --git a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec b/src/Installers/Windows/SharedFramework/SharedFramework.nuspec
index 95435d143a..99a350d546 100644
--- a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec
+++ b/src/Installers/Windows/SharedFramework/SharedFramework.nuspec
@@ -10,7 +10,7 @@
<projectUrl>https://github.com/dotnet/aspnetcore</projectUrl>
<icon>$PackageIcon$</icon>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
- <description>$MAJOR$.$MINOR$ ASP.NET Core TargetingPack ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
+ <description>$MAJOR$.$MINOR$ ASP.NET Core Shared Framework ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<serviceable>true</serviceable>
</metadata>
diff --git a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
index becd904b5e..7d0aefe322 100644
--- a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
+++ b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
@@ -21,7 +21,7 @@
<DefineConstants>$(DefineConstants);AspNetCoreSharedFrameworkSource=$(HarvestSource)</DefineConstants>
<NamespaceGuid>$(SharedFrameworkNamespaceGuid)</NamespaceGuid>
<SchemaVersion>2.0</SchemaVersion>
- <ToolsetInstallerNuspecFile>$(RepoRoot)\src\Installers\Windows\SharedFramework\SharedFrameworkPackage.nuspec</ToolsetInstallerNuspecFile>
+ <ToolsetInstallerNuspecFile>$(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec</ToolsetInstallerNuspecFile>
</PropertyGroup>
<ItemGroup>
@@ -86,7 +86,7 @@
<DefineConstants>$(DefineConstants);ProductName=$(ProductName)</DefineConstants>
</PropertyGroup>
- <Target Name="CreateSharedFrameworkNugetPackage" AfterTargets="CopyToArtifactsDirectory;Build">
+ <Target Name="CreateSharedFrameworkNugetPackage" DependsOnTargets="CopyToArtifactsDirectory" BeforeTargets="Build">
<PropertyGroup>
<MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
</PropertyGroup>
diff --git a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec b/src/Installers/Windows/TargetingPack/TargetingPack.nuspec
index 5427cd8c93..5427cd8c93 100644
--- a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec
+++ b/src/Installers/Windows/TargetingPack/TargetingPack.nuspec
diff --git a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
index dc20b17662..4823d1c89f 100644
--- a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
+++ b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
@@ -20,7 +20,7 @@
<DefineConstants>$(DefineConstants);AspNetCoreTargetingPackSource=$(HarvestSource)</DefineConstants>
<NamespaceGuid>DDBB771F-963F-47D3-8510-9ABD04DBE1D1</NamespaceGuid>
<SchemaVersion>2.0</SchemaVersion>
- <ToolsetInstallerNuspecFile>$(RepoRoot)\src\Installers\Windows\TargetingPack\TargetingPackPackage.nuspec</ToolsetInstallerNuspecFile>
+ <ToolsetInstallerNuspecFile>$(MSBuildProjectDirectory)\$(MSBuildProjectName).nuspec</ToolsetInstallerNuspecFile>
<PackageVersion>$(TargetingPackVersionPrefix)</PackageVersion>
<BundleVersion>$(TargetingPackVersionPrefix)</BundleVersion>
</PropertyGroup>
@@ -80,7 +80,7 @@
<DefineConstants>$(DefineConstants);ProductName=$(ProductName)</DefineConstants>
</PropertyGroup>
- <Target Name="CreateTargetingPackNugetPackage" AfterTargets="CopyToArtifactsDirectory;Build">
+ <Target Name="CreateTargetingPackNugetPackage" DependsOnTargets="CopyToArtifactsDirectory" BeforeTargets="Build">
<PropertyGroup>
<MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
</PropertyGroup>