42 references to PublishCommand
dotnet.Tests (2)
CommandTests\Test\GivenDotnetTestBuildsAndRunsArtifactPostProcessing.cs (2)
58new PublishCommand(Log, Path.Combine(testInstance.Path, "sln.sln")).Execute("/p:Configuration=Release").Should().Pass(); 87new PublishCommand(Log, Path.Combine(testInstance.Path, "sln.sln")).Execute("/p:Configuration=Release").Should().Pass();
Microsoft.NET.Publish.Tests (29)
GivenThatWeWantToPreserveCompilationContext.cs (1)
195var publishCommand = new PublishCommand(Log, appProjectDirectory);
GivenThatWeWantToPublishACppCliAppProject.cs (1)
21new PublishCommand(Log, Path.Combine(testAsset.TestRoot, "NETCoreCppCliTest.sln"))
GivenThatWeWantToPublishACppCliProject.cs (2)
21new PublishCommand(Log, Path.Combine(testAsset.TestRoot, "CSConsoleApp")) 49new PublishCommand(Log, Path.Combine(testAsset.TestRoot, "NETCoreCppCliTest"))
GivenThatWeWantToPublishAnAotApp.cs (9)
47var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 464var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 488var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 512var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 535var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 565var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 599var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 699var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 896var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
GivenThatWeWantToPublishAProjectWithAllFeatures.cs (1)
207return new PublishCommand(Log, appProjectDirectory);
GivenThatWeWantToPublishAProjectWithDependencies.cs (2)
95PublishCommand publishCommand = new(Log, appProjectDirectory); 250var libPublishCommand = new PublishCommand(Log, Path.Combine(libAsset.TestRoot, "NetStdLib"));
GivenThatWeWantToPublishASingleFileApp.cs (3)
636var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 656var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 672var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
GivenThatWeWantToPublishIncrementally.cs (2)
197new PublishCommand(Log, Path.Combine(testDir.Path, assetName)) 208new PublishCommand(Log, Path.Combine(testDir.Path, assetName))
GivenThatWeWantToPublishReadyToRun.cs (1)
258var publishCommand = new PublishCommand(Log, Path.Combine(testProjectInstance.Path, testProject.Name));
GivenThatWeWantToPublishTrimmedWindowsFormsAndWPFApps.cs (2)
147var publishCommand = new PublishCommand(Log, testDir.Path); 219var publishCommand = new PublishCommand(Log, testDir.Path);
GivenThatWeWantToRunILLink.cs (4)
890var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 988var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 1008var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name)); 1025var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));
PublishWpfApp.cs (1)
47var publishCommand = new PublishCommand(Log, testDir.Path);
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (5)
WasmBuildLazyLoadTest.cs (1)
261var publishCommand = new PublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorwasm"));
WasmCompressionTests.cs (4)
50publishCommand = new PublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted")); 99publishCommand = new PublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted")); 116var publishCommand = new PublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted")); 148var publishCommand = new PublishCommand(Log, Path.Combine(testInstance.TestRoot, "blazorhosted"));
Microsoft.NET.Sdk.Razor.Tests (5)
MvcBuildIntegrationTest21NetFx.cs (2)
66var publish = new PublishCommand(Log, project.TestRoot); 87var publish = new PublishCommand(Log, project.TestRoot);
MvcBuildIntegrationTestLegacy.cs (2)
72var publish = new PublishCommand(Log, project.TestRoot); 94var publish = new PublishCommand(Log, project.TestRoot);
PublishIntegrationTest.cs (1)
51var publish = new PublishCommand(Log, projectDirectory.TestRoot);
Microsoft.NET.Sdk.Web.Tests (1)
PublishTests.cs (1)
91var publishCommand = new PublishCommand(Log, Path.Combine(testAsset.TestRoot, testProject.Name));