File tree Expand file tree Collapse file tree 6 files changed +23
-7
lines changed Expand file tree Collapse file tree 6 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 21
21
<ArtifactsBinDir >$(ArtifactsConfigurationDir)bin\</ArtifactsBinDir >
22
22
<PackageOutputPath >$(ArtifactsDir)build\</PackageOutputPath >
23
23
24
+ <InstallersOutputPath >$(RepositoryRoot)artifacts/bin/$(Configuration)/installers/</InstallersOutputPath >
25
+
24
26
<RepoRelativeProjectDir >$([MSBuild]::MakeRelative($(RepositoryRoot), $(MSBuildProjectDirectory)))</RepoRelativeProjectDir >
25
27
26
28
<IsBenchmarkProject Condition =" $(MSBuildProjectName.EndsWith('.Performance')) OR $(RepoRelativeProjectDir.Contains('perf'))" >true</IsBenchmarkProject >
42
44
<MvcTestingTargets >$(MSBuildThisFileDirectory)src\Mvc\Mvc.Testing\src\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Testing.targets</MvcTestingTargets >
43
45
</PropertyGroup >
44
46
47
+ <PropertyGroup >
48
+ <!-- Publishing.targets & SharedFramework.wixproj both use this property, so putting it here in a common location -->
49
+ <SharedFrameworkRedistPackageId >VS.Redist.Common.AspNetCore.SharedFramework</SharedFrameworkRedistPackageId >
50
+ </PropertyGroup >
51
+
45
52
<Import Project =" eng\Dependencies.props" />
46
53
<Import Project =" eng\PatchConfig.props" />
47
54
<Import Project =" eng\ProjectReferences.props" />
Original file line number Diff line number Diff line change 174
174
<PackageToPublish Include =" %(_SymbolsPackageArtifactInfo.ArtifactPath)" Category =" symbols" IsSymbolsPackage =" true" />
175
175
</ItemGroup >
176
176
177
+ <ItemGroup >
178
+ <RedistPackageToPublish Include =" $(InstallersOutputPath)(SharedFrameworkRedistPackageId)*" />
179
+ </ItemGroup >
180
+
177
181
<ItemGroup >
178
182
<_MissingArtifactFile Include =" @(FilesToPublish)" Condition =" !Exists(%(FilesToPublish.Identity))" />
179
183
<_MissingArtifactFile Include =" @(NpmPackageToPublish)" Condition =" !Exists(%(NpmPackageToPublish.Identity))" />
276
280
ManifestArtifactData =" NonShipping=true"
277
281
Condition =" '%(PackageToPublish.Category)' != 'ship'" />
278
282
283
+ <PackageToPublishToTransport
284
+ Include =" @(RedistPackageToPublish)"
285
+ ManifestArtifactData =" NonShipping=true" />
286
+
279
287
<FilesToPublishToTransport Include =" @(NpmPackageToPublish)"
280
288
RelativeBlobPath =" $(BlobFileRelativePathBase)%(NpmPackageToPublish.RelativeBlobPath)"
281
289
ManifestArtifactData =" %(NpmPackageToPublish.ManifestArtifactData)" />
Original file line number Diff line number Diff line change 1
1
version:2.1.7-build-20190110.2
2
- commithash:00aefcfd284db33352f35bfa2c74c65f8580e372
2
+ commithash:00aefcfd284db33352f35bfa2c74c65f8580e372
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 18
18
<DefineConstants >$(DefineConstants);AspNetCoreSharedFrameworkSource=$(HarvestSource)</DefineConstants >
19
19
<NamespaceGuid >$(SharedFrameworkNamespaceGuid)</NamespaceGuid >
20
20
<ToolsetInstallerNuspecFile >$(RepositoryRoot)\src\Installers\Windows\SharedFramework\SharedFrameworkPackage.nuspec</ToolsetInstallerNuspecFile >
21
- <InstallersOutputPath >$(RepositoryRoot)artifacts/bin/$(Configuration)/installers/</InstallersOutputPath >
22
21
</PropertyGroup >
23
22
24
23
<ItemGroup >
64
63
'$(PackageVersion)' ^
65
64
'$(RepositoryRoot)' ^
66
65
'$(AspNetCoreMajorVersion)' ^
67
- '$(AspNetCoreMinorVersion)'" />
66
+ '$(AspNetCoreMinorVersion)' ^
67
+ '$(SharedFrameworkRedistPackageId)'" />
68
68
</Target >
69
69
70
70
<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