diff --git a/src/Tgstation.Server.Host.Service/Program.cs b/src/Tgstation.Server.Host.Service/Program.cs index 23a9e45c23..6073742252 100644 --- a/src/Tgstation.Server.Host.Service/Program.cs +++ b/src/Tgstation.Server.Host.Service/Program.cs @@ -3,6 +3,7 @@ using System.Collections.Specialized; using System.Configuration.Install; using System.IO; using System.Reflection; +using System.Runtime.Versioning; using System.ServiceProcess; using System.Threading; using System.Threading.Tasks; @@ -20,6 +21,7 @@ namespace Tgstation.Server.Host.Service /// /// Contains the entrypoint for the application. /// + [SupportedOSPlatform("windows")] sealed class Program { /// diff --git a/src/Tgstation.Server.Host.Service/ServerService.cs b/src/Tgstation.Server.Host.Service/ServerService.cs index 69f707194b..9a3438837c 100644 --- a/src/Tgstation.Server.Host.Service/ServerService.cs +++ b/src/Tgstation.Server.Host.Service/ServerService.cs @@ -4,6 +4,7 @@ using System.Diagnostics; using System.IO; using System.IO.Pipes; using System.Linq; +using System.Runtime.Versioning; using System.ServiceProcess; using System.Text; using System.Threading; @@ -21,6 +22,7 @@ namespace Tgstation.Server.Host.Service /// /// Represents a as a . /// + [SupportedOSPlatform("windows")] sealed class ServerService : ServiceBase, ISignalChecker { /// diff --git a/src/Tgstation.Server.Host.Service/Tgstation.Server.Host.Service.csproj b/src/Tgstation.Server.Host.Service/Tgstation.Server.Host.Service.csproj index 48eb72358e..0186298b28 100644 --- a/src/Tgstation.Server.Host.Service/Tgstation.Server.Host.Service.csproj +++ b/src/Tgstation.Server.Host.Service/Tgstation.Server.Host.Service.csproj @@ -3,7 +3,9 @@ WinExe - $(TgsFrameworkVersion)-windows + win-x86;win-x64 + + $(TgsFrameworkVersion) $(TgsCoreVersion) false