From 20ba9ff4aa53b6e00e7d032f504f8fe33c403066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Wed, 30 Mar 2022 14:25:09 +0200 Subject: [PATCH] Add else part to pragma --- .../DiaSessionTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/DiaSessionTests.cs b/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/DiaSessionTests.cs index d0acd3c87b..552a9c0541 100644 --- a/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/DiaSessionTests.cs +++ b/test/Microsoft.TestPlatform.ObjectModel.PlatformTests/DiaSessionTests.cs @@ -15,8 +15,9 @@ public class DiaSessionTests : IntegrationTestBase { #if NETFRAMEWORK private const string NET451 = "net451"; -#endif +#else private const string NETCOREAPP21 = "netcoreapp2.1"; +#endif public static string? GetAndSetTargetFrameWork(IntegrationTestEnvironment testEnvironment) {