How can I embed application manifest with my F# application? With C# projects it can be specified in projects properties but I haven't found any similar in F# project.
With VS 2015 and F# 4 (I haven't tested earlier versions, but it probably also works in them) both the compiler and the MSBuild files directly support embedding a manifest in an exe, the option is just not surfaced on the GUI.
You can just add the manifest as a normal file and add the following to your project file:
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
This adds the following parameter to the call to the compiler: --win32manifest:app.manifest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With