Run F# 3.1 on Visual Studio 2012 (not express)

瘦欲@ 提交于 2019-12-08 13:37:12

问题


I was wondering if it is possible to run F# 3.1 on Visual studio 2012? if possible then what is the best way to do this?

Thanks


回答1:


You can't run the 3.1 Visual Studio integration components (e.g. the language service, project system, editor integration) on VS 2012, no. So any bug fixes or features there will not be available.

But you can still build, run, debug projects against the F# 3.1 compiler and runtime from VS 2012. Install the latest release (3.1.1) from here. Create a new project in VS 2012, and edit the .fsproj file to point at the 3.1 Microsoft.FSharp.targets file and the 3.1 version of FSharp.Core.dll. I haven't tried this personally, but I think it should work reasonably well.

And in case cost is a factor preventing moving to VS 2013, note that starting with 3.1.1, Visual F# does support VS Desktop Express.



来源:https://stackoverflow.com/questions/25142440/run-f-3-1-on-visual-studio-2012-not-express

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!