Skip to content

Projects using .Net 9 don't seem to work with this tool. #380

Open
@jswwt

Description

@jswwt

Trying to run any script from the root of my repo gives me the following error, which I assume is because the tool needs .Net 8 to run and I only have .Net 9 available since that's what my main and test projects target. Is there a way around this issue?

You must install or update .NET to run this application.

App: /Users/[username]/.nuget/packages/run-script/0.6.0/tools/net8.0/any/run-script.dll
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (arm64)
.NET location: /usr/local/share/dotnet/

The following frameworks were found:
  9.0.3 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  9.0.5 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=arm64&rid=osx-arm64&os=osx.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions