-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet-host-build compilation throwing NullReferenceException #2588
Comments
Note: I am using a fork of core-setup because I am integrating it into a (closed-source) script that builds all of .NET Core from source. Some patches were already required to make core-setup interact correctly with this script, and those patches would not be acceptable pushed to upstream. (However, if a patch is suitable to merged with upstream, such as the one in dotnet/core-setup#1458, I will readily open a PR.) |
@jyoungyun Can you please take a look at this as you helped add the support for this switch? CC @hqueue |
@gkhanna79 This happens whether or not the |
@gkhanna79 I think this issue is not related to |
In that case, I have noticed that it happens if you have not done a clean build. If you do "git clean -xdf" and then reattempt the build, you should not see it. |
@wjk I also sometimes faced the same exception and use |
Yep, |
Steps to reproduce
build_projects/dotnet-host-build/build.sh --build-driver-only
.Expected behavior
dotnet-host-build
should compile.Actual behavior
When
dotnet-host-build
is compiled,dotnet compile-csc
fails with no output other than "Object reference not set to an instance of an object."Environment data
This is the output from the copy of
dotnet
downloaded by the core-setup build script, and not the one I use for all other tasks. This old copy is being used mostly because it still supportsproject.json
, whichdotnet-host-build
uses.The text was updated successfully, but these errors were encountered: