-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for --standalone on .NET Core #3924
Comments
Until dotnet/fsharp#3924 is solved
Until dotnet/fsharp#3924 is solved
@cartermp Can you tell me where is this issue in the roadmap? I'm asking because you said yesterday that all .net core issues are high priority. Does it include this one? |
I'm not even sure what the @KevinRansom what is the scenario here? @gusty To clarify, I said that if it involves .NET Core it's of a higher priority to me. To that end, this should definitely be fixed, but I don't think I understand the scenario. |
@KevinRansom Is it just |
@cartermp In the world of .NET Core it doesn't make much sense because at the moment .NET Core really involve packaging a lot of stuff with the app. Future iterations on .NET Core may be different, but at the moment I don't see it as a necessary or supported part of the toolchain. There's no harm in getting it working, but it's just not going to be commonly used. There are other options for static linking tool, e.g. |
Yeah, it sounds like it's not applicable to .NET Core right now, since there is no currently supported option to produce a single .exe. I think we should relabel this as an enhancement instead of a bug. |
I just hit this bug myself--while it's definitely not something used by many folks, it's fairly useful for the reasons Don mentioned. Another benefit worth mentioning is that with single-.exe publishing, you're able to run monolinker on the .exe, which often dramatically reduces their size due to the ability to prune dead code (just like when linking with static libraries for traditional PE/ELF/etc. toolchains). monolinker will also work with |
Here's another tool that might be useful to others: https://github.com/dgiagio/warp#quickstart-with-net-core |
Compile a project with --standalone on the coreclr and the compiler crashes.
repro:
$(OtherFlags) --standalone
Observe the build failure message:
Expected:
build to succeed.
The text was updated successfully, but these errors were encountered: