From f2ed1f977d6194d9959e2f54e6d7ea4de8b6b0b6 Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:21:09 +0100 Subject: [PATCH] some warning fixes idk --- src/BizHawk.Client.Common/BizHawk.Client.Common.csproj | 2 +- src/BizHawk.Client.EmuHawk/UpdateChecker.cs | 2 -- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 2 ++ src/BizHawk.Common/OSTailoredCode.cs | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Client.Common/BizHawk.Client.Common.csproj b/src/BizHawk.Client.Common/BizHawk.Client.Common.csproj index d09a6d34ea0..69475798c58 100644 --- a/src/BizHawk.Client.Common/BizHawk.Client.Common.csproj +++ b/src/BizHawk.Client.Common/BizHawk.Client.Common.csproj @@ -1,6 +1,6 @@  - netstandard2.0;net6.0 + netstandard2.0;net6.0-windows diff --git a/src/BizHawk.Client.EmuHawk/UpdateChecker.cs b/src/BizHawk.Client.EmuHawk/UpdateChecker.cs index d53d478dec1..7f6c51fe526 100644 --- a/src/BizHawk.Client.EmuHawk/UpdateChecker.cs +++ b/src/BizHawk.Client.EmuHawk/UpdateChecker.cs @@ -1,6 +1,4 @@ using System; -using System.IO; -using System.Net; using System.Threading; using BizHawk.Client.Common; diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index fd3f9dbdea8..50bca0c7b91 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -9,7 +9,9 @@ using BizHawk.Client.Common; using BizHawk.Common; using BizHawk.Common.CollectionExtensions; +#if !NET6_0_OR_GREATER using BizHawk.Common.StringExtensions; +#endif namespace BizHawk.Client.EmuHawk { diff --git a/src/BizHawk.Common/OSTailoredCode.cs b/src/BizHawk.Common/OSTailoredCode.cs index 5083d82ff2c..476aa8218bf 100644 --- a/src/BizHawk.Common/OSTailoredCode.cs +++ b/src/BizHawk.Common/OSTailoredCode.cs @@ -6,7 +6,9 @@ using System.Diagnostics; using System.Runtime.InteropServices; +#if !NET6_0_OR_GREATER using BizHawk.Common.StringExtensions; +#endif #if EXE_PROJECT namespace EXE_PROJECT // Use a different namespace so the executable can still use this class' members without an implicit dependency on the BizHawk.Common library, and without resorting to code duplication.