@@ -7,10 +7,10 @@ var configuration = Argument("configuration", "Release");
7
7
Task ( "Build" )
8
8
. Does ( context =>
9
9
{
10
- DotNetCoreBuild ( "./src/RadLine.sln" , new DotNetCoreBuildSettings {
10
+ DotNetBuild ( "./src/RadLine.sln" , new DotNetBuildSettings {
11
11
Configuration = configuration ,
12
12
NoIncremental = context . HasArgument ( "rebuild" ) ,
13
- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
13
+ MSBuildSettings = new DotNetMSBuildSettings ( )
14
14
. TreatAllWarningsAs ( MSBuildTreatAllWarningsAs . Error )
15
15
} ) ;
16
16
} ) ;
@@ -19,7 +19,7 @@ Task("Test")
19
19
. IsDependentOn ( "Build" )
20
20
. Does ( context =>
21
21
{
22
- DotNetCoreTest ( "./src/RadLine.Tests/RadLine.Tests.csproj" , new DotNetCoreTestSettings {
22
+ DotNetTest ( "./src/RadLine.Tests/RadLine.Tests.csproj" , new DotNetTestSettings {
23
23
Configuration = configuration ,
24
24
NoRestore = true ,
25
25
NoBuild = true ,
@@ -32,12 +32,12 @@ Task("Package")
32
32
{
33
33
context . CleanDirectory ( "./.artifacts" ) ;
34
34
35
- context . DotNetCorePack ( $ "./src/RadLine.sln", new DotNetCorePackSettings {
35
+ context . DotNetPack ( $ "./src/RadLine.sln", new DotNetPackSettings {
36
36
Configuration = configuration ,
37
37
NoRestore = true ,
38
38
NoBuild = true ,
39
39
OutputDirectory = "./.artifacts" ,
40
- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
40
+ MSBuildSettings = new DotNetMSBuildSettings ( )
41
41
. TreatAllWarningsAs ( MSBuildTreatAllWarningsAs . Error )
42
42
} ) ;
43
43
} ) ;
@@ -56,7 +56,7 @@ Task("Publish-NuGet")
56
56
foreach ( var file in context . GetFiles ( "./.artifacts/*.nupkg" ) )
57
57
{
58
58
context . Information ( "Publishing {0}..." , file . GetFilename ( ) . FullPath ) ;
59
- DotNetCoreNuGetPush ( file . FullPath , new DotNetCoreNuGetPushSettings
59
+ DotNetNuGetPush ( file . FullPath , new DotNetNuGetPushSettings
60
60
{
61
61
Source = "https://api.nuget.org/v3/index.json" ,
62
62
ApiKey = apiKey ,
0 commit comments