Skip to content

Commit 586d8a3

Browse files
author
John Luo
committed
Use nuget.exe v5.3.0 which support icon metadata
1 parent 6e7d41f commit 586d8a3

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Directory.Build.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@
106106
</ItemGroup>
107107

108108
<PropertyGroup Condition="'$(Language)' == 'C#'">
109-
<!-- Reference assemblies should always use Major.Minor.0.0 for assembly versions even during servicing. Only the package version should be updated -->
109+
<!-- Reference assemblies should always use Major.Minor.0.0 for assembly versions even during servicing. Only the package version should be updated. -->
110+
<!-- Pinning the implementation assemblies at Major.Minor.0.0 as we figure out compiling against ref assemblies. -->
110111
<AssemblyVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0</AssemblyVersion>
111112
</PropertyGroup>
112113

src/Installers/Windows/GenerateNugetPackageWithMsi.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (-not (Test-Path $NuGetDir)) {
2424
if (-not (Test-Path $NuGetExe)) {
2525
# Using 3.5.0 to workaround https://github.com/NuGet/Home/issues/5016
2626
Write-Output "Downloading nuget.exe to $NuGetExe"
27-
wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile $NuGetExe
27+
wget https://dist.nuget.org/win-x86-commandline/v5.3.0/nuget.exe -OutFile $NuGetExe
2828
}
2929

3030
& $NuGetExe pack $NuspecFile -Version $PackageVersion -OutputDirectory $OutputDirectory -NoDefaultExcludes -NoPackageAnalysis -Properties ASPNETCORE_RUNTIME_MSI=$MsiPath`;ASPNETCORE_CAB_FILE=$CabPath`;ARCH=$Architecture`;MAJOR=$MajorVersion`;MINOR=$MinorVersion`;

src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<owners>Microsoft</owners>
99
<licenseUrl>https://www.microsoft.com/net/dotnet_library_license.htm</licenseUrl>
1010
<projectUrl>https://github.com/aspnet/aspnetcore</projectUrl>
11+
<icon>packageIcon.png</icon>
1112
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1213
<description>$MAJOR$.$MINOR$ ASP.NET Core TargetingPack ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
1314
<copyright>© Microsoft Corporation. All rights reserved.</copyright>

src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<owners>Microsoft</owners>
99
<licenseUrl>https://www.microsoft.com/net/dotnet_library_license.htm</licenseUrl>
1010
<projectUrl>https://github.com/aspnet/aspnetcore</projectUrl>
11+
<icon>packageIcon.png</icon>
1112
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1213
<description>$MAJOR$.$MINOR$ ASP.NET Core TargetingPack ($ARCH$) Windows Installer MSI as a .nupkg for internal Visual Studio build consumption</description>
1314
<copyright>© Microsoft Corporation. All rights reserved.</copyright>

0 commit comments

Comments
 (0)