66 instantiations of DotnetBuildCommand
dotnet.Tests (22)
CommandFactoryTests\GivenAProjectDependencyCommandResolver.cs (3)
33
new
DotnetBuildCommand
(Log)
68
new
DotnetBuildCommand
(Log)
146
new
DotnetBuildCommand
(Log)
CommandTests\Build\GivenDotnetBuildBuildsCsproj.cs (13)
23
var buildCommand = new
DotnetBuildCommand
(Log, testInstance.Path);
49
new
DotnetBuildCommand
(Log, testInstance.Path)
64
new
DotnetBuildCommand
(Log, testInstance.Path)
79
new
DotnetBuildCommand
(Log, projectDirectory)
91
new
DotnetBuildCommand
(Log)
109
new
DotnetBuildCommand
(Log)
132
new
DotnetBuildCommand
(Log)
163
var cmd = new
DotnetBuildCommand
(Log)
177
var cmd = new
DotnetBuildCommand
(Log)
197
new
DotnetBuildCommand
(Log)
218
new
DotnetBuildCommand
(Log)
254
new
DotnetBuildCommand
(Log)
278
new
DotnetBuildCommand
(Log, Path.Combine(testAsset.TestRoot, testProject.Name ?? string.Empty))
CommandTests\Build\GivenDotnetBuildBuildsDcproj.cs (1)
24
var cmd = new
DotnetBuildCommand
(Log)
CommandTests\Clean\GivenDotnetCleanCleansBuildArtifacts.cs (1)
19
new
DotnetBuildCommand
(Log, testInstance.Path)
CommandTests\Publish\GivenDotnetPublishPublishesProjects.cs (1)
361
new
DotnetBuildCommand
(Log, rootPath)
CommandTests\Solution\Add\GivenDotnetSlnAdd.cs (1)
459
cmd = new
DotnetBuildCommand
(Log, $"App{solutionExtension}")
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (2)
313
new
DotnetBuildCommand
(Log)
386
new
DotnetBuildCommand
(Log)
dotnet-new.IntegrationTests (28)
CommonTemplatesTests.cs (1)
431
new
DotnetBuildCommand
(_log, "MyProject")
DotnetClassTemplateTests.cs (1)
232
new
DotnetBuildCommand
(_log)
MSBuildEvaluationTests.cs (4)
46
cmd = new
DotnetBuildCommand
(Log)
85
cmd = new
DotnetBuildCommand
(Log)
173
cmd = new
DotnetBuildCommand
(Log)
178
cmd = new
DotnetBuildCommand
(Log)
PostActionTests.cs (21)
49
new
DotnetBuildCommand
(_log, "--no-restore")
85
new
DotnetBuildCommand
(_log, "--no-restore")
121
new
DotnetBuildCommand
(_log, "--no-restore")
156
new
DotnetBuildCommand
(_log, "--no-restore")
191
new
DotnetBuildCommand
(_log, "src/TemplateApplication", "--no-restore")
201
new
DotnetBuildCommand
(_log, "test/TemplateApplication.Tests", "--no-restore")
233
new
DotnetBuildCommand
(_log, "TemplateApplication.UI", "--no-restore")
243
new
DotnetBuildCommand
(_log, "TemplateApplication.Tests", "--no-restore")
297
new
DotnetBuildCommand
(_log, projectName, "--no-restore")
447
new
DotnetBuildCommand
(_log)
479
new
DotnetBuildCommand
(_log, Path.Combine(outputDirectory, "MyProject.csproj"))
510
new
DotnetBuildCommand
(_log, Path.Combine("output", "MyProject.csproj"))
538
new
DotnetBuildCommand
(_log, "Project1/Project1.csproj")
546
new
DotnetBuildCommand
(_log, "Project2/Project2.csproj")
583
new
DotnetBuildCommand
(_log, "ExistingProject/ExistingProject.csproj")
591
new
DotnetBuildCommand
(_log, "Project1/Project1.csproj")
630
new
DotnetBuildCommand
(_log, "Project1/Project1.csproj")
638
new
DotnetBuildCommand
(_log, "src/AlreadyExisting/AlreadyExisting.csproj")
669
new
DotnetBuildCommand
(_log, Path.Combine(outputDirectory, "Project1", "Project1.csproj"))
699
new
DotnetBuildCommand
(_log, Path.Combine("output", "Project1", "Project1.csproj"))
741
new
DotnetBuildCommand
(_log, "--no-restore")
WebProjectsTests.cs (1)
62
new
DotnetBuildCommand
(_log)
EndToEnd.Tests (2)
GivenWeWantToRequireWindowsForDesktopApps.cs (1)
25
new
DotnetBuildCommand
(testInstance)
ProjectBuildTests.cs (1)
472
new
DotnetBuildCommand
(Log, projectDirectory)
Microsoft.NET.Build.Tests (14)
ArtifactsOutputPathTests.cs (5)
339
new
DotnetBuildCommand
(testAsset)
356
new
DotnetBuildCommand
(testAsset)
403
new
DotnetBuildCommand
(Log)
506
new
DotnetBuildCommand
(testAsset)
585
new
DotnetBuildCommand
(Log)
EvaluatorFastPathTests.cs (1)
46
new
DotnetBuildCommand
(Log)
GivenThatWeWantToBuildALibraryWithOSSupportedVersion.cs (1)
152
var buildCommand = new
DotnetBuildCommand
(Log, Path.Combine(testAsset.Path, "Project", "Project.csproj"));
GivenThatWeWantToBuildASelfContainedApp.cs (3)
397
new
DotnetBuildCommand
(Log)
429
var buildCommand = new
DotnetBuildCommand
(Log, "/bl");
544
var buildCommand = new
DotnetBuildCommand
(testAsset);
GlobalPropertyFlowTests.cs (3)
40
new
DotnetBuildCommand
(testAsset, arguments.ToArray())
207
new
DotnetBuildCommand
(Log, arguments.ToArray())
217
new
DotnetBuildCommand
(Log, arguments.ToArray())
RoslynBuildTaskTests.cs (1)
145
var buildCommand = new
DotnetBuildCommand
(testAsset);
5 references to DotnetBuildCommand
dotnet.Tests (1)
CommandTests\Build\GivenDotnetBuildBuildsCsproj.cs (1)
23
var
buildCommand = new DotnetBuildCommand(Log, testInstance.Path);
Microsoft.NET.Build.Tests (4)
GivenThatWeWantToBuildALibraryWithOSSupportedVersion.cs (1)
152
var
buildCommand = new DotnetBuildCommand(Log, Path.Combine(testAsset.Path, "Project", "Project.csproj"));
GivenThatWeWantToBuildASelfContainedApp.cs (2)
429
var
buildCommand = new DotnetBuildCommand(Log, "/bl");
544
var
buildCommand = new DotnetBuildCommand(testAsset);
RoslynBuildTaskTests.cs (1)
145
var
buildCommand = new DotnetBuildCommand(testAsset);