42 references to DotnetPublishCommand
dotnet.Tests (15)
CommandTests\Publish\GivenDotnetPublishPublishesProjects.cs (12)
33new DotnetPublishCommand(Log) 56new DotnetPublishCommand(Log) 72new DotnetPublishCommand(Log) 87new DotnetPublishCommand(Log) 278new DotnetPublishCommand(Log) 293new DotnetPublishCommand(Log) 315new DotnetPublishCommand(Log) 339new DotnetPublishCommand(Log) 366new DotnetPublishCommand(Log, "--no-build") 396new DotnetPublishCommand(Log) 409var cmd = new DotnetPublishCommand(Log) 430new DotnetPublishCommand(Log)
CommandTests\Store\GivenDotnetStoresAndPublishesProjects.cs (3)
48new DotnetPublishCommand(Log, 87new DotnetPublishCommand(Log, 142new DotnetPublishCommand(Log,
EndToEnd.Tests (2)
ProjectBuildTests.cs (2)
108new DotnetPublishCommand(Log, publishArgs) 146new DotnetPublishCommand(Log, publishArgs)
Microsoft.NET.Build.Tests (3)
ArtifactsOutputPathTests.cs (3)
287new DotnetPublishCommand(Log, "-f", targetFramework) 371new DotnetPublishCommand(Log) 568new DotnetPublishCommand(Log)
Microsoft.NET.Pack.Tests (1)
GivenThatWeWantToPackAHelloWorldProject.cs (1)
170var publishCommand = new DotnetPublishCommand(Log, helloWorldAsset.TestRoot);
Microsoft.NET.Publish.Tests (19)
GivenThatWeWantToPublishAHelloWorldProject.cs (10)
437new DotnetPublishCommand(Log, helloWorldAsset.TestRoot) 460new DotnetPublishCommand(Log, helloWorldAsset.TestRoot) 517new DotnetPublishCommand(Log) 539var publishCommand = new DotnetPublishCommand(Log, helloWorldAsset.TestRoot); 561new DotnetPublishCommand(Log, helloWorldAsset.TestRoot) 592new DotnetPublishCommand(Log, helloWorldAsset.TestRoot) 619new DotnetPublishCommand(Log, $"-p:DebugSymbols={debugSymbols}") 644new DotnetPublishCommand(Log) 687var publishCommand = new DotnetPublishCommand(Log, helloWorldAsset.Path); 1096var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
GivenThatWeWantToPublishAnAotApp.cs (1)
942var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
GivenThatWeWantToTestAMultitargetedSolutionWithPublishReleaseOrPackRelease.cs (3)
252var dotnetCommand = new DotnetPublishCommand(Log); 318new DotnetPublishCommand(Log) 334new DotnetPublishCommand(Log)
RuntimeIdentifiersTests.cs (5)
215var publishCommand = new DotnetPublishCommand(Log); 246var publishCommand = new DotnetPublishCommand(Log); 283var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 329var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 379var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (2)
WasmPublishIntegrationTest.cs (2)
1243var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted")); 1268var publishCommand = new DotnetPublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted"));