pythonnet / pythonnet/clr-loader

RuntimeInfo.version '<undefined>'

Open
#44 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
42
Forks
32
Avg merge
14h 1m
Merged PRs (30d)
1

Description

Environment
  • Pythonnet version: 3.0.1
  • Python version: 3.7.1
  • Operating System: Windows 10
  • .NET Runtime: .NET Framework 4.8 is latest version installed.
Details
  • Describe what you were trying to get done.
    Determine the .NET Framework runtime version pythonnet is using.
import pythonnet
import clr
pythonnet.get_runtime_info()
# Prints the following: 
# RuntimeInfo(kind='.NET Framework', version='<undefined>', initialized=True, shutdown=False)

Why does this show '<undefined>' as the RuntimeInfo version? Is this a bug?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pythonnet.get_runtime_info() and the RuntimeInfo value shown in the report, then trace how the .NET Framework runtime version is obtained. Confirm the behavior on the stated Windows and .NET Framework environment; done means the reported version is populated instead of ''.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.