diff --git a/src/Velopack.Vpk/Compat/EmbeddedRunner.cs b/src/Velopack.Vpk/Compat/EmbeddedRunner.cs index 16cbd510..b783bc14 100644 --- a/src/Velopack.Vpk/Compat/EmbeddedRunner.cs +++ b/src/Velopack.Vpk/Compat/EmbeddedRunner.cs @@ -1,4 +1,4 @@ -using System.Runtime.Versioning; +using System.Runtime.Versioning; using Velopack.Deployment; using Velopack.Packaging.Commands; using Velopack.Packaging.Unix.Commands; @@ -66,6 +66,7 @@ public class EmbeddedRunner : ICommandRunner return new OsxPackCommandRunner(_logger).Run(options); } + [SupportedOSPlatform("windows")] public virtual Task ExecutePackWindows(WindowsPackCommand command) { var options = new WindowsPackOptions { diff --git a/test/Velopack.Tests/ShortcutTests.cs b/test/Velopack.Tests/ShortcutTests.cs index 864d71ea..435a2154 100644 --- a/test/Velopack.Tests/ShortcutTests.cs +++ b/test/Velopack.Tests/ShortcutTests.cs @@ -1,4 +1,5 @@ -using System; +#pragma warning disable CS0618 // Type or member is obsolete +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Versioning;