You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a build task targeting net472 deployed to the .NET SDK 10 (and later). When msbuild (.NET Framework) is used to build a .NET SDK project this task is loaded and invokes the .NET Core based compiler.
Today this build task has the same identity as the task deployed in msbuild inside Visual Studio. These tasks have different behaviors but because they have the same identity a <UsingTask> for one could return the other when there is node reuse in play. This means that running msbuild on a .NET SDK project then a .NET Framework one could cause the build to have incorrect behavior because both builds end up with the .NET SDK copy of the task.
To fix this we will need to make sure the task deployed to the .NET SDK has a different identity. Likely will just call this Microsoft.Build.Tasks.CodeAnalysis.Bridge.