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

Notification

Icon
Error

Not seeing .net sdk versions below V9
gnewtzie
#1 Posted : Thursday, February 19, 2026 7:04:17 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/10/2018(UTC)
Posts: 2
Location: United States of America

The trace output for the process is as follows:
You must install or update .NET to run this application.

App: D:\Temp\10684\39\BH.Business.Common.Test\bin\Debug\net8.0\nCrunch.TaskRunner.DotNetCore.20.x64.dll
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '8.0.24' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.36 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
7.0.20 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
8.0.23 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
9.0.12 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
10.0.3 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]

I have v8 installed and need my tests to use that version as we have also specified a global.json file in the solution directory as the following:

{
"sdk": {
"version": "8.0.*",
"rollForward": "latestPatch"
}
}


I've also tried all the versions that do show up in the Build SDK dropdown included VS 2022 and VS2026 but none cause it to compile with the V8 sdk.
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.018 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download