Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird problem under Windows Sandbox #675

Closed
kasajian opened this issue Jun 2, 2022 · 1 comment
Closed

Weird problem under Windows Sandbox #675

kasajian opened this issue Jun 2, 2022 · 1 comment

Comments

@kasajian
Copy link

kasajian commented Jun 2, 2022

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.

@seesharper
Copy link
Collaborator

For Chocolatey we don't have the possibility to ship for multiple frameworks as we do in the global tool package.
The recommended way of installing dotnet-script is dotnet tool install -g dotnet-script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants