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