Skip to content

Commit

Permalink
Fix PackageReference conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Feb 22, 2021
1 parent cff757d commit 77df631
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PreviewApp/FastNoiseLite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.5.10" />
</ItemGroup>
<ItemGroup Condition=" $( RuntimeIdentifier.StartsWith('win') ) ">
<ItemGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
<PackageReference Include="Eto.Platform.Wpf" Version="2.5.10" />
</ItemGroup>
<ItemGroup Condition=" $( RuntimeIdentifier.StartsWith('osx') ) ">
<ItemGroup Condition="$([MSBuild]::IsOsPlatform('OSX'))">
<PackageReference Include="Eto.Platform.Mac64" Version="2.5.10" />
</ItemGroup>
<ItemGroup Condition=" ! $( RuntimeIdentifier.StartsWith('win') ) And ! $( RuntimeIdentifier.StartsWith('osx') ) ">
<ItemGroup Condition="$([MSBuild]::IsOsPlatform('Linux'))">
<PackageReference Include="Eto.Platform.Gtk" Version="2.5.10" />
</ItemGroup>

Expand Down

0 comments on commit 77df631

Please sign in to comment.