diff --git a/NAudio.Core/NAudio.Core.csproj b/NAudio.Core/NAudio.Core.csproj
index 016fef7b..44439d24 100644
--- a/NAudio.Core/NAudio.Core.csproj
+++ b/NAudio.Core/NAudio.Core.csproj
@@ -2,6 +2,7 @@
netstandard2.0
+ Latest
Mark Heath
2.2.0
true
@@ -15,6 +16,7 @@
true
MIT
naudio-icon.png
+ true
@@ -24,5 +26,12 @@
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
diff --git a/NAudio.Core/Wave/WaveOutputs/DirectSoundOut.cs b/NAudio.Core/Wave/WaveOutputs/DirectSoundOut.cs
index 0c14e3fa..6ab31031 100644
--- a/NAudio.Core/Wave/WaveOutputs/DirectSoundOut.cs
+++ b/NAudio.Core/Wave/WaveOutputs/DirectSoundOut.cs
@@ -12,6 +12,7 @@ namespace NAudio.Wave
/// Contact author: Alexandre Mutel - alexandre_mutel at yahoo.fr
/// Modified by: Graham "Gee" Plumb
///
+ [System.Runtime.Versioning.SupportedOSPlatform("windows")]
public class DirectSoundOut : IWavePlayer
{
///