msbuild
msbuild copied to clipboard
BuildCheck UX: properly pass location information to EventArgs
Context
We do not properly populate base constructor informations for BuildCheckResultError, BuildCheckResultWarning and BuildCheckResultMessage - e.g.:
https://github.com/dotnet/msbuild/blob/f422d8d7dfe0a7115b11b31470215ad6b7723138/src/Framework/BuildCheck/BuildCheckEventArgs.cs#L140-L141
We should expose all needed information via IBuildCheckResult and populate it.
Then we should double check the console logger UX - as the location might then actually be displayed multiple times.