fflat
fflat copied to clipboard
fflat with bflat
Can fflat be used combined with bflat?
When I want to combine a codebase that uses C# dependencies, as example.
Thanks
the easiest option would be to make a build script that compiles the C# code to IL, then reference it from the F# script
you can reference any .NET dll from a script with
#r "csharpproject1.dll"
#r "csharpproject2.dll"
...
and then pass it on something like #load "dependencies.fsx"
a more sophisticated way to do this would be to pack the C# project to a local nuget package and then use #r "nuget:myproject, 1.2.3"