-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Library workflow build errors , install instructions (Windows) #35001
Comments
Tagging subscribers to this area: @ViktorHofer |
Please install a matching sdk, ie the latest nightly from https://github.com/dotnet/installer. |
@ViktorHofer thank you for the suggestion. Unfortunately, running the test from a solution still seems to fail, with the same error
What I did I then followed the Libraries workflow Quickstart again. Specifically the final step (building the tests) of this workflow previously failed, but now succeeds so there's some progress. New System config
And the global.json contents as part of my checkout (with modified versions) looks like this;
Any idea why the SDK is not picked up? assuming I downloaded the right installer. I feel like I'm very close so any help is again much appreciated. |
Hello @ixje, sorry for the late response. Two observations:
|
@ViktorHofer no worries, I'm happy to get a follow up at all 👍
Unfortunately the same old error still exists
Some observations/sanity checking questions
outside
inside
|
Sorry if I missed it, but what's your VS version? You need at least VS 16.6 preview2 which contains the net5.0 tfm change. Submitted a PR to make this clear: #35114. |
This looks like you aren't opening VS with the |
@ixje thanks for fighting through this :) As you just unraveled the right workflow, would you mind submitting a PR and helping us improve the described workflow? |
@ViktorHofer Yes sure.
to add the following flags:
|
@ixje sorry for not getting back to you earlier. What's the current status on this, are you still blocked? |
Tagging subscribers to this area: @safern, @ViktorHofer |
@ViktorHofer no problem, I'm no longer blocked. Thanks for checking back in. |
Let me start by stating my end goal is to be able to debug the test of System.Runtime.Numerics.
I'm attempting to follow the library building workflow from a fresh clone
I fixed this by manually setting the OS and others
This builds as expected. So far so good.
it does not seem to know about the new runtime? I decided to continue on the cli with the suggested instructions
this is ok. But the next instruction fails
errors with, confirming the previous hunch when using the Visual Studio IDE
What is the proper way of installing the just build runtime?
My naïve way of installing was copying the contents of
D:\dotnet_code\runtime\.dotnet
into\Program Files\dotnet
.It seems to have some effect
but while it resolved the above error, trying the previous workflow command still does not work.
My Final attempt is going back to loading the solution directly. Trying to debug a test case (e.g. op_leftshift.cs) basically gives me the same errors as above with one additional hint
My questions in summary
Any tips/hints/solutions are appreciated.
The text was updated successfully, but these errors were encountered: