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