As an approach to fix this, the RuntimeFramework class should treat all 2 digit versions as framework versions and 3 digits as CLR versions. Logic will be needed to deduce the CLR version from a framework version and vice versa. Ideally, we should support future runtime versions where the CLR version is specified by the user.
** Changed in: nunitv2 Status: New => Triaged ** Changed in: nunitv2 Importance: Undecided => Critical ** Changed in: nunitv2 Assignee: (unassigned) => Charlie Poole (charlie.poole) ** Changed in: nunitv2 Milestone: None => 2.6.0 -- You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2. https://bugs.launchpad.net/bugs/885277 Title: Exception when project calls for a runtime using only 2 digits Status in NUnit V2 Test Framework: Triaged Bug description: When an nunit test project calls for a different framework from the one currently in use and specifies only 2 digits, an exception is thrown at line 211 of TestAgency.cs. This is due to calling Version.ToString(int) with a value of 3 when only 2 components exist. Example: Running under .NET 4.0 or 2.0 (without 3.5 installed) edit a project to require the 3.5 framework. To manage notifications about this bug go to: https://bugs.launchpad.net/nunitv2/+bug/885277/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp