Skip to content

Commit 8fbf755

Browse files
committed
fix build failure
nuget pack 5.10.0 requires target platform version to be appended to nuspec
1 parent bd33914 commit 8fbf755

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Flow.Launcher/Flow.Launcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<PackageReference Include="InputSimulator" Version="1.0.4" />
8484
<PackageReference Include="ModernWpfUI" Version="0.9.4" />
8585
<PackageReference Include="NHotkey.Wpf" Version="2.1.0" />
86-
<PackageReference Include="NuGet.CommandLine" Version="5.10.0">
86+
<PackageReference Include="NuGet.CommandLine" Version="5.4.0">
8787
<PrivateAssets>all</PrivateAssets>
8888
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8989
</PackageReference>

Scripts/post_build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
7171
Write-Host "Packing: $spec"
7272
Write-Host "Input path: $input"
7373
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
74-
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.10.0\tools\NuGet.exe -Force
74+
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.4.0\tools\NuGet.exe -Force
7575
# dotnet pack is not used because ran into issues, need to test installation and starting up if to use it.
7676
nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release
7777

0 commit comments

Comments
 (0)