diff --git a/Directory.Build.props b/Directory.Build.props index 4f6ad93..9ef9a2f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -27,6 +27,9 @@ true true true + + NETSDK1074;$(NoWarn) + NETSDK1074;$(WarningsNotAsErrors) diff --git a/Directory.Build.targets b/Directory.Build.targets index 0f5e877..a99e4dd 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -13,7 +13,9 @@ $(DefineConstants);$(OS) - $(NoWarn);NU5105 + + $(NoWarn);NU5105;NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 diff --git a/samples/AverageFrameRate/AverageFrameRate.csproj b/samples/AverageFrameRate/AverageFrameRate.csproj index 7f97077..a3488a3 100644 --- a/samples/AverageFrameRate/AverageFrameRate.csproj +++ b/samples/AverageFrameRate/AverageFrameRate.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/BitmapViewer/BitmapViewer.csproj b/samples/BitmapViewer/BitmapViewer.csproj index c57f7c0..7a8daae 100644 --- a/samples/BitmapViewer/BitmapViewer.csproj +++ b/samples/BitmapViewer/BitmapViewer.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/ParticleSystem/ParticleSystem.csproj b/samples/ParticleSystem/ParticleSystem.csproj index 1555aec..09850b8 100644 --- a/samples/ParticleSystem/ParticleSystem.csproj +++ b/samples/ParticleSystem/ParticleSystem.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/PlasmaFractal/PlasmaFractal.csproj b/samples/PlasmaFractal/PlasmaFractal.csproj index 1555aec..09850b8 100644 --- a/samples/PlasmaFractal/PlasmaFractal.csproj +++ b/samples/PlasmaFractal/PlasmaFractal.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/RayTracer/RayTracer.csproj b/samples/RayTracer/RayTracer.csproj index 08b149f..5dd07af 100644 --- a/samples/RayTracer/RayTracer.csproj +++ b/samples/RayTracer/RayTracer.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/SwirlStars/SwirlStars.csproj b/samples/SwirlStars/SwirlStars.csproj index 08b149f..5dd07af 100644 --- a/samples/SwirlStars/SwirlStars.csproj +++ b/samples/SwirlStars/SwirlStars.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/TunnelEffect/TunnelEffect.csproj b/samples/TunnelEffect/TunnelEffect.csproj index c460f71..321ae55 100644 --- a/samples/TunnelEffect/TunnelEffect.csproj +++ b/samples/TunnelEffect/TunnelEffect.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest diff --git a/samples/WavePlayer/WavePlayer.csproj b/samples/WavePlayer/WavePlayer.csproj index 5b50013..97a4b04 100644 --- a/samples/WavePlayer/WavePlayer.csproj +++ b/samples/WavePlayer/WavePlayer.csproj @@ -7,6 +7,13 @@ + + + true + $(NoWarn);NETSDK1074 + $(WarningsNotAsErrors);NETSDK1074 + + PreserveNewest