Fix build warnings

This commit is contained in:
Caelan Sayler
2024-01-14 13:51:54 +00:00
parent e344df49d3
commit 475129e7fe
2 changed files with 4 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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;