Skip to content

Engine will not recognize .NET Framework versions beyond 4.5 #447

Closed

Description

Recognizing 4.6, 4.7 and 4.8 is easy. However, there's an added problem in recognizing 4.6.1, 4.6.2, etc.

The RuntimeFramework class takes a version in it's constructor. When the version has only two components, it is taken to be the framework version. When it has three or four, that is taken to be a CLR version and a different path is followed.

We could implement a hack, whereby small values in the third component indicate a framework version. I'd prefer to fix it so that the constructor always deals with framework version and we use some static method to construct from CLR version. Alternatively, we could just not allow use of a CLR version, which was introduced back when it was common to have pre-releases with a different CLR.

@mikkelbu @immeraufdemhund @ChrisMaddock Which way do you think I should go? I'll replicate this issue in the nunit-console repo as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

BugSomething isn't working as expected.High PriorityHigh priority issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions