Updating to dotnet 5.0 (#1218)

* adding network file validator contract

* updating to dotnet 5

* reverting change in pipeline

* updating target framework to 5.0

* updating srgen and using target framework var

* reverting srgen back to 3.1

* Adding dotnet 3.1 to build

* Fixing task def

* removing global json

* updating other 3.1 refs to 5.0

* removing netcore folder from build.cake

* Moving and renaming dotnet 3.1 task
This commit is contained in:
Aasim Khan
2021-06-25 13:53:01 -07:00
committed by GitHub
parent ae9ec03018
commit 9877af54b9
21 changed files with 53 additions and 44 deletions

View File

@@ -271,7 +271,7 @@ Task("TestCore")
.Does(() =>
{
var testProjects = buildPlan.TestProjects
.Where(pair => pair.Value.Any(framework => framework.Contains("netcoreapp")))
.Where(pair => pair.Value.Any(framework => framework.Contains("net")))
.Select(pair => pair.Key)
.ToList();
@@ -299,7 +299,7 @@ Task("Test")
foreach (var framework in pair.Value)
{
// Testing against core happens in TestCore
if (framework.Contains("netcoreapp"))
if (framework.Contains("net"))
{
continue;
}