NUnit always running in .NET framework 3.5
Our NUnit tests are built for .NET Framework 4.6.1. However, on
Appvyor NUnit always reports:
Runtime Environment -
OS Version: Microsoft Windows NT 6.2.9200.0
CLR Version: 2.0.50727.8009 ( Net 3.5 )
ProcessModel: Default DomainUsage: Multiple
Execution Runtime: net-3.5
How can I get NUnit to run in different .NET frameworks - including 4.6.1. If I was running on the command line, I could add the /framework:net-4.5 switch for .NET 4.5, for example. How would this be achieved in Appveyor?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 15 Mar, 2016 02:48 PM
Hi David,
You could change automatic test assemblies discovery mode to "script" and provide your own NUnit runner commands.
-Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:04 AM.