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)
98command.SetAction(PublishCommand.Run);
dotnet.Tests (15)
CommandTests\MSBuild\GivenDotnetPublishInvocation.cs (13)
4using PublishCommand = Microsoft.DotNet.Cli.Commands.Publish.PublishCommand; 52var command = (PublishCommand)PublishCommand.FromArgs(args, msbuildPath); 69var command = (PublishCommand)PublishCommand.FromArgs(args, msbuildPath); 94var command = (PublishCommand)PublishCommand.FromArgs(new[] { "--no-build" }, msbuildPath); 109var command = (PublishCommand)PublishCommand.FromArgs(new[] { "/p:Prop1=prop1", "/p:Prop2=prop2" }, msbuildPath);
CommandTests\MSBuild\MSBuildArgumentCommandLineParserTests.cs (2)
11using PublishCommand = Microsoft.DotNet.Cli.Commands.Publish.PublishCommand; 37(RestoringCommand)PublishCommand.FromArgs(arguments);