@@ -24,7 +24,9 @@ public void Restore()
24
24
context . DotNetRestore ( context . SolutionFile . FullPath ,
25
25
new DotNetRestoreSettings
26
26
{
27
- MSBuildSettings = context . MsBuildSettingsRestore
27
+ MSBuildSettings = context . MsBuildSettingsRestore ,
28
+ Verbosity = DotNetVerbosity . Normal ,
29
+ ToolPath = context . ToolPath
28
30
} ) ;
29
31
}
30
32
@@ -37,7 +39,8 @@ public void Build()
37
39
DiagnosticOutput = true ,
38
40
MSBuildSettings = context . MsBuildSettingsBuild ,
39
41
Configuration = context . BuildConfiguration ,
40
- Verbosity = context . BuildVerbosity
42
+ Verbosity = context . BuildVerbosity ,
43
+ ToolPath = context . ToolPath
41
44
} ) ;
42
45
}
43
46
@@ -49,7 +52,8 @@ public void BuildProjectSilent(FilePath projectFile)
49
52
DiagnosticOutput = false ,
50
53
MSBuildSettings = context . MsBuildSettingsBuild ,
51
54
Configuration = context . BuildConfiguration ,
52
- Verbosity = DotNetVerbosity . Quiet
55
+ Verbosity = DotNetVerbosity . Quiet ,
56
+ ToolPath = context . ToolPath
53
57
} ) ;
54
58
}
55
59
@@ -62,7 +66,8 @@ public void Pack()
62
66
OutputDirectory = context . ArtifactsDirectory ,
63
67
ArgumentCustomization = args => args . Append ( "--include-symbols" ) . Append ( "-p:SymbolPackageFormat=snupkg" ) ,
64
68
MSBuildSettings = context . MsBuildSettingsPack ,
65
- Configuration = context . BuildConfiguration
69
+ Configuration = context . BuildConfiguration ,
70
+ ToolPath = context . ToolPath
66
71
} ;
67
72
68
73
foreach ( var project in context . AllPackableSrcProjects )
@@ -72,7 +77,8 @@ public void Pack()
72
77
{
73
78
OutputDirectory = context . ArtifactsDirectory ,
74
79
MSBuildSettings = context . MsBuildSettingsPack ,
75
- Configuration = context . BuildConfiguration
80
+ Configuration = context . BuildConfiguration ,
81
+ ToolPath = context . ToolPath
76
82
} ;
77
83
context . DotNetPack ( context . TemplatesTestsProjectFile . FullPath , settingsTemplate ) ;
78
84
}
0 commit comments