From 23caa5a6be4f7275dc5911e18fcb4d4eb34c9fd9 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Thu, 18 Jun 2020 22:59:00 +0800 Subject: [PATCH] Update build.cake --- build/build.cake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build/build.cake b/build/build.cake index 7f9bffa8..7d17c5cc 100644 --- a/build/build.cake +++ b/build/build.cake @@ -14,7 +14,7 @@ Task("Build") var settingsNet40 = new DotNetCoreBuildSettings { - Configuration = "Release", + Configuration = "Release-Net40", OutputDirectory = "lib/net40" }; @@ -60,6 +60,13 @@ Task("Build") OutputDirectory = "lib/netcoreapp3.1" }; + var settingsNet50 = new DotNetCoreBuildSettings + { + Configuration = "Release", + Framework = "net5.0", + OutputDirectory = "lib/net50" + }; + DotNetCoreBuild("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj", settingsNet40); DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet45); DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet462); @@ -67,6 +74,7 @@ Task("Build") DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet48); DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsCore30); DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsCore31); + DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet50); }); RunTarget(target); \ No newline at end of file