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.