Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All tests run from test runner fail due to assembly resolve error. #1

Open
General-Fault opened this issue Jan 6, 2016 · 2 comments
Assignees

Comments

@General-Fault
Copy link
Owner

The test fails with the output: "The active Test Run was aborted because the execution process exited unexpectedly. To investigate further, enable local crash dumps either at the machine level or for process te.processhost.managed.exe. Go to more details: http://go.microsoft.com/fwlink/?linkid=232477"

The fusion logs show errors loading the test assembly, but all attempts are from the test runner directory and the GAC. It should be looking for the assembly in the test project output directory.

@General-Fault
Copy link
Owner Author

Found this on NUnits Issue list: "NUnit agent cannot resolve test dependency assemblies when mixed mode initialization runs in the default AppDomain"
nunit/nunit#681

Also see: http://stackoverflow.com/questions/17993010/dlls-loaded-from-wrong-appplicationbase-when-trying-to-load-mixed-c-sharp-and-c/18499944#18499944

Looks like there is a fix in the works. In the mean time, try using the console runner or GUI runners with DomainUsage="Single" set.

@General-Fault
Copy link
Owner Author

Running the tests in a console runner with the option -domain=None works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant