We have a very large c# application that consists of many solutions and projects that are segmented into five areas. Each area gets built on it's own and all are put into a specific output folder. The entire set of artifacts are needed in the output for the UI project to build and run. NCrunch does not see anything but the current solution, so the build fails. Is there some way I can configure NCrunch to build to a specific folder or look to a specific folder for all the needed DLL files?
Remco NCrunch Developer
#15763
30 Oct 2021 00:04 UTC
Hi, thanks for posting.
One way I could think of solving this is to introduce an assembly reference to each of the required DLLs from the test projects being used by NCrunch that need to have them in the working directory. If you turn on the 'Copy referenced assemblies to workspace' setting for these test projects (and probably for the other projects too), NCrunch should make sure the DLLs are sitting in the runtime directory of each test project, allowing the assemblies to resolve at runtime.
One way I could think of solving this is to introduce an assembly reference to each of the required DLLs from the test projects being used by NCrunch that need to have them in the working directory. If you turn on the 'Copy referenced assemblies to workspace' setting for these test projects (and probably for the other projects too), NCrunch should make sure the DLLs are sitting in the runtime directory of each test project, allowing the assemblies to resolve at runtime.
Post a reply
Log in to reply.