Skip to content

Commit

Permalink
Suppress NETSDK1074 (for now).
Browse files Browse the repository at this point in the history
NETSDK1074: The application host executable will not be customized because adding resources requires that the build be performed on Windows.

See: dotnet/runtime#3828
  • Loading branch information
ronaldvanmanen committed Sep 11, 2023
1 parent 3b0f737 commit 5b34ee8
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/AverageFrameRate/AverageFrameRate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/BitmapViewer/BitmapViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="Sample.bmp">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/ParticleSystem/ParticleSystem.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/PlasmaFractal/PlasmaFractal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/RayTracer/RayTracer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/SwirlStars/SwirlStars.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/TunnelEffect/TunnelEffect.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
6 changes: 6 additions & 0 deletions samples/WavePlayer/WavePlayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<StartupObject />
</PropertyGroup>

<PropertyGroup>
<!-- TODO: https://github.com/dotnet/runtime/issues/3828 -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<NoWarn>$(NoWarn);NETSDK1074</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="lazy.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down

0 comments on commit 5b34ee8

Please sign in to comment.