public static Command GetCommand() { var command = new Command("build", LocalizableStrings.AppFullName); command.AddArgument(SlnOrProjectArgument); RestoreCommandParser.AddImplicitRestoreOptions(command, includeRuntimeOption: false, includeNoDependenciesOption: false); command.AddOption(CommonOptions.FrameworkOption(LocalizableStrings.FrameworkOptionDescription)); command.AddOption(CommonOptions.ConfigurationOption(LocalizableStrings.ConfigurationOptionDescription)); command.AddOption(RuntimeOption); command.AddOption(CommonOptions.VersionSuffixOption()); command.AddOption(NoRestoreOption); command.AddOption(CommonOptions.InteractiveMsBuildForwardOption()); command.AddOption(CommonOptions.VerbosityOption()); command.AddOption(CommonOptions.DebugOption()); command.AddOption(OutputOption); command.AddOption(NoIncrementalOption); command.AddOption(NoDependenciesOption); command.AddOption(NoLogoOption); command.AddOption(SelfContainedOption); command.AddOption(NoSelfContainedOption); command.AddOption(CommonOptions.ArchitectureOption()); command.AddOption(CommonOptions.OperatingSystemOption()); return(command); }