Skip to content

Commit

Permalink
Update Rule “the-right-version-and-config-for-nunit/rule”
Browse files Browse the repository at this point in the history
  • Loading branch information
BrookJeynes committed Nov 6, 2023
1 parent c2960cd commit f8f9d72
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions rules/the-right-version-and-config-for-nunit/rule.md
Original file line number Diff line number Diff line change
@@ -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.

<!--endintro-->

* 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
...
<startup>
<supportedRuntime version="v2.0.50727" />
Expand All @@ -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);

0 comments on commit f8f9d72

Please sign in to comment.