mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-12-26 01:25:48 +08:00
Feat/net6.0 upgrade (#1558)
* +semver: major upgrading from net5.0 to net6.0 * packages upgraded * removed global.json for ocelot sf sample * update build image * test new build * remove make * fix tests * make test fail like in CI * tests passing locally * updated docs Co-authored-by: TGP <thomasgardham-pallister@Thomass-MacBook-Pro-2.local>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#tool "nuget:?package=GitVersion.CommandLine&version=5.0.1"
|
||||
// #tool "nuget:?package=GitVersion.CommandLine&version=5.8.1"
|
||||
#tool "dotnet:?package=GitVersion.Tool&version=5.8.1"
|
||||
#addin nuget:?package=Cake.Json&version=4.0.0
|
||||
#addin nuget:?package=Newtonsoft.Json
|
||||
#addin nuget:?package=System.Net.Http&version=4.3.4
|
||||
// #addin nuget:?package=System.Net.Http&version=4.3.4
|
||||
#addin nuget:?package=System.Text.Encodings.Web&version=4.7.1
|
||||
#tool "nuget:?package=ReportGenerator"
|
||||
#tool "nuget:?package=coveralls.net&version=0.7.0"
|
||||
@@ -82,12 +83,12 @@ Task("Compile")
|
||||
.IsDependentOn("Version")
|
||||
.Does(() =>
|
||||
{
|
||||
var settings = new DotNetCoreBuildSettings
|
||||
var settings = new DotNetBuildSettings
|
||||
{
|
||||
Configuration = compileConfig,
|
||||
};
|
||||
|
||||
DotNetCoreBuild(slnFile, settings);
|
||||
DotNetBuild(slnFile, settings);
|
||||
});
|
||||
|
||||
Task("Clean")
|
||||
|
||||
Reference in New Issue
Block a user