Skip to content

Commit

Permalink
Reset target framework for Tests.Net46 project to 4.6.1 (#55)
Browse files Browse the repository at this point in the history
- net461 is more widely available than net462.
- It seems .NET v4.6.2 does not get installed on all platforms, eg Win7.
  • Loading branch information
jthelin authored Oct 16, 2018
1 parent 2c5782d commit f2540f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Test.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Tests/Tests.Net46/Tests.Net46.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net462</TargetFramework>
<TargetFramework>net461</TargetFramework>
<RootNamespace>Server.Host.Tests.Net46</RootNamespace>
<AssemblyName>ServerHost.Tests</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Expand Down

0 comments on commit f2540f8

Please sign in to comment.