@@ -32,7 +32,7 @@ Task("UpdateAppVeyorBuildNumber")
32
32
Task ( "Restore" )
33
33
. Does < BuildInfo > ( build =>
34
34
{
35
- DotNetCoreRestore ( build . Paths . SrcDir ) ;
35
+ DotNetRestore ( build . Paths . SrcDir ) ;
36
36
} ) ;
37
37
38
38
@@ -83,7 +83,7 @@ Task("RunXunitTests")
83
83
84
84
// run open cover for debug build configuration
85
85
OpenCover (
86
- tool => tool . DotNetCoreTool (
86
+ tool => tool . DotNetTool (
87
87
projectPath . ToString ( ) ,
88
88
"test" ,
89
89
buildProcessArgs ( "Debug" , targetFw . Key )
@@ -95,7 +95,7 @@ Task("RunXunitTests")
95
95
{
96
96
var solutionFullPath = build . Paths . RootDir . Combine ( build . Paths . SrcDir ) . Combine ( build . Settings . SolutionName ) + ".sln" ;
97
97
Information ( "Running Debug mode tests for {0} ({1})" , projectFilename , targetFw . Key ) ;
98
- DotNetCoreTool (
98
+ DotNetTool (
99
99
solutionFullPath ,
100
100
"test" ,
101
101
buildProcessArgs ( "Debug" , targetFw . Key )
@@ -108,7 +108,7 @@ Task("RunXunitTests")
108
108
{
109
109
var solutionFullPath = build . Paths . RootDir . Combine ( build . Paths . SrcDir ) . Combine ( build . Settings . SolutionName ) + ".sln" ;
110
110
Information ( "Running Release mode tests for {0} ({1})" , projectFilename , targetFw . Key ) ;
111
- DotNetCoreTool (
111
+ DotNetTool (
112
112
solutionFullPath ,
113
113
"test" ,
114
114
buildProcessArgs ( "Release" , targetFw . Key )
@@ -183,13 +183,13 @@ Task("Build")
183
183
if ( build . IsRelease ) {
184
184
Information ( "Running {0} build to calculate code coverage" , "Debug" ) ;
185
185
// need Debug build for code coverage
186
- DotNetCoreBuild ( build . Paths . SrcDir , new DotNetCoreBuildSettings {
186
+ DotNetBuild ( build . Paths . SrcDir , new DotNetBuildSettings {
187
187
NoRestore = true ,
188
188
Configuration = "Debug" ,
189
189
} ) ;
190
190
}
191
191
Information ( "Running {0} build" , build . Config ) ;
192
- DotNetCoreBuild ( build . Paths . SrcDir , new DotNetCoreBuildSettings {
192
+ DotNetBuild ( build . Paths . SrcDir , new DotNetBuildSettings {
193
193
NoRestore = true ,
194
194
Configuration = build . Config ,
195
195
} ) ;
@@ -199,7 +199,7 @@ Task("Build")
199
199
Task ( "CreateNugetPackages" )
200
200
. Does < BuildInfo > ( build =>
201
201
{
202
- DotNetCorePack ( build . Paths . SrcDir , new DotNetCorePackSettings {
202
+ DotNetPack ( build . Paths . SrcDir , new DotNetPackSettings {
203
203
Configuration = build . Config ,
204
204
NoRestore = true ,
205
205
NoBuild = true ,
0 commit comments