1 instantiation of PublishCommand
dotnet (1)
Commands\Publish\PublishCommand.cs (1)
55
(msbuildArgs, msbuildPath) => new
PublishCommand
(
16 references to PublishCommand
dotnet (1)
Commands\Publish\PublishCommandParser.cs (1)
98
command.SetAction(
PublishCommand
.Run);
dotnet.Tests (15)
CommandTests\MSBuild\GivenDotnetPublishInvocation.cs (13)
4
using PublishCommand = Microsoft.DotNet.Cli.Commands.Publish.
PublishCommand
;
52
var
command = (
PublishCommand
)
PublishCommand
.FromArgs(args, msbuildPath);
69
var
command = (
PublishCommand
)
PublishCommand
.FromArgs(args, msbuildPath);
94
var
command = (
PublishCommand
)
PublishCommand
.FromArgs(new[] { "--no-build" }, msbuildPath);
109
var
command = (
PublishCommand
)
PublishCommand
.FromArgs(new[] { "/p:Prop1=prop1", "/p:Prop2=prop2" }, msbuildPath);
CommandTests\MSBuild\MSBuildArgumentCommandLineParserTests.cs (2)
11
using PublishCommand = Microsoft.DotNet.Cli.Commands.Publish.
PublishCommand
;
37
(RestoringCommand)
PublishCommand
.FromArgs(arguments);