I have upgraded some of our regular solutions from net7 to net8 with success but now as I tried to upgrade one of our Azure Function project I ran into trouble. As NCrunch tries to build my solution it fails with the exception;
..\..\..\..\Program Files\dotnet\sdk\8.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets (266, 5): Assets file 'C:\Projects\NCrunch\Workspace\12996\4\Projects\****\obj\project.assets.json' doesn't have a target for 'net6.0'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project.
It is looking for target net6.0 but it is no net6.0-projects any more, and not earlier either as we have been using net7 until now when I try to upgrade it to net8.
Any ideas how to solve this?