Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Using specific Output folder
craigber
#1 Posted : Friday, October 29, 2021 7:54:27 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/22/2016(UTC)
Posts: 4
Location: United States of America

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
#2 Posted : Saturday, October 30, 2021 12:04:40 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download