Skip to content

Commit 82ba415

Browse files
committed
update docs
1 parent 5e3b229 commit 82ba415

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/content/corelib.fsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ Compiler Services: Notes on FSharp.Core.dll
77
Shipping an FSharp.Core with your application
88
---------------------------------------------
99
10+
When building applications or plug-in components which use FSharp.Compiler.Service.dll, you will normally also
11+
include a copy of FSharp.Core.dll as part of your application.
1012
11-
When building applications or plug-in components which use FSharp.Compiler.Service.dll, you will normally need
12-
to ship a copy of FSharp.Core.dll as part of your application.
13-
14-
For example, if you build a HostedCompiler.exe, you will normally place an FSharp.Core.dll (say 4.3.1.0) alongside
15-
your HostedCompiler.exe.
13+
For example, if you build a ``HostedCompiler.exe``, you will normally place an FSharp.Core.dll (say 4.3.1.0) alongside
14+
your ``HostedCompiler.exe``.
1615
1716
If doing dynamic compilation and execution you may also need to include
18-
an FSharp.Core.optdata and FSharp.Core.sigdata, see below.
17+
an FSharp.Core.optdata and FSharp.Core.sigdata, see below for guidance.
1918
2019
Binding redirects for your application
2120
--------------------------------------
2221
2322
The FSharp.Compiler.Service.dll component depends on FSharp.Core 4.3.0.0. Normally your application will target
24-
a later version of FSharp.Core. This means you will also need a binding-redirect file to make sure
25-
that FSharp.Core 4.3.0.0 forwards to which ever final version of FSharp.Core.dll your application runs correctly.
26-
Binding redirect files are normally generated automatically by build tooling. If not, you can use a
23+
a later version of FSharp.Core, and you will need a [binding redirect](http://msdn.microsoft.com/en-us/library/7wd6ex19(v=vs.110).aspx) to ensure
24+
that FSharp.Core 4.3.0.0 forwards to which the final version of FSharp.Core.dll your application uses.
25+
Binding redirect files are normally generated automatically by build tooling. If not, you can use one like this
26+
(if your tool is called ``HostedCompiler.exe``, the binding redirect file is called ``HostedCompiler.exe.config``)
2727
2828
<?xml version="1.0" encoding="utf-8" ?>
2929
<configuration>
@@ -64,7 +64,7 @@ arguments are always making an explicit reference, then you should _not_ include
6464
6565
6666
If you do _not_ explicitly reference an FSharp.Core.dll from an SDK location, then an implicit reference will be made
67-
to whichever FSharp.Core.dll your tool is running. This means your tool will almost certainly implicitly reference the FSharp.Core.dll
67+
to which ever version of FSharp.Core.dll your tool is running. This means your tool will almost certainly implicitly reference the FSharp.Core.dll
6868
that is part of your application. In this case, you may either get an error that FSharp.Core.optdata and FSharp.Core.sigdata are not
6969
found alongside FSharp.Core.dll. If you want to implicitly reference the FSharp.Core.dll you are including in your application,
7070
then also add FSharp.Core.sigdata and FSharp.Core.optdata as two additional files to your application. When using CompileToDynamicAssembly, this problem

0 commit comments

Comments
 (0)