Open
Description
Is your feature request related to a problem? Please describe.
The SDK Resolver resolves an SDK according to any global.json rules that the .NET Host finds, and the Host reports back information like the path to the global.json, the version requested by the global.json, etc.
We should ensure that the SDK resolver logs this information via MSBuild properties to aid debugging - internal MSBuild users have been stumped by why a particular SDK was chosen when global.jsons far above the project root were at fault.
Describe the solution you'd like
We should log properties (or a single item with metadata) that provide the following data from the SDK Resolver:
- the path of any resolved global.json file
- the version requested in the global.json
This would make it easier for people debugging a build to determine if a global.json is impacting the build unexpectedly.