nunit-console
nunit-console copied to clipboard
Crashes when NUnit3TestAdapter is present
Nunit.COnsole 3.13 Adapter 4.1 NUnit 3.13.2 netcoreapp3.1
Repro : https://github.com/nunit/nunit3-vs-adapter.issues/tree/master/Issue912
Command: nunit3-console Issue912.dll
Result:

The adapter has embedded engine DLLs, but the same error happens if these are deleted from the output folder.
@OsirisTerje It's not clear from the repo project how the console runner gets into your netcoreapp3.1 directory. How is it installed?
@CharliePoole It is globally installed, it is not in the same directory
But you're typing nunit3-console Issue912.dll in that directory. So I was wondering if you used the chocolatey package, the msi, or what? AFAIR only chocolatey sets up an alias.
The MSI was used to install it
OK... I'll install the same way and check it out.
I first installed using chocolatey (because it's so much easier) and was able to run without error.
I next uninstalled the chocolatey package and installed the msi. I added the directory containing nunit-console to my path. Got the same error as you.
So, the error is in the msi packaging. I'll investigate further, but consider using the chocolatey install as a workaround. It has the advantages that (1) you don't need to mess with your path and (2) you can add and remove extensions independently.
BTW I like your idea of having a separate repo for bug repros. I think I'll do the same.
@OsirisTerje ~~You could also try deleting addins from your install, if you are not using them.~~ DIDN'T WORK!
Verified that the problem still exists in 3.15.