msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

BuildCheck UX: properly pass location information to EventArgs

Open JanKrivanek opened this issue 1 year ago • 0 comments

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.

JanKrivanek avatar Aug 16 '24 10:08 JanKrivanek