Skip to content

Commit 1057238

Browse files
authored
Merge pull request #3 from akselarzuman/master
* test projects framework downgraded to .Net Core3
2 parents 0c2a056 + ed968e3 commit 1057238

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cake/build.cake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using System.Diagnostics;
66
// Variables
77
var configuration = "Release";
88
var fullFrameworkTarget = "net45";
9-
var netCoreTarget31 = "netcoreapp3.1";
9+
var netCoreTarget30 = "netcoreapp3.0";
1010

1111
var projects = GetFiles("**/*.csproj");
1212
string testProjectPath = "../tests/CacheManager.Serialization.Hyperion.Tests/CacheManager.Serialization.Hyperion.Tests.csproj";
@@ -50,13 +50,13 @@ Task("Build")
5050
}
5151
});
5252

53-
Task("NetCore3.1Tests")
53+
Task("NetCore3.0Tests")
5454
.IsDependentOn("Build")
5555
.Does(() => {
5656
DotNetCoreTestSettings settings = new DotNetCoreTestSettings
5757
{
5858
Configuration = configuration,
59-
Framework = netCoreTarget31
59+
Framework = netCoreTarget30
6060
};
6161
DotNetCoreTest(testProjectPath, settings);
6262
});
@@ -93,7 +93,7 @@ Task("NetFramework4.5Tests")
9393
});
9494

9595
Task("Test")
96-
.IsDependentOn("NetCore3.1Tests")
96+
.IsDependentOn("NetCore3.0Tests")
9797
.IsDependentOn("NetFramework4.5Tests");
9898

9999
Task("Nuget-Pack")

tests/CacheManager.Serialization.Hyperion.Tests/CacheManager.Serialization.Hyperion.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
3+
<TargetFrameworks>net452;netcoreapp3.0</TargetFrameworks>
44
<!-- When compiling .NET SDK 2.0 projects targeting .NET 4.x on Mono using 'dotnet build' you -->
55
<!-- have to teach MSBuild where the Mono copy of the reference asssemblies is -->
66
<TargetIsMono Condition="$(TargetFramework.StartsWith('net4')) and '$(OS)' == 'Unix'">true</TargetIsMono>

0 commit comments

Comments
 (0)