dotnet-script icon indicating copy to clipboard operation
dotnet-script copied to clipboard

Weird problem under Windows Sandbox

Open kasajian opened this issue 3 years ago • 0 comments

I tried running this in a clean VM, and ran into some weird problems.

Based on this Web article, I am assuming the latest version supports .NET 6: https://www.strathweb.com/2021/11/dotnet-script-1-3-is-out-with-net-6-0-support/#more-6740

Looks like it's looking for .NET 3.1. That's also what the front of the github page says. I installed via chocolatey as directed.

Then I thought, maybe I'll go to the release folder specifically as indicated in the blog post, and ran the dotnet-script directly from the unzipped folder, and I get the same thing:

It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '3.1.0' (x64) was not found.

  • The following frameworks were found: 6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

kasajian avatar Jun 02 '22 03:06 kasajian