Hi,
I have a lot of F# projects, which I am testing from C# (NUnit). NCrunch can't build them since it's not finding the right FSharp.Build.dll (which is in the tools folder of the project). You can see this here: https://github.com/forki/FAKE
Cheers and thanks for your good work,
Steffen
Remco NCrunch Developer
#153
25 May 2011 12:17 UTC
Hi Forki -
Thanks for the post. Your source code will certainly make this an easy issue to figure out. I'll let you know if I can find a workaround. Cheers :)
Thanks for the post. Your source code will certainly make this an easy issue to figure out. I'll let you know if I can find a workaround. Cheers :)
Remco NCrunch Developer
#196
04 Jun 2011 18:05 UTC
Hi Steffen -
My apologies for the time it's taken to get back to you on this one.
I've had a look through this project and concluded the reason behind the build failure is NCrunch's lack of knowledge about the customisations you have for your FSharp build. Basically, NCrunch doesn't know about the FSharp build binaries stored alongside your project, and therefore it doesn't copy them over to the workspace at build time.
To work around this issue, you'll need to make use of the AdditionalFilesToInclude configuration setting for each of your FSharp projects.
After setting the following two values into this configuration option, the entire solution built without trouble:
..\..\..\tools\FSharp\*.dll
..\..\..\tools\FSharp\*.exe
Give it a try and let me know how it goes :)
Cheers,
Remco
My apologies for the time it's taken to get back to you on this one.
I've had a look through this project and concluded the reason behind the build failure is NCrunch's lack of knowledge about the customisations you have for your FSharp build. Basically, NCrunch doesn't know about the FSharp build binaries stored alongside your project, and therefore it doesn't copy them over to the workspace at build time.
To work around this issue, you'll need to make use of the AdditionalFilesToInclude configuration setting for each of your FSharp projects.
After setting the following two values into this configuration option, the entire solution built without trouble:
..\..\..\tools\FSharp\*.dll
..\..\..\tools\FSharp\*.exe
Give it a try and let me know how it goes :)
Cheers,
Remco
Awesome. This works like a charm. Thanks.
Cheers,
Steffen
Cheers,
Steffen
Remco NCrunch Developer
#198
06 Jun 2011 14:42 UTC
Good to hear! :)
Cheers,
Remco
Cheers,
Remco
Post a reply
Log in to reply.