Skip to content

Suppress dotnet sdk not found error#1590

Open
matt-richardson wants to merge 2 commits intonuke-build:developfrom
matt-richardson:suppress-msbuild-error
Open

Suppress dotnet sdk not found error#1590
matt-richardson wants to merge 2 commits intonuke-build:developfrom
matt-richardson:suppress-msbuild-error

Conversation

@matt-richardson
Copy link
Contributor

My internal teams are getting frustrated seeing this big warning showing up on every build:

image

Digging into it, it seems that the Microsoft.Build.Locator library was emitting that error straight to stderr.

It appears to be fixed by microsoft/MSBuildLocator#341, which was fixed in v1.10.2 of the library

This PR:

  • Updates Microsoft.Build.Locator from 1.7.8 to 1.11.2 (the latest)
  • Suppresses the MSBL001 error (as (AFAIK) the way we're using MSBuildLocator here isn't impacted by the situation described)
  • Downgrades the Attempting second-chance registration... warning message to Debug.

I confirm that the pull-request:

  • Follows the contribution guidelines
  • Is based on my own work
  • Is in compliance with my employer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments