Skip to content

Commit

Permalink
add net5.0 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Nov 11, 2020
1 parent 67570ce commit 827805e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimpleExecTester/SimpleExecTester.csproj
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<RollForward>major</RollForward>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
</PropertyGroup>

</Project>
6 changes: 6 additions & 0 deletions SimpleExecTests/Infra/Tester.cs
Expand Up @@ -14,6 +14,12 @@ internal static class Tester
#endif
#if NETCOREAPP3_1 && RELEASE
$"../../../../SimpleExecTester/bin/Release/netcoreapp3.1/SimpleExecTester.dll";
#endif
#if NET5_0 && DEBUG
$"../../../../SimpleExecTester/bin/Debug/net5.0/SimpleExecTester.dll";
#endif
#if NET5_0 && RELEASE
$"../../../../SimpleExecTester/bin/Release/net5.0/SimpleExecTester.dll";
#endif
}
}
2 changes: 1 addition & 1 deletion SimpleExecTests/SimpleExecTests.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RollForward>major</RollForward>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net5.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion global.json
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "3.1.100",
"version": "5.0.100",
"rollForward": "latestMajor"
}
}

0 comments on commit 827805e

Please sign in to comment.