Closed onionhammer closed 11 months ago
If this is new to .NET 8 and still works with an older SDK, did you open an issue with the .NET team?
This looks like dotnet watch
is broken in .NET 8 SDK.
Compare the .NET 6 SDK:
To the .NET 8 SDK:
Clearly the latter is just trying to run the DLL rather than run the test command, which is why it's immediately exiting with failure.
Someone has already reported this at https://github.com/dotnet/sdk/issues/34949 so closing this issue.
@bradwilson you may want to keep something open as a known tracking issue so others don't report it, it's an issue with a dependency on an external team to fix
Prior to installing .net 8 SDK, I was able to run
dotnet watch test --filter ...
and I would see updated test results whenever I updated a file, now I have to re-rundotnet test
, anddotnet watch test
just returnscsproj: