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
{{ message }}
Repository navigation
Scope SDK-generated MSBuild paths to the current invocation #55772
dotnet sets MSBuildExtensionsPath and MSBuildSDKsPath for its selected SDK. Descendant dotnet commands inherit those values even when they select a different SDK, which can mix SDK components and fail while loading tasks.
SDK-generated paths should be scoped to the immediate MSBuild invocation, not exposed as ambient state to unrelated child processes. Explicit user overrides must remain supported.
The top-level CLI should decide the effective values and map them to MSBuild through CLI-owned startup state/properties; nested dotnet commands should compute paths for their own selected SDK.
Activity
OvesN commentedon Aug 13, 2026
Filed in the wrong repository. Continuing in dotnet/msbuild#14701.