runtime: ./build.sh -? is not helpful
./build.sh -?
There are new changes on how we build. Use this script only for generic
build instructions that apply for both build native and build managed.
Otherwise:
Before Now
build.sh native build-native.sh
build.sh managed build-managed.sh
For more information: https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md
----------------------------------------------------------------------------
Tools are already initialized
Error: Object reference not set to an instance of an object. at Microsoft.DotNet.Execute.Setup.FormatSetting(String option, String value, String type, String toolName)
at Microsoft.DotNet.Execute.Setup.BuildParametersForCommand(Dictionary`2 commandParameters, String toolName)
at Microsoft.DotNet.Execute.Setup.BuildCommand(String commandSelectedByUser, List`1 parametersSelectedByUser, Dictionary`2 parameters)
at Microsoft.DotNet.Execute.Setup.GetHelpCommand(String commandName, String alias)
at Microsoft.Fx.CommandLine.CommandLineParser.GetHelp(Int32 maxLineWidth, String parameterSetName, Boolean displayGlobalQualifiers)
at Microsoft.Fx.CommandLine.CommandLineParser.<>c.<ParseForConsoleApplication>b__0_0(CommandLineParser parser)
at Microsoft.Fx.CommandLine.CommandLineParser.Parse(Action`1 parseBody, Action`1 helpHandler, Action`2 errorHandler, Setup setupContent, String[] args)
at Microsoft.Fx.CommandLine.CommandLineParser.ParseForConsoleApplication(Action`1 parseBody, String[] args, Setup setupContent)
at Microsoft.DotNet.Execute.Executor.DefineParameters(String[] args, Setup setupInformation)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 16 (16 by maintainers)
@willdean you’re not a nobody 😃 and you’re quite right.
@danmosemsft yes will do so!
@safern could you please create a PR today to update build tools?
I’m a nobody, with no valid opinion on this, but I’ll express it anyway: The same bug’s been filed twice in the last 24-ish hours, and new users of the build system fall over it straight away, because they’re told to run
build -?
(“Our dev workflow has changed! Use -? for help in the new options we have and how to pass parameters now.”) and that promptly crashes.If nothing else, it’s a dismal first impression, though I’m sure the effect of the bug is absolutely zero to people who are already working on the project.
This is a dup of dotnet/runtime#20050 - it’s already fixed.