msbuild
msbuild copied to clipboard
Fix bug for logging TaskAssemblyLocationMismatch comment
I think that's because TaskHostTask is always going to be a type loaded from the currently running code--but it wraps a task from some other assembly, which is what we actually care about for this message, right?. Looks like a preexisting bug where we log this for all TaskHostTasks.
Originally posted by @rainersigwald in https://github.com/dotnet/msbuild/pull/11393#discussion_r2116300063