From f2540f842ecc68a153a8f617dcb5a17d8555de4e Mon Sep 17 00:00:00 2001 From: Jorgen Thelin Date: Mon, 15 Oct 2018 17:31:10 -0700 Subject: [PATCH] Reset target framework for Tests.Net46 project to 4.6.1 (#55) - net461 is more widely available than net462. - It seems .NET v4.6.2 does not get installed on all platforms, eg Win7. --- Test.cmd | 2 +- Test.sh | 2 +- Tests/Tests.Net46/Tests.Net46.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Test.cmd b/Test.cmd index 78d635d..7a082b8 100644 --- a/Test.cmd +++ b/Test.cmd @@ -30,7 +30,7 @@ SET VSTEST_EXE_DIR=%VS_IDE_DIR%\CommonExtensions\Microsoft\TestWindow SET VSTEST_EXE=%VSTEST_EXE_DIR%\VSTest.console.exe set XUNIT_VER=2.4.0 -set XUNIT_DOTNET_PLATFORM_VER=net462 +set XUNIT_DOTNET_PLATFORM_VER=net461 SET XUNIT_EXE_DIR=%CMDHOME%\packages\xunit.runner.console.%XUNIT_VER%\tools\%XUNIT_DOTNET_PLATFORM_VER% SET XUNIT_EXE=%XUNIT_EXE_DIR%\xunit.console.exe diff --git a/Test.sh b/Test.sh index 37dd140..279385b 100755 --- a/Test.sh +++ b/Test.sh @@ -1,3 +1,3 @@ #/usr/bin/bash -mono packages/xunit.runner.console.*/tools/net462/xunit.console.exe Tests/Tests.Net46/bin/Debug/ServerHost.Tests.dll +mono packages/xunit.runner.console.*/tools/net461/xunit.console.exe Tests/Tests.Net46/bin/Debug/ServerHost.Tests.dll diff --git a/Tests/Tests.Net46/Tests.Net46.csproj b/Tests/Tests.Net46/Tests.Net46.csproj index 23b53a0..a1eeda9 100644 --- a/Tests/Tests.Net46/Tests.Net46.csproj +++ b/Tests/Tests.Net46/Tests.Net46.csproj @@ -1,7 +1,7 @@  - net462 + net461 Server.Host.Tests.Net46 ServerHost.Tests false