From 3983187f36b63bb02676127b7ed1d60e2fd8cde9 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Tue, 28 Nov 2023 18:27:23 +0100 Subject: [PATCH] Try adding TargetPlatform too --- .../ICSharpCode.Decompiler.Tests.csproj | 1 + ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj | 1 + ILSpy.Tests/ILSpy.Tests.csproj | 1 + ILSpy.Tests/Workaround4564.cs | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj index 35861e7d70..e042411562 100644 --- a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj +++ b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj @@ -6,6 +6,7 @@ win-x64 false AutoGeneratedProgram + false True diff --git a/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj b/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj index 834ea7958c..4655b74f8a 100644 --- a/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj +++ b/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj @@ -6,6 +6,7 @@ win-x64 false AutoGeneratedProgram + false false true diff --git a/ILSpy.Tests/ILSpy.Tests.csproj b/ILSpy.Tests/ILSpy.Tests.csproj index 17b4052aa2..89ca30c6a5 100644 --- a/ILSpy.Tests/ILSpy.Tests.csproj +++ b/ILSpy.Tests/ILSpy.Tests.csproj @@ -5,6 +5,7 @@ net8.0-windows false AutoGeneratedProgram + false True diff --git a/ILSpy.Tests/Workaround4564.cs b/ILSpy.Tests/Workaround4564.cs index 500cd82e01..257afcc2bc 100644 --- a/ILSpy.Tests/Workaround4564.cs +++ b/ILSpy.Tests/Workaround4564.cs @@ -1,3 +1,4 @@ // https://github.com/nunit/nunit/issues/4564 -[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows10")] \ No newline at end of file +[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows10")] +[assembly: System.Runtime.Versioning.TargetPlatform("Windows10")] \ No newline at end of file