You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 4. [Optional] Install the Visual F# IDE Tools and Clobber the F# SDK on the machine
137
+
### 4. [Optional] Install the Visual F# IDE Tools
132
138
133
-
**Note:**Step #2 below will install a VSIX extension into Visual Studio 2015 that changes the Visual F# IDE Tools
139
+
**Note:**This step will install a VSIX extension into Visual Studio 2015 that changes the Visual F# IDE Tools
134
140
components installed into Visual Studio 2015. You can revert this step by disabling or uninstalling the addin.
135
141
136
-
**Note:** Step #3 below will clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsi.exe``/``fsiAnyCpu.exe`` used
137
-
by Visual F# Interactive and the ``fsc.exe`` used by ``Microsoft.FSharp.targets``. Repairing Visual Studio 2015 is currently the
138
-
only way to revert this step.
139
-
140
-
**Note:** After you complete the install, the FSharp.Core referenced by your projects will not be updated. If you want to make
141
-
a project that references your updated FSharp.Core, you must explicitly change the ``TargetFSharpCoreVersion`` in the .fsproj
142
-
file to ``4.4.0.5099`` (or a corresponding portable version number with suffix ``5099``).
143
-
144
142
For **Debug**:
145
143
146
144
1. Ensure that the VSIX package is uninstalled. In VS, select Tools/Extensions and Updates and if the package `VisualStudio.FSharp.EnableOpenSource` is installed, select Uninstall
147
145
1. Run ``debug\net40\bin\EnableOpenSource.vsix``
148
-
1. Run ``vsintegration\update-vsintegration.cmd debug`` (clobbers the installed F# SDK)
149
146
150
147
For **Release**:
151
148
152
149
1. Ensure that the VSIX package is uninstalled. In VS, select Tools/Extensions and Updates and if the package `VisualStudio.FSharp.EnableOpenSource` is installed, select Uninstall
153
150
1. Run ``release\net40\bin\EnableOpenSource.vsix``
154
-
1. Run ``vsintegration\update-vsintegration.cmd release`` (clobbers the installed F# SDK)
155
151
156
152
Restart Visual Studio, it should now be running your freshly-built Visual F# IDE Tools with updated F# Interactive.
157
153
154
+
### 5. [Optional] Clobber the F# SDK on the machine
155
+
156
+
**Note:** Step #3 below will clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsi.exe``/``fsiAnyCpu.exe`` used by Visual F# Interactive and the ``fsc.exe`` used by ``Microsoft.FSharp.targets``. Repairing Visual Studio 2015 is currently the only way to revert this step.
157
+
158
+
For **Debug**:
159
+
160
+
1. Run ``vsintegration\update-vsintegration.cmd debug`` (clobbers the installed F# SDK)
161
+
162
+
For **Release**:
163
+
164
+
1. Run ``vsintegration\update-vsintegration.cmd release`` (clobbers the installed F# SDK)
165
+
158
166
159
167
### Notes on the build
160
168
161
169
1. The `update.cmd` script adds required strong name validation skips, and NGens the compiler and libraries. This requires admin privileges.
162
170
1. The compiler binaries produced are "private" and strong-named signed with a test key.
163
-
1. Some additional tools are required to build the compiler, notably `fslex.exe`, `fsyacc.exe`, `FSharp.PowerPack.Build.Tasks.dll` and the other tools found in the `lkg` directory.
171
+
1. Some additional tools are required to build the compiler, notably `fslex.exe`, `fsyacc.exe`, `FSharp.PowerPack.Build.Tasks.dll`, `FsSrGen.exe`, `FSharp.SRGen.Build.Tasks.dll`, and the other tools found in the `lkg` directory.
164
172
1. The overall bootstrapping process executes as follows
165
173
- We first need an existing F# compiler. We use the one in the `lkg` directory. Let's assume this compiler has an `FSharp.Core.dll` with version X.
166
174
- We use this compiler to compile the source in this distribution, to produce a "proto" compiler, dropped to the `proto` directory. When run, this compiler still relies on `FSharp.Core.dll` with version X.
Copy file name to clipboardExpand all lines: README.md
+11-9
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,14 @@ Quickstart guides for build and test can be found [here](https://github.com/Micr
36
36
37
37
###Required Tools for Windows Development and Testing
38
38
39
-
###Development tools
39
+
####Development tools
40
40
41
-
For F# 3.1.X development
42
-
43
-
-[Visual Studio 2013](http://www.visualstudio.com/en-us/downloads) + latest updates (or the free [Visual Studio Community Edition](http://www.visualstudio.com/products/visual-studio-community-vs))
44
-
-[Visual Studio 2013 SDK](https://www.microsoft.com/en-us/download/details.aspx?id=40758)
45
-
46
-
For F# 4.0 development
41
+
For F# 4.0+ development
47
42
48
43
-[Visual Studio 2015](http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs)
49
44
-[Visual Studio 2015 SDK](http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs)
50
45
51
-
###Additional frameworks
46
+
####Additional frameworks
52
47
53
48
-[Git for windows](http://msysgit.github.io/)
54
49
-[Perl](http://www.perl.org/get.html#win32) (ActiveState 5.16.3 is known to be supported)
Guidelines for contributions to the Visual F# compiler, library, and tools can be found [here](CONTRIBUTING.md).
66
61
@@ -71,6 +66,12 @@ This project has adopted the code of conduct defined by the [Contributor Covenan
71
66
72
67
If you would like to contribute to the F# ecosystem more generally see the F# Software Foundation's [Community Projects](http://fsharp.org/community/projects/) pages.
73
68
69
+
###Using CI Builds
70
+
71
+
To install F#, see http://fsharp.org.
72
+
73
+
To download the bits for the latest CI builds see [these instructions](https://github.com/Microsoft/visualfsharp/wiki/Using-CI-Builds). This includes and ZIPs containing the F# compiler and VSIX installers for the Visual F# IDE Tools.
74
+
74
75
###Code Flow to Other Platforms
75
76
76
77
Currently, this repository only enables development and testing on the Windows platform. If you are using Linux, OSX, Android, or iOS, and would like to contribute, please see the instructions provided at the [Open Edition repo](https://github.com/fsharp/fsharp/#the-open-edition-of-the-f-compiler-core-library--tools).
@@ -81,3 +82,4 @@ Although the primary focus of this repo is F# for Windows and the Visual Studio
81
82
82
83
Keep up with the Visual F# Team and the development of the Visual F# Tools by following us [@VisualFSharp](https://twitter.com/VisualFSharp) or subscribing to our [team blog](http://blogs.msdn.com/b/fsharpteam/).
0 commit comments