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

Commit4f67422

Browse files
committed
Adding top-level project for FSharp.Data.TypeProviders, including it in sln, and updating docs (changeset 1220397)
1 parente032f5e commit4f67422

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

‎DEVGUIDE.html‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,14 @@ <h3>3. Verify the F# compiler build with simple smoke test</h3>
414414
del /q FSharp.Core.dll
415415
</pre>
416416

417-
<h3>4. Building F# Core Unit Tests for .NET 4.0</h3>
417+
<h3>4. Building FSharp.Data.TypeProviders for .NET 4.0</h3>
418+
419+
<p>This uses the proto compiler to build the type provider assembly FSharp.Data.TypeProviders.dll for .NET 4.0.</p>
420+
<pre>
421+
msbuild fsharp-typeproviders-build.proj /p:TargetFramework=net40
422+
</pre>
423+
424+
<h3>5. Building F# Core Unit Tests for .NET 4.0</h3>
418425

419426
<p>This uses the proto compiler to build the unit tests that check some parts of FSharp.Core.dll and FSharp.Compiler.dll. You must have NUnit installed.</p>
420427
<pre>
@@ -431,7 +438,7 @@ <h3>4. Building F# Core Unit Tests for .NET 4.0</h3>
431438
Runtests.cmd fsharpqa
432439
Runtests.cmd coreunit</pre>
433440

434-
<h3>5. [Alternate Build Instructions] Build an optimised F# (Release) compiler for .NET 4.0 profile</h3>
441+
<h3>6. [Alternate Build Instructions] Build an optimised F# (Release) compiler for .NET 4.0 profile</h3>
435442

436443
<p>This uses the proto compiler to build the FSharp.Compiler.dll and fsc.exe to run on for Mono/.NET 4.0.</p>
437444
<pre>
@@ -442,7 +449,7 @@ <h3>5. [Alternate Build Instructions] Build an optimised F# (Release) compiler
442449
ngen install ..\Release\net40\bin\fsi.exe
443450
</pre>
444451

445-
<h3>6. Verify the optimised F# compiler build with simple smoke test</h3>
452+
<h3>7. Verify the optimised F# compiler build with simple smoke test</h3>
446453

447454
<li>Simple FSI run and quit test.</li>
448455
<pre> ..\Release\net40\bin\fsi.exe
@@ -463,11 +470,11 @@ <h3>6. Verify the optimised F# compiler build with simple smoke test</h3>
463470
del /q FSharp.Core.dll
464471
</pre>
465472

466-
<h3>7. [Optional] Open a solution with Visual Studio</h3>
473+
<h3>8. [Optional] Open a solution with Visual Studio</h3>
467474

468475
<p> You can use "fsharp.sln" to browse source code using Visual Studio. However, you need to complete step 1) and 2) in order to properly open this solution. In addition, FSharp.Core.Unittests project requires NUnit installed.</p>
469476

470-
<h3>8. [Optional] Build a compiler component for hosting in the browser with Silverlight</h3>
477+
<h3>9. [Optional] Build a compiler component for hosting in the browser with Silverlight</h3>
471478

472479
<p> This builds FSharp.Compiler.Silverlight.dll which is a Silverlight 5.0 component for hosting in the browser. You must have Silverlight5 installed.</p>
473480
<li>This places the binaries in Debug\sl5-compiler:</il>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.-->
2+
<Projectxmlns="http://schemas.microsoft.com/developer/msbuild/2003"
3+
ToolsVersion="4.0">
4+
5+
<PropertyGroup>
6+
<TargetFrameworkCondition="'$(TargetFramework)'==''">net40</TargetFramework>
7+
</PropertyGroup>
8+
9+
<!-- Type providers assembly-->
10+
<ItemGroupCondition=" '$(TargetFramework)' != 'sl3-wp' and '$(TargetFramework)' != 'sl5'">
11+
<ProjectFilesInclude="fsharp/FSharp.Data.TypeProviders/FSharp.Data.TypeProviders.fsproj"/>
12+
</ItemGroup>
13+
14+
<ImportProject="root.traversal.targets"/>
15+
16+
<!-- Insert any customizations for targets here-->
17+
18+
</Project>
19+

‎src/fsharp.sln‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
55
ProjectSection(SolutionItems) =preProject
66
fsharp-compiler-build.proj=fsharp-compiler-build.proj
77
fsharp-proto-build.proj=fsharp-proto-build.proj
8+
fsharp-typeproviders-build.proj=fsharp-typeproviders-build.proj
89
root.traversal.targets=root.traversal.targets
910
source-build-version =source-build-version
1011
EndProjectSection
@@ -25,6 +26,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharp.Compiler.Server.Shar
2526
EndProject
2627
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") ="FSharp.Core.Unittests","fsharp\FSharp.Core.Unittests\FSharp.Core.Unittests.fsproj","{88E2D422-6852-46E3-A740-83E391DC7973}"
2728
EndProject
29+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") ="FSharp.Data.TypeProviders","fsharp\FSharp.Data.TypeProviders\FSharp.Data.TypeProviders.fsproj","{CB7D20C4-6506-406D-9144-5342C3595F03}"
30+
EndProject
2831
Global
2932
GlobalSection(SolutionConfigurationPlatforms) =preSolution
3033
Debug|Any CPU=Debug|Any CPU
@@ -63,6 +66,12 @@ Global
6366
{DED3BBD7-53F4-428A-8C9F-27968E768605}.Debug|Any CPU.Build.0=Debug|Any CPU
6467
{DED3BBD7-53F4-428A-8C9F-27968E768605}.Release|Any CPU.ActiveCfg=Release|Any CPU
6568
{DED3BBD7-53F4-428A-8C9F-27968E768605}.Release|Any CPU.Build.0=Release|Any CPU
69+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Debug|Any CPU.ActiveCfg=Debug|Any CPU
70+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Debug|Any CPU.Build.0=Debug|Any CPU
71+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Proto|Any CPU.ActiveCfg=Proto|Any CPU
72+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Proto|Any CPU.Build.0=Proto|Any CPU
73+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Release|Any CPU.ActiveCfg=Release|Any CPU
74+
{CB7D20C4-6506-406D-9144-5342C3595F03}.Release|Any CPU.Build.0=Release|Any CPU
6675
EndGlobalSection
6776
GlobalSection(SolutionProperties) =preSolution
6877
HideSolutionNode =FALSE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp