Skip to content

Can I set the CoreCLR version? #2464

@Jason5Lee

Description

@Jason5Lee

I'm trying to use pythonnet with .NET 9 RC. When I tried pythonnet.load("coreclr"), the following error message from .NET was shown.

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

App: <python path>
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64)
.NET location: <dotnet path>

The following frameworks were found:
  6.0.33 at [<path>]
  8.0.8 at [<path>]
  9.0.0-rc-1.24431.7 at [<path>]

...

It seems that .NET cannot resolve 9.0.0 with 9.0.0-rc. For my usecase 8.0.8 is OK. Can I make pythonnet to use this version of .NET?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions