chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
After installing 6.0, every time I recompile the assembly in VS and NUnit reloads it, it throws: "An unhandled System.AppDomainUnloadException was thrown while executing this test : Attempted to access an unloaded AppDomain".

It works "fine" with 5.4, as long as I have NUnit configured to "Run tests in a single separate process"; otherwise, it also freezes.
This might be related to a bug I reported some time ago ( ... =5753#5753). If I only execute the test on the BL (no data access) 6.0 works fine. As soon as I execute database access tests, NUnit cannot reload the assembly (automatically or manually).

The original reported but stills present on 6.0. The tests fail in full 64bit mode.

I had to switch back to 5.4.

Anyone else having these issues?

asked by teom (2.3k points)

1 Answer

0 votes
I'd like to further investigate this issue - let's take it offline
answered by dhelper (11.9k points)