-
Notifications
You must be signed in to change notification settings - Fork 352
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
Updating SDK version causes dotnet-install failure for aspnetcore repo #10311
Comments
@MichaelSimons , you have tagged @dotnet/source-build-internal in PR, link. Do you know if someone looked at the problem? |
No I don't think anyone from source-build has taken a look. I just took a peak at the error message and at first glance it doesn't appear source-build specific. |
it is failing on SourceBuild.props(60, 5) and there is nothing interesting in msbuild bin logs. what steps could we perform? |
Earlier in the build output there is this -
|
EDIT: It looks to be a bug in the task as per following comments |
For whoever picks this up in FR, we should investigate why the arcade/src/Microsoft.DotNet.Arcade.Sdk/src/InstallDotNetCore.cs Lines 144 to 147 in be70926
|
@MattGal is looking at this and found:
|
@rainersigwald and I are going to look at this today... it should be possible to non-destructively load a "duplicate" project with different APIs, it's just hard to try out changes inside linux docker. |
Is the aspnetcore-components-e2e build also running in docker? Perhaps that's an easier repro to iterate on? |
Yup I'll try that too, I'm just in a meeting. |
I think https://github.com/dotnet/arcade/pull/10318/files will do it, I just made a mistake while testing and logged a warning, which due to the nature of source build is very hard to suppress. I'll try the other build Ricardo's recommending. |
#10318 didn't help, I am back on this. |
I spent a bunch of time on this today and made minimal good progress. I ended up filing dotnet/msbuild#7870, as I am fairly confident at this point that this is a regression in MSBuild functionality included in the .NET Core SDK and I have a fairly self-contained repro. |
After isolating this to msbuild and filing a bug, it turns out to be dotnet/sdk#26965, which is fixed by dotnet/msbuild#7860. I verified this using the DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER suggested by the MSBuild team. Adding |
As it's now clear this is an MSBuild bug in this SDK (and thus not one users want to adopt) I am closing this issue. |
@rainersigwald do you have a commit we should be hunting for in https://maestro-prod.westus2.cloudapp.azure.com/2237/https:%2F%2Fgithub.com%2Fdotnet%2Fsdk/latest/graph to avoid needing the SDK is currently pulling in a |
Based off my experiments, depending on whether or not you also do the behavior that triggers the bug, taking an arcade update featuring the change in #10629 may fully remove the need to make this change (and is included in the 7.0 release branch of arcade) |
Upgrade from 7.0.100-rc.1.22375.2 to 7.0.100-rc.1.22403.8
original PR
link to MS Teams discussion
2 pipelines are failing: source-build & aspnetcore-components-e2e and other green.
The text was updated successfully, but these errors were encountered: