csharpfritz / csharpfritz/TestAccountability
Stupid Visual Studio legacy
Open
- Dominant language
- C#
- Stars
- 7
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I believe the reason your .NET 9 build task was failing to load System.Runtime 9.0.0 is because VS runs builds under .NET Framework and so the load context is wrong.
If you run dotnet build at the command prompt, you get a .NET 9 context for the build and assembly loading works.
You can prevent errors during build in VS by putting a condition on the target to only run under .Net "Core"
```xml
```
[My Sample](https://github.com/SQL-MisterMagoo/Dotnet9BuildTaskSample)
I actually think building it as a separate tool is probably more useful though 🙂
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.