From f8f9d726c1dcab3a45224d42739eaac181ae8b93 Mon Sep 17 00:00:00 2001 From: "Brook Jeynes [SSW]" Date: Tue, 7 Nov 2023 08:50:42 +1000 Subject: [PATCH] =?UTF-8?q?Update=20Rule=20=E2=80=9Cthe-right-version-and-?= =?UTF-8?q?config-for-nunit/rule=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rule.md | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/rules/the-right-version-and-config-for-nunit/rule.md b/rules/the-right-version-and-config-for-nunit/rule.md index eec7fae4e14..4ac9dc89a59 100644 --- a/rules/the-right-version-and-config-for-nunit/rule.md +++ b/rules/the-right-version-and-config-for-nunit/rule.md @@ -1,30 +1,28 @@ --- type: rule -archivedreason: This applies to .Net Framework 1 and 2 title: Do you know the right version and config for nUnit? -guid: 3c39ccb8-123f-461c-9023-e08ca4e27e29 uri: the-right-version-and-config-for-nunit -created: 2020-03-12T23:01:15.0000000Z authors: -- title: Adam Cogan - url: https://ssw.com.au/people/adam-cogan + - title: Adam Cogan + url: https://ssw.com.au/people/adam-cogan related: [] redirects: -- do-you-know-the-right-version-and-config-for-nunit - + - do-you-know-the-right-version-and-config-for-nunit +created: 2020-03-12T23:01:15.000Z +archivedreason: This applies to .Net Framework 1 and 2 +guid: 3c39ccb8-123f-461c-9023-e08ca4e27e29 --- There are multiple versions of NUnit and .NET Framework, the following will explain how to use them correctly. - * if your application was built with .NET Framework 1.1, NUnit 2.2.0 which was built with .NET Framework 1.1 is the best choice if you compact it into the installation package, You then don't need any additional config - it will auto use .NET Framework 1.1 to reflect your assembly; - * If there is only .NET Framework 2.0 on the client-side, how to make it works? +* if your application was built with .NET Framework 1.1, NUnit 2.2.0 which was built with .NET Framework 1.1 is the best choice if you compact it into the installation package, You then don't need any additional config - it will auto use .NET Framework 1.1 to reflect your assembly; +* If there is only .NET Framework 2.0 on the client-side, how to make it works? Just add the  **yellow**  into nunit-gui.exe.config (it is under the same folder as nunit-gui.exe), which will tell NUnit to reflect your assembly with .NET Framework 2.0; - -``` +```xml ... @@ -36,8 +34,8 @@ Just add the  **yellow**  into nunit-gui.exe.config (it is under the same fold ``` - * if your application was built with .NET Framework 2.0, then you may get choices: - * NUnit 2.2.7 or higher (built with .NET framework 2.0) (recommended) +* if your application was built with .NET Framework 2.0, then you may get choices: +* NUnit 2.2.7 or higher (built with .NET framework 2.0) (recommended) Then you don't need any extra configuration for NUnit, just follow the default; * NUnit 2.2.0 or lower (built with .NET Framework 1.1) Then you need to add the yellow statement (see above in this section);