fflat icon indicating copy to clipboard operation
fflat copied to clipboard

fflat with bflat

Open ShalokShalom opened this issue 5 months ago • 1 comments

Can fflat be used combined with bflat?

When I want to combine a codebase that uses C# dependencies, as example.

Thanks

ShalokShalom avatar Jul 24 '25 20:07 ShalokShalom

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"

ieviev avatar Jul 25 '25 02:07 ieviev