|
F# Manual
- Contents
InstallFSharp-1.9.4.19.msi (and also alternative-install.bat) install the F# libraries in the Global Assembly Cache (GAC) in your machine, which means you can run the programs you compile from anywhere. Several flavours of these library may get installed, e.g. for use with early versions of the .NET Common Language Runtime. F# will select the appropriate library based on the command line switches you use. You may install the libraries on other machines by copying appropriate files and running the alternative-install.bat script there or just manually adding the DLLs to the GAC First follow the steps under Compiler Installation. If the installer succeeded then you are done!!. See also Debugging with Visual Studio and Using F# Interactive with Visual Studio. If the installation failed, please contact fsbugs AT microsoft.com. If only the visual studio install failed, try running alternative-install-vs2005.bat. You can always use this technique if you wish, but there will be no uninstall option. If this fails see the troubleshooting section below. If you have Visual Studio 2003, you must do a manual install by simply running alternative-install-vs2003.bat. There is no uninstall option when using this technique, though you can always upgrade an installation simply by re-registering (in truth you can uninstall by just running the regsvr32 /u uninstallation commands that reverse the registrations done in the batch file). When installing for Visual Studio 2003 you should ensure your machine is up-to-date with latest service packs and updates from Microsoft. You may also need to install the Microsoft Visual C++ 2005 runtime redistributable. Some people have reported problems running the F# installer when installing for Visual Studio 2003 when registering a DLL such as fslangservice.dll, in which case you can ignore these errors and register these DLLs using alternative-install-vs2003.bat. After doing this you should run devenv /setup, if this has not been done automatically by alternative-install-vs2003.bat. Here are the known issues in F# for Visual Studio, which you should read before making serious use of the system.
The Visual Studio Debugger will work with F# code without any additional installation steps. Debugging information for the libraries may be found in the bin directory. In Visual Studio 2005 you may need to disable "Just My Code" debugging (use the "Options" menu). You can also set the appropriate symbol path there or you can add that path to the _NT_SYMBOL_PATH environment variable. |