Henrik K
Henrik K

Reputation: 1061

edit .fsproj file to use --standalone compiler setting

Is it possible to change an .fsproj file (using a text editor) so that the "--standalone" compiler option is used when a build is triggered from visual studio?

Upvotes: 4

Views: 404

Answers (1)

Random Dev
Random Dev

Reputation: 52280

goto the settings of your project and open the "Build" tab - there you should see a "Other flags:" prompt. Just put your additional options there - should work.

PS: just add "--standalone" there. My testbuild grew from 13KB to over 874kb so I think it is doing it's job ;) enter image description here

Upvotes: 5

Related Questions