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 66
66
<InstallerAliasBaseFileName >aspnetcore-runtime-latest</InstallerAliasBaseFileName >
67
67
<IntermediateInstallerBaseFileName >aspnetcore-runtime-internal-$(PackageVersion)</IntermediateInstallerBaseFileName >
68
68
<WindowsHostingBundleInstallerFileName >dotnet-hosting-$(PackageVersion)-win.exe</WindowsHostingBundleInstallerFileName >
69
+ <!-- This matches the property set in SharedFramework.wixproj -->
70
+ <SharedFrameworkRedistPackageId >VS.Redist.Common.AspNetCore.SharedFramework</SharedFrameworkRedistPackageId >
69
71
</PropertyGroup >
70
72
71
73
<ItemGroup >
174
176
<PackageToPublish Include =" %(_SymbolsPackageArtifactInfo.ArtifactPath)" Category =" symbols" IsSymbolsPackage =" true" />
175
177
</ItemGroup >
176
178
179
+ <ItemGroup >
180
+ <RedistPackageToPublish Include =" $(DependencyAssetsDir)$(SharedFrameworkRedistPackageId)*" />
181
+ </ItemGroup >
182
+
177
183
<ItemGroup >
178
184
<_MissingArtifactFile Include =" @(FilesToPublish)" Condition =" !Exists(%(FilesToPublish.Identity))" />
179
185
<_MissingArtifactFile Include =" @(NpmPackageToPublish)" Condition =" !Exists(%(NpmPackageToPublish.Identity))" />
276
282
ManifestArtifactData =" NonShipping=true"
277
283
Condition =" '%(PackageToPublish.Category)' != 'ship'" />
278
284
285
+ <PackageToPublishToTransport
286
+ Include =" @(RedistPackageToPublish)"
287
+ ManifestArtifactData =" NonShipping=true" />
288
+
279
289
<FilesToPublishToTransport Include =" @(NpmPackageToPublish)"
280
290
RelativeBlobPath =" $(BlobFileRelativePathBase)%(NpmPackageToPublish.RelativeBlobPath)"
281
291
ManifestArtifactData =" %(NpmPackageToPublish.ManifestArtifactData)" />
287
297
Condition =" '%(FilesToPublish.IsDuplicateUpload)' != 'true' " />
288
298
</ItemGroup >
289
299
290
-
291
300
<PushToBlobFeed ExpectedFeedUrl =" $(PublishBlobFeedUrl)"
292
301
AccountKey =" $(PublishBlobFeedKey)"
293
302
ItemsToPush =" @(PackageToPublishToTransport)"
Original file line number Diff line number Diff line change 11
11
[Parameter (Mandatory = $true )][string ]$PackageVersion ,
12
12
[Parameter (Mandatory = $true )][string ]$RepoRoot ,
13
13
[Parameter (Mandatory = $true )][string ]$MajorVersion ,
14
- [Parameter (Mandatory = $true )][string ]$MinorVersion
14
+ [Parameter (Mandatory = $true )][string ]$MinorVersion ,
15
+ [Parameter (Mandatory = $true )][string ]$PackageId
15
16
)
16
17
17
18
$NuGetDir = Join-Path $RepoRoot " obj\Tools\nuget\$Name \$Architecture "
@@ -27,5 +28,5 @@ if (-not (Test-Path $NuGetExe)) {
27
28
wget https:// dist.nuget.org/ win- x86- commandline/ v3.5.0 / nuget.exe - OutFile $NuGetExe
28
29
}
29
30
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 ` ;
31
32
Exit $LastExitCode
Original file line number Diff line number Diff line change 19
19
<NamespaceGuid >$(SharedFrameworkNamespaceGuid)</NamespaceGuid >
20
20
<ToolsetInstallerNuspecFile >$(RepositoryRoot)\src\Installers\Windows\SharedFramework\SharedFrameworkPackage.nuspec</ToolsetInstallerNuspecFile >
21
21
<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 >
22
25
</PropertyGroup >
23
26
24
27
<ItemGroup >
64
67
'$(PackageVersion)' ^
65
68
'$(RepositoryRoot)' ^
66
69
'$(AspNetCoreMajorVersion)' ^
67
- '$(AspNetCoreMinorVersion)'" />
70
+ '$(AspNetCoreMinorVersion)' ^
71
+ '$(SharedFrameworkRedistPackageId)'" />
68
72
</Target >
69
73
70
74
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
3
3
<metadata >
4
- <id >VS.Redist.Common.AspNetCore.SharedFramework .$ARCH$.$MAJOR$.$MINOR$</id >
4
+ <id >$ID$ .$ARCH$.$MAJOR$.$MINOR$</id >
5
5
<version >1.0.0</version >
6
- <title >VS.Redist.Common.AspNetCore.SharedFramework .$ARCH$.$MAJOR$.$MINOR$</title >
6
+ <title >$ID$ .$ARCH$.$MAJOR$.$MINOR$</title >
7
7
<authors >Microsoft</authors >
8
8
<owners >Microsoft</owners >
9
9
<licenseUrl >https://www.microsoft.com/net/dotnet_library_license.htm</licenseUrl >
You can’t perform that action at this time.
0 commit comments