File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 6666 <InstallerAliasBaseFileName >aspnetcore-runtime-latest</InstallerAliasBaseFileName >
6767 <IntermediateInstallerBaseFileName >aspnetcore-runtime-internal-$(PackageVersion)</IntermediateInstallerBaseFileName >
6868 <WindowsHostingBundleInstallerFileName >dotnet-hosting-$(PackageVersion)-win.exe</WindowsHostingBundleInstallerFileName >
69+ <!-- This matches the property set in SharedFramework.wixproj -->
70+ <SharedFrameworkRedistPackageId >VS.Redist.Common.AspNetCore.SharedFramework</SharedFrameworkRedistPackageId >
6971 </PropertyGroup >
7072
7173 <ItemGroup >
174176 <PackageToPublish Include =" %(_SymbolsPackageArtifactInfo.ArtifactPath)" Category =" symbols" IsSymbolsPackage =" true" />
175177 </ItemGroup >
176178
179+ <ItemGroup >
180+ <RedistPackageToPublish Include =" $(DependencyAssetsDir)$(SharedFrameworkRedistPackageId)*" />
181+ </ItemGroup >
182+
177183 <ItemGroup >
178184 <_MissingArtifactFile Include =" @(FilesToPublish)" Condition =" !Exists(%(FilesToPublish.Identity))" />
179185 <_MissingArtifactFile Include =" @(NpmPackageToPublish)" Condition =" !Exists(%(NpmPackageToPublish.Identity))" />
276282 ManifestArtifactData =" NonShipping=true"
277283 Condition =" '%(PackageToPublish.Category)' != 'ship'" />
278284
285+ <PackageToPublishToTransport
286+ Include =" @(RedistPackageToPublish)"
287+ ManifestArtifactData =" NonShipping=true" />
288+
279289 <FilesToPublishToTransport Include =" @(NpmPackageToPublish)"
280290 RelativeBlobPath =" $(BlobFileRelativePathBase)%(NpmPackageToPublish.RelativeBlobPath)"
281291 ManifestArtifactData =" %(NpmPackageToPublish.ManifestArtifactData)" />
287297 Condition =" '%(FilesToPublish.IsDuplicateUpload)' != 'true' " />
288298 </ItemGroup >
289299
290-
291300 <PushToBlobFeed ExpectedFeedUrl =" $(PublishBlobFeedUrl)"
292301 AccountKey =" $(PublishBlobFeedKey)"
293302 ItemsToPush =" @(PackageToPublishToTransport)"
Original file line number Diff line number Diff line change 1111 [Parameter (Mandatory = $true )][string ]$PackageVersion ,
1212 [Parameter (Mandatory = $true )][string ]$RepoRoot ,
1313 [Parameter (Mandatory = $true )][string ]$MajorVersion ,
14- [Parameter (Mandatory = $true )][string ]$MinorVersion
14+ [Parameter (Mandatory = $true )][string ]$MinorVersion ,
15+ [Parameter (Mandatory = $true )][string ]$PackageId
1516)
1617
1718$NuGetDir = Join-Path $RepoRoot " obj\Tools\nuget\$Name \$Architecture "
@@ -27,5 +28,5 @@ if (-not (Test-Path $NuGetExe)) {
2728 wget https:// dist.nuget.org/ win- x86- commandline/ v3.5.0 / nuget.exe - OutFile $NuGetExe
2829}
2930
30- & $NuGetExe pack $NuspecFile - Version $PackageVersion - OutputDirectory $OutputDirectory - NoDefaultExcludes - NoPackageAnalysis - Properties ASPNETCORE_RUNTIME_MSI= $MsiPath ` ;ASPNETCORE_CAB_FILE= $CabPath ` ;ARCH= $Architecture ` ;MAJOR= $MajorVersion ` ;MINOR= $MinorVersion ` ;
31+ & $NuGetExe pack $NuspecFile - Version $PackageVersion - OutputDirectory $OutputDirectory - NoDefaultExcludes - NoPackageAnalysis - Properties ASPNETCORE_RUNTIME_MSI= $MsiPath ` ;ASPNETCORE_CAB_FILE= $CabPath ` ;ARCH= $Architecture ` ;MAJOR= $MajorVersion ` ;MINOR= $MinorVersion ` ;ID = $PackageId ` ;
3132Exit $LastExitCode
Original file line number Diff line number Diff line change 1919 <NamespaceGuid >$(SharedFrameworkNamespaceGuid)</NamespaceGuid >
2020 <ToolsetInstallerNuspecFile >$(RepositoryRoot)\src\Installers\Windows\SharedFramework\SharedFrameworkPackage.nuspec</ToolsetInstallerNuspecFile >
2121 <InstallersOutputPath >$(RepositoryRoot)artifacts/bin/$(Configuration)/installers/</InstallersOutputPath >
22+ <SharedFrameworkRedistPackageId >VS.Redist.Common.AspNetCore.SharedFramework</SharedFrameworkRedistPackageId >
23+ <!-- Use non-stable versioning for this package, but keep the stable version in OutputName above -->
24+ <PackageVersion >$(VersionPrefix)-$(VersionSuffix)</PackageVersion >
2225 </PropertyGroup >
2326
2427 <ItemGroup >
6467 '$(PackageVersion)' ^
6568 '$(RepositoryRoot)' ^
6669 '$(AspNetCoreMajorVersion)' ^
67- '$(AspNetCoreMinorVersion)'" />
70+ '$(AspNetCoreMinorVersion)' ^
71+ '$(SharedFrameworkRedistPackageId)'" />
6872 </Target >
6973
7074 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
33 <metadata >
4- <id >VS.Redist.Common.AspNetCore.SharedFramework .$ARCH$.$MAJOR$.$MINOR$</id >
4+ <id >$ID$ .$ARCH$.$MAJOR$.$MINOR$</id >
55 <version >1.0.0</version >
6- <title >VS.Redist.Common.AspNetCore.SharedFramework .$ARCH$.$MAJOR$.$MINOR$</title >
6+ <title >$ID$ .$ARCH$.$MAJOR$.$MINOR$</title >
77 <authors >Microsoft</authors >
88 <owners >Microsoft</owners >
99 <licenseUrl >https://www.microsoft.com/net/dotnet_library_license.htm</licenseUrl >
You can’t perform that action at this time.
0 commit comments