-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build break after VS updates .NET SDK and rebuild without restore #40228
Comments
msbuild10019.binlog |
This is because building with SDK 6.0.420, which has LatestRuntimeFrameworkVersion="6.0.28", whereas on disk we have |
@dsplaisted any thoughts? It seems that the Microsoft.NetCore.App.Ref has updated to 6.0.29 (there are still some leftover empty folders on disk in 6.0.28), the SDK available is 6.0.420. How can it be? |
@joeloff @marcpopMSFT Any thoughts here? It sounds like the ASP.NET targeting pack (and maybe all of the targeting packs) got updated to 6.0.29 (and 6.0.28 was removed), but the .NET SDK was not updated to 6.0.421. I think there are some install logs you can gather that could help @joeloff investigate. |
I'm following up offline |
Regardless of the potential installer bug, this shouldn't crash, but instead emit a nice error:
|
Based on the logs, the previous version of VS installed the 6.0 runtime component, which includes targeting packs. Those got removed as part of updating VS since the new VS version carried the 6.0.29 copies. I see logs for installing 6.0.421, but they all indicate that the install was cancelled and not completed. I don't see any event logs that show that 6.0.420 was installed or removed. Any chance you used the zip files to install 6.0.420 under Program Files? |
unlikely, we may have a script that pulls down the SDK but it would just use the installer I think |
VS updated .NET SDK from 6.0.28 to 6.0.29, and a build (without clean or restore) started failing with:
This is difficult to investigate, I wish we had better diagnostics for this case.
Binlog available upon request.
The text was updated successfully, but these errors were encountered: