Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

ncrunch for azure functions using net8
perdahl
#1 Posted : Monday, February 26, 2024 2:28:28 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/15/2017(UTC)
Posts: 3
Location: Sweden

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
#2 Posted : Monday, February 26, 2024 10:54:27 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,984

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download