60 references to 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 (1)
ProjectBuildTests.cs (1)
472
new
DotnetBuildCommand
(Log, projectDirectory)
Microsoft.NET.Build.Tests (8)
ArtifactsOutputPathTests.cs (2)
403
new
DotnetBuildCommand
(Log)
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 (2)
397
new
DotnetBuildCommand
(Log)
429
var buildCommand = new
DotnetBuildCommand
(Log, "/bl");
GlobalPropertyFlowTests.cs (2)
207
new
DotnetBuildCommand
(Log, arguments.ToArray())
217
new
DotnetBuildCommand
(Log, arguments.ToArray())
Microsoft.NET.TestFramework (1)
Commands\DotnetBuildCommand.cs (1)
18
public DotnetBuildCommand(TestAsset testAsset, params string[] args) :
this
(testAsset.Log, args)