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?
Remco NCrunch Developer
#17034
26 Feb 2024 22:54 UTC
Hi,
This looks to be the same issue: https://forum.ncrunch.net/yaf_postsm17033_version-1-17-0-of-Microsoft-Azure-Functions-Worker-Sdk-makes-ncrunch-look-for--net6.aspx#post17033
This looks to be the same issue: https://forum.ncrunch.net/yaf_postsm17033_version-1-17-0-of-Microsoft-Azure-Functions-Worker-Sdk-makes-ncrunch-look-for--net6.aspx#post17033
Deleted post
#17565
25 Aug 2024 03:17 UTC
Deleted post
#17758
22 Nov 2024 06:03 UTC
Post a reply
Log in to reply.