Open njlr opened 1 year ago
I am trying to publish an fsharp_binary as a single file, equivalent to:
fsharp_binary
dotnet publish -c Release --runtime linux-x64 --self-contained -p:PublishSingleFile=true
Is this possible? It appears that this is a TODO? https://github.com/bazelbuild/rules_dotnet/blob/master/dotnet/private/rules/publish_binary/publish_binary.bzl#L83-L89
If so, I guess we can use this issue for tracking.
This is not possible at the moment. I might look into this once .Net 8 comes around and ahead-of-time compilation is more stable than it's now. But open to contributions if anybody is willing to take a look at this.
I am trying to publish an
fsharp_binary
as a single file, equivalent to:Is this possible? It appears that this is a TODO? https://github.com/bazelbuild/rules_dotnet/blob/master/dotnet/private/rules/publish_binary/publish_binary.bzl#L83-L89
If so, I guess we can use this issue for tracking.