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

Recognize .NET Framework versions 4.5 and higher #450

Merged
merged 4 commits into from
Dec 9, 2019
Merged

Conversation

CharliePoole
Copy link
Contributor

Fixes #447

This PR introduces an heuristic to recognize whether an arbitrary version is in the proper form to represent a framework. The version must be of one of two forms:

  • MAJOR.MINOR
  • MAJOR.MINOR.BUILD where BUILD < 3
    Using the registry, it determines what 4.x versions of the .NET Framework are available. They are listed and returned by the IAvalableRuntimesinterface. The GUI is able to display them as available.

This PR does nothing to ensure that the proper flavor of .NET Framework 4.x is actually made available. In particular, this is not tested anywhere. That's a subject for another issue, however.

@CharliePoole CharliePoole requested a review from a team December 8, 2019 17:36
Copy link
Contributor

@immeraufdemhund immeraufdemhund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extremely simple change requested. approved when it's done

src/TestEngine/nunit.engine.core/RuntimeFramework.cs Outdated Show resolved Hide resolved
Co-Authored-By: Robert Snyder <immeraufdemhund@hotmail.com>
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

Successfully merging this pull request may close these issues.

Engine will not recognize .NET Framework versions beyond 4.5
2 participants