The project I am currently working on needs to dynamically generate classes using ClassBuilder. I have gotten this project to work through nunit as it is able to see the dll that the dynamic class needs joined, I have also gotten this project to work through a webservice by grabbing the working directory (var path = AppDomain.CurrentDomain.BaseDirectory;).
As NCrunch is very new, I am unable to find any resources on how to gather up the dll's needed in one spot so that the dynamically built class can see them.
I assumed that "Add additional files" in the settings menu would work, but this is to no avail.
Could anyone give me any direction as to how to get my project working with ncrunch?
Thank you,
Samuel Davis
Remco NCrunch Developer
#3382
09 Dec 2012 20:26 UTC
Hi Samuel -
You have a few options for how you can do this. There's an example in the documentation that describes how to use reflection to find assemblies in the NCrunch test environment. You can also use the Copy referenced assemblies to workspace configuration option, but note that this will slow your build times considerably.
I hope this helps!
Cheers,
Remco
You have a few options for how you can do this. There's an example in the documentation that describes how to use reflection to find assemblies in the NCrunch test environment. You can also use the Copy referenced assemblies to workspace configuration option, but note that this will slow your build times considerably.
I hope this helps!
Cheers,
Remco
Post a reply
Log in to reply.