Runtime: ./build.sh -? is not helpful

Created on 31 Jan 2017  路  16Comments  路  Source: dotnet/runtime

./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)
area-Infrastructure-libraries bug

Most helpful comment

@willdean you're not a nobody :) and you're quite right.

All 16 comments

This is a dup of dotnet/runtime#20050 - it's already fixed.

We just need to propagate the buildtools into CoreFX. @danmosemsft @weshaggard @mellinoe are you tracking the update?

@danmosemsft @weshaggard @mellinoe are you tracking the update?

No. BuildTools updates are done on demand by the person that wants to get a fix they made in BuildTools into corefx.

Should we kick off one now that we have fix to '-?', or do you want to wait for more value before we update?

I have not concerns with someone submitting an update.

The key question is: Is the value (of not NullRef and potentially show more content) significant enough to warrant doing it just for this issue?

I'd say it probably is enough value. I don't know when we last updated BuildTools but I like keeping corefx updated as much as possible.

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.

@safern could you please create a PR today to update build tools?

@danmosemsft yes will do so!

@willdean you're not a nobody :) and you're quite right.

@weshaggard Are we ready to pull in a new buildtools, given all of the overrides we are doing here? I'm not sure how many conflicting changes have been made over in the buildtools repo.

In the last week, though? We updated a week ago
https://github.com/dotnet/corefx/commits/master/BuildToolsVersion.txt

In that case, never mind! 馃槃 I thought we had been holding off on updates since the dev/eng stuff went into master. It should be fine as long as nobody's making conflicting changes in buildtools.

Fixed, we just updated the buildtools version on dotnet/corefx#15662

Great, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesqo picture jamesqo  路  182Comments

ghuntley picture ghuntley  路  158Comments

fiigii picture fiigii  路  181Comments

hqueue picture hqueue  路  155Comments

morganbr picture morganbr  路  225Comments