简体   繁体   English

如何在不购买Visual Studio的情况下编译F#项目

[英]How to compile a F# project without buying Visual Studio

I have found this very cool project written in F#: https://github.com/fholm/IronJS 我发现这个用F#编写的非常酷的项目: https//github.com/fholm/IronJS

OSS is very nice, but i need an assembly. OSS非常好,但是我需要一个程序集。 I would compile it by my self, but it seems that there is no free IDE to open a F# project (.fsproj). 我将自行编译它,但是似乎没有免费的IDE打开F#项目(.fsproj)。 I don't have Visual Studio and there is no express version for F#. 我没有Visual Studio,并且没有F#的快速版本。

I have found this site http://tomasp.net/blog/fsharp-in-monodevelop.aspx but it seems cross-platform doesn't include Windows. 我已经找到该站点http://tomasp.net/blog/fsharp-in-monodevelop.aspx,但是跨平台似乎不包括Windows。

This Monodevelop add-in doesn't work: http://functional-variations.net/addin/ 此Monodevelop加载项无效: http : //functional-variations.net/addin/

Have someone already successfully used F# on Windows without Visual Studio? 是否有人已经在没有Visual Studio的Windows上成功使用F#?

You can downlaod the VS2010 shell from here http://www.microsoft.com/downloads/details.aspx?familyid=8E5AA7B6-8436-43F0-B778-00C3BCA733D3&displaylang=en 您可以从此处http://www.microsoft.com/downloads/details.aspx?familyid=8E5AA7B6-8436-43F0-B778-00C3BCA733D3&displaylang=en下载VS2010 shell

Then install the F# compiler etc from here http://www.microsoft.com/downloads/en/details.aspx?FamilyID=effc5bc4-c3df-4172-ad1c-bc62935861c5 . 然后从此处http://www.microsoft.com/downloads/en/details.aspx?FamilyID=effc5bc4-c3df-4172-ad1c-bc62935861c5安装F#编译器等。

Then you'll have full IDE support for F# with intellisense, projects etc. Doesn't cost a penny and works like a charm! 然后,您将对具有智能感知,项目等的F#具有完全的IDE支持。无需花一分钱,而且就像一个吊饰!

GJ GJ

Have a look at SharpDevelop - it has build-in F# support. 看看SharpDevelop-它具有内置的F#支持。 The only thing required is F# compiler . 唯一需要的是F#编译器

You can download a F# standalone version (to get the compiler) from here . 您可以从此处下载F#独立版本(以获取编译器)。 It seems that it also integrates with Visual Studio Shell, which can be downloaded separately (follow the link at the download page). 似乎它还与Visual Studio Shell集成在一起,可以单独下载(请遵循下载页面上的链接)。 But I must confess I never tried this ... 但是我必须承认我从未尝试过...

Download from here 从这里下载

This CTP release includes the F# compiler and tools, as well as optional Visual Studio integration for F# development. 此CTP版本包括F#编译器和工具,以及用于F#开发的可选Visual Studio集成。

Meaning, the package includes the F# compiler, you don't need Visual Studio integration to compile a project. 这意味着,该软件包包括F#编译器,您不需要Visual Studio集成即可编译项目。

If you are a college student, you can get VS 2010 professional version for free through DreamSpark program. 如果您是大学生,则可以通过DreamSpark程序免费获得VS 2010专业版。

VS 2010 Pro. VS 2010专业版。 has full support for F#. 完全支持F#。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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