简体   繁体   中英

How can I set additional F# compiler flags when compiling with Visual Studio?

I am writing an F# library that targets the .NET Framework 3.5 with Visual Studio 2012. I would like to use the --standalone compiler flag so that the library contains all of the types needed to run by itself.

How can I set my F# project to compile with this flag with resorting to compiling with the command line?

You can add other compiler flags in the "Other flags" section of the project's properties.

项目属性的屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM