Nested dotnet build fails to load NuGet task with .NET SDK 10.0.400
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Description
After updating to .NET SDK 10.0.400, complog tests fail when a test fixture launches a nested `dotnet build`.
```text
/usr/share/dotnet/sdk/10.0.400/NuGet.targets(458,5): error MSB4062:
The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from
/usr/share/dotnet/sdk/10.0.400/NuGet.Build.Tasks.dll.
Could not load type 'Microsoft.Build.Framework.IMultiThreadableTask' from assembly
'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.
```
### Reproduction
Failure log:
- https://github.com/jaredpar/complog/actions/runs/31601500191/job/94129782284?pr=375
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.