If I use
Assembly.LoadFrom("My.Referenced.Project.dll");
in a test, where the test assembly has this project referenced, do I need to explicitly include this dll in assemblies to copy for the NCrunch configuration, or can I somehow get the assembly loaded in a better way?
Remco NCrunch Developer
#3441
19 Dec 2012 20:15 UTC
Hi,
Specifying the references to the DLL using the NCrunch configuration is possible using the 'Copy referenced assemblies to workspace' setting, but this isn't recommended because it will constrain the engine and make it work slower. There's a page in the documentation that describes how you can deal with this kind of situation. Basically, you can use the metadata in the runtime application domain to find the assembly's location in the NCrunch workspace.
Specifying the references to the DLL using the NCrunch configuration is possible using the 'Copy referenced assemblies to workspace' setting, but this isn't recommended because it will constrain the engine and make it work slower. There's a page in the documentation that describes how you can deal with this kind of situation. Basically, you can use the metadata in the runtime application domain to find the assembly's location in the NCrunch workspace.
Post a reply
Log in to reply.