Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit961a49d

Browse files
committed
- Fixed some formatting.
1 parent77ab6ef commit961a49d

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

‎README-original.md‎

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ To emphasize, this distribution should not be seen as a way to "get" an F# compi
2626

2727
##What do I get when I compile?
2828

29-
When you build the compiler using the standard instructions below, you get fsc.exe,fsi.exe,FSharp.Core.dll,FSharp.Compiler.dll and some related DLLs.
29+
When you build the compiler using the standard instructions below, you get`fsc.exe`,`fsi.exe`,`FSharp.Core.dll`,`FSharp.Compiler.dll` and some related DLLs.
3030

31-
The compiler binaries produced are "private" and strong-named signed with a test key (src\fsharp\test.snk). They use CLI assembly version nunmber 2.9.9.999. You can place these components in the GAC but they will not replace the components used by normal Visual Studio or normal F# programs.
31+
The compiler binaries produced are "private" and strong-named signed with a test key (`src\fsharp\test.snk`). They use CLI assembly version nunmber 2.9.9.999. You can place these components in the GAC but they will not replace the components used by normal Visual Studio or normal F# programs.
3232

3333

3434
##Steps - Building a Proto Compiler
@@ -39,7 +39,7 @@ gacutil /i ..\lkg\FSharp-2.0.50726.900\bin\FSharp.Core.dll
3939
msbuild fsharp-proto-build.proj /p:TargetFramework=net40
4040
```
4141

42-
Note: Make sure you run the .NET 4.0 msbuild.exe, e.g. C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe.
42+
Note: Make sure you run the .NET 4.0`msbuild.exe`, e.g.`C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe`.
4343

4444
Optional: NGEN the Proto Compiler for faster future startup (optional)
4545

@@ -52,7 +52,7 @@ This uses the proto compiler to build the FSharp.Core library, for Mono/.NET 4.0
5252

5353
`msbuild fsharp-library-build.proj /p:TargetFramework=net40`
5454

55-
Note: Make sure you run the .NET 4.0 msbuild.exe, e.g. C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe.
55+
Note: Make sure you run the .NET 4.0`msbuild.exe`, e.g.`C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe`.
5656

5757

5858
##Steps - Building the F# Compiler
@@ -68,30 +68,36 @@ Note: Make sure you run the .NET 4.0 `msbuild.exe`, e.g. `C:\Windows\Microsoft.N
6868

6969
This builds`FSharp.Compiler.Silverlight.dll` which is a Silverlight 5.0 component for hosting in the browser.
7070

71-
-- Debug configuration for browser-hosted compiler for Silverlight 5.0:
72-
msbuild fsharp-library-build.proj /p:TargetFramework=sl5-compiler
73-
msbuild fsharp-compiler-build.proj /p:TargetFramework=sl5-compiler
71+
*Debug configuration for browser-hosted compiler for Silverlight 5.0:*
72+
```
73+
msbuild fsharp-library-build.proj /p:TargetFramework=sl5-compiler
74+
msbuild fsharp-compiler-build.proj /p:TargetFramework=sl5-compiler
75+
```
7476

75-
-- Release configuration for browser-hosted compiler for Silverlight 5.0:
76-
msbuild fsharp-library-build.proj /p:TargetFramework=sl5-compiler /p:Configuration=Release
77-
msbuild fsharp-compiler-build.proj /p:TargetFramework=sl5-compiler /p:Configuration=Release
77+
*Release configuration for browser-hosted compiler for Silverlight 5.0:*
78+
```
79+
msbuild fsharp-library-build.proj /p:TargetFramework=sl5-compiler /p:Configuration=Release
80+
msbuild fsharp-compiler-build.proj /p:TargetFramework=sl5-compiler /p:Configuration=Release
81+
```
7882

7983
The binaries are placed in`Debug\sl5-compiler`,`Release\sl5-compiler`,`Debug\sl5-compiler` and/or`Release\sl5-compiler`. A custom`FSharp.Core.dll` is used for this configuration, be sure to reference it rather than any other`FSharp.Core.dll` for Silverlight. You may have to edit your project file by hand to ensure you get exactly the right reference to`FSharp.Core.dll`.
8084

8185

8286
##Building the F# core library for alternative CLI/.NET/CIL implementations
8387

8488
```
85-
msbuild fsharp-library-build.proj /p:TargetFramework=net20
86-
msbuild fsharp-library-build.proj /p:TargetFramework=sl3-wp
87-
msbuild fsharp-library-build.proj /p:TargetFramework=sl5
89+
msbuild fsharp-library-build.proj /p:TargetFramework=net20
90+
msbuild fsharp-library-build.proj /p:TargetFramework=sl3-wp
91+
msbuild fsharp-library-build.proj /p:TargetFramework=sl5
92+
```
8893

94+
```
8995
msbuild fsharp-library-build.proj /p:TargetFramework=net20 /p:Configuration=Release
9096
msbuild fsharp-library-build.proj /p:TargetFramework=sl3-wp /p:Configuration=Release
9197
msbuild fsharp-library-build.proj /p:TargetFramework=sl5 /p:Configuration=Release
9298
```
9399

94-
Here net20 gives a runtime for .NET 2.0-3.5, sl3-wp gives a runtime for Windows Phone 7, and sl5 gives a runtime for Silverlight 5.
100+
Here**net20** gives a runtime for .NET 2.0-3.5,**sl3-wp** gives a runtime for Windows Phone 7, and**sl5** gives a runtime for Silverlight 5.
95101

96102

97103
##Steps - Building F# Core Unit Tests for .NET 4.x (optional)
@@ -100,7 +106,7 @@ This uses the proto compiler to build the unit tests that check some parts of `F
100106

101107
`msbuild fsharp-library-unittests-build.proj /p:TargetFramework=net40`
102108

103-
Note: You must have NUnit installed.
109+
*Note: You must have NUnit installed.*
104110

105111

106112
##Steps - Running Compiler tests (on Windows)
@@ -139,12 +145,12 @@ sn -Vr FSharp.Core,*
139145
gacutil /i Debug\net40\bin\FSharp.Core.dll
140146
```
141147

142-
However, this is not recommended except in the rare case you are adding extra functionality to FSharp.Core - it is better to just continue to run with the`FSharp.Core` that comes with Visual Studio 2012.
148+
However, this is not recommended except in the rare case you are adding extra functionality to`FSharp.Core` - it is better to just continue to run with the`FSharp.Core` that comes with Visual Studio 2012.
143149

144150

145151
##Preparing for inclusion in Mono
146152

147-
Building for the*mono20* and*mono40* frameworks gives strong-named, delay-signed assemblies with the`msfinal.pub` key and standard version numbers such as 2.0.0.0, 2.3.0.0, 4.0.0.0 and 4.3.0.0. You complete the signing of these assemblies using[http://github.com/fsharp/fsharp/raw/master/mono.snk](http://github.com/fsharp/fsharp/raw/master/mono.snk). These assemblies will not run if you already have a version of them installed in your GAC (e.g. if you have Visual Studio 2012).
153+
Building for the**mono20** and**mono40** frameworks gives strong-named, delay-signed assemblies with the`msfinal.pub` key and standard version numbers such as 2.0.0.0, 2.3.0.0, 4.0.0.0 and 4.3.0.0. You complete the signing of these assemblies using[http://github.com/fsharp/fsharp/raw/master/mono.snk](http://github.com/fsharp/fsharp/raw/master/mono.snk). These assemblies will not run if you already have a version of them installed in your GAC (e.g. if you have Visual Studio 2012).
148154

149155
```
150156
sn -R ..\Debug\mono40\bin\fsc.exe mono.snk
@@ -233,7 +239,8 @@ del /q FSharp.Core.dll
233239
```
234240

235241

236-
##Some alternative Steps - Other examples of building for Release mode (choose some of these as you need)
242+
##Some alternative Steps - Other examples of building for Release mode
243+
###(choose some of these as you need)
237244

238245
```
239246
msbuild fsharp-library-build.proj /p:Configuration=Release

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp