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

Commit737e817

Browse files
committed
Open source ui stack for FSharp 2 (changeset 1288308)
1 parentd55d45b commit737e817

File tree

87 files changed

+24244
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+24244
-123
lines changed

‎DEVGUIDE.html‎

Lines changed: 49 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -344,28 +344,26 @@ <h3>1. Building a Proto Compiler</h3>
344344
<h3>2. Building an F# (Debug) library, compiler, type providers and unit tests</h3>
345345

346346
<p>This uses the proto compiler to build FSharp.Core.dll, FSharp.Compiler.dll and fsc.exe to run on for Mono/.NET 4.0.</p>
347-
<pre>
348-
msbuild fsharp-library-build.proj /p:TargetFramework=net40
349-
msbuild fsharp-compiler-build.proj /p:TargetFramework=net40
350-
msbuild fsharp-typeproviders-build.proj /p:TargetFramework=net40
351-
msbuild fsharp-library-unittests-build.proj /p:TargetFramework=net40
352-
msbuild fsharp-library-build.proj /p:TargetFramework=net20
353-
msbuild fsharp-library-build.proj /p:TargetFramework=portable47
354-
msbuild fsharp-library-build.proj /p:TargetFramework=portable7
355-
</pre>
356-
357-
358-
<h3>3. Running Tests</h3>
359-
347+
<pre>
348+
msbuild fsharp-library-build.proj /p:TargetFramework=net40
349+
msbuild fsharp-compiler-build.proj /p:TargetFramework=net40
350+
msbuild fsharp-typeproviders-build.proj /p:TargetFramework=net40
351+
msbuild fsharp-library-unittests-build.proj /p:TargetFramework=net40
352+
msbuild fsharp-library-build.proj /p:TargetFramework=net20
353+
msbuild fsharp-library-build.proj /p:TargetFramework=portable47
354+
msbuild fsharp-library-build.proj /p:TargetFramework=portable7
355+
</pre>
360356
<p>
361-
First use the provided script to add the built FSharp.Core to the
362-
GAC, add required strong name validation skips, and NGen the compiler.
363-
Requires admin privileges.
357+
Use this script to add the built FSharp.Core to the
358+
GAC,<b>add required strong name validation skips</b>, and NGen the compiler and libraries.
359+
This requires admin privileges.
364360
</p>
365361
<pre>
366-
update.cmd debug -ngen
362+
update.cmd debug -ngen
367363
</pre>
368364

365+
<h3>3. Running Tests</h3>
366+
369367
<p>There are language tests under the<code>tests</code> directory. The test apparatus uses batch files, assuming<ahref="http://www.perl.org/get.html">Perl</a> (ActiveState Perl 5.16.3 is known to work fine) is installed. You can run these on Windows using:</p>
370368
<pre>
371369
cd ..\tests
@@ -404,6 +402,16 @@ <h3>4. [Optional] Building and testing the "release" compiler</h3>
404402
<pre>
405403
msbuild fsharp-compiler-build.proj /p:TargetFramework=net40 /p:Configuration=Release
406404
</pre>
405+
<p>
406+
Use this script to add the built FSharp.Core to the
407+
GAC,<b>add required strong name validation skips</b>, and NGen the compiler and libraries.
408+
This requires admin privileges.
409+
</p>
410+
<pre>
411+
update.cmd debug -ngen
412+
</pre>
413+
414+
407415

408416
<h3>5. [Optional] Open a solution with Visual Studio</h3>
409417

@@ -412,6 +420,30 @@ <h3>5. [Optional] Open a solution with Visual Studio </h3>
412420
However, you need to complete step 1) and 2) in order to properly
413421
open this solution. In addition, FSharp.Core.Unittests project requires NUnit installed.
414422
</p>
423+
<h3>6. [Optional] Build Visual Studio components</h3>
424+
<p>
425+
To build the VS components:
426+
</p>
427+
<pre>
428+
msbuild ..\vsintegration\src\deployment.sln /p:Configuration=Debug /t:Rebuild
429+
</pre>
430+
431+
<h3>6. [Optional] Build and install Visual Studio components</h3>
432+
<p>
433+
To install the VS components:
434+
</p>
435+
<p>
436+
Ensure that the VSIX package is uninstalled, in VS select Tools/Extensions and Updates,
437+
If the packages VisualStudio.FSharp.EnableOpenSource is installed, select Uninstall
438+
</p>
439+
<pre>
440+
..\Debug\net40\bin\EnableOpenSource.vsix
441+
</pre>
442+
<p>
443+
Restart Visual Studio, now it should be running the open source FSharp.VS.FSI.
444+
</p>
445+
<pre>
446+
</pre>
415447

416448
<h3>Notes on the build</h3>
417449

‎src/FSharpSource.Settings.targets‎

Lines changed: 52 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,69 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- 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.-->
33
<ProjectToolsVersion="4.0"DefaultTargets="Build"xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4-
5-
<PropertyGroup>
6-
<!-- Standard defaults for configuration and platform-->
7-
<ConfigurationCondition=" '$(Configuration)' == ''">Debug</Configuration>
8-
<PlatformCondition=" '$(Platform)' == ''">AnyCPU</Platform>
9-
</PropertyGroup>
104
<PropertyGroup>
11-
<!-- Standard defaults for output path and warning level-->
12-
<OutputPathCondition="'$(OutputPath)' == ''">bin\$(Configuration)</OutputPath>
13-
<WarningLevelCondition=" '$(WarningLevel)' == ''">3</WarningLevel>
5+
<!-- Tail calls on, even in debug-->
6+
<Tailcalls>true</Tailcalls>
7+
<TargetFrameworkCondition="'$(TargetFramework)'==''">net40</TargetFramework>
8+
<!-- For .NET 2.0 use a 2.0 proto compiler, otherwise use a 4.0 proto compiler-->
9+
<protoCLIDirCondition="'$(protoCLIDir)' == ''">net40</protoCLIDir>
10+
<LkgVersion>4.0.30319.1</LkgVersion>
11+
<FsLexUnicode>true</FsLexUnicode>
12+
<ProjectLanguageCondition="'$(ProjectLanguage)' == ''">FSharp</ProjectLanguage>
13+
<OtherFlags>$(OtherFlags) --times</OtherFlags>
14+
<NoWarn>$(NoWarn);69;65;54;61;75</NoWarn>
15+
<DebugSymbols>true</DebugSymbols>
1416
</PropertyGroup>
17+
1518
<!-- Standard interpretations of Debug and Release configurations-->
1619
<PropertyGroupCondition=" '$(Configuration)' == 'Debug'">
1720
<DebugTypeCondition=" '$(DebugType)' == ''">full</DebugType>
1821
<OptimizeCondition=" '$(Optimize)' == ''">false</Optimize>
19-
<DefineConstantsCondition=" '$(DefineConstants)' == ''">DEBUG;TRACE</DefineConstants>
2022
<ErrorReportCondition=" '$(ErrorReport)' == ''">prompt</ErrorReport>
23+
<PlatformCondition=" '$(Platform)' == ''">AnyCPU</Platform>
24+
<OtherFlags>$(OtherFlags) --no-jit-optimize --jit-tracking</OtherFlags>
25+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' != 'VisualBasic'">DEBUG;TRACE;CODE_ANALYSIS;$(DefineConstants)</DefineConstants>
26+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' == 'VisualBasic'">DEBUG="true";TRACE="true";CODE_ANALYSIS="true";$(DefineConstants)</DefineConstants>
27+
<SIGN_WITH_MSFT_KEYCondition=" '$(SIGN_WITH_MSFT_KEY)' == ''">false</SIGN_WITH_MSFT_KEY>
2128
</PropertyGroup>
29+
2230
<PropertyGroupCondition=" '$(Configuration)' == 'Release'">
2331
<DebugTypeCondition=" '$(DebugType)' == ''">pdbonly</DebugType>
2432
<OptimizeCondition=" '$(Optimize)' == ''">true</Optimize>
25-
<DefineConstantsCondition=" '$(DefineConstants)' == ''">TRACE</DefineConstants>
2633
<ErrorReportCondition=" '$(ErrorReport)' == ''">prompt</ErrorReport>
34+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' != 'VisualBasic'">TRACE</DefineConstants>
35+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' == 'VisualBasic'">TRACE="true"</DefineConstants>
36+
<SIGN_WITH_MSFT_KEYCondition=" '$(SIGN_WITH_MSFT_KEY)' == ''">false</SIGN_WITH_MSFT_KEY>
37+
</PropertyGroup>
38+
39+
<PropertyGroupCondition=" '$(Configuration)' == 'VSDebug'">
40+
<DebugTypeCondition=" '$(DebugType)' == ''">full</DebugType>
41+
<ErrorReportCondition=" '$(ErrorReport)' == ''">prompt</ErrorReport>
42+
<PlatformCondition=" '$(Platform)' == ''">AnyCPU</Platform>
43+
<OtherFlags>$(OtherFlags) --no-jit-optimize --jit-tracking</OtherFlags>
44+
<DefineConstantsCondition="'$(DefineConstants)' == '' and 'ProjectLanguage' != 'VisualBasic'">DEBUG;TRACE;CODE_ANALYSIS;$(DefineConstants)</DefineConstants>
45+
<DefineConstantsCondition="'$(DefineConstants)' == '' and 'ProjectLanguage' == 'VisualBasic'">DEBUG="true";TRACE="true";CODE_ANALYSIS="true";$(DefineConstants)</DefineConstants>
46+
<SIGN_WITH_MSFT_KEYCondition=" '$(SIGN_WITH_MSFT_KEY)' == ''">true</SIGN_WITH_MSFT_KEY>
47+
</PropertyGroup>
48+
49+
<PropertyGroupCondition=" '$(Configuration)' == 'VSRelease'">
50+
<DebugTypeCondition=" '$(DebugType)' == ''">pdbonly</DebugType>
51+
<OptimizeCondition=" '$(Optimize)' == ''">true</Optimize>
52+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' != 'VisualBasic'">TRACE;$(DefineConstants)</DefineConstants>
53+
<DefineConstantsCondition=" '$(DefineConstants)' == '' and 'ProjectLanguage' == 'VisualBasic'">TRACE="true";$(DefineConstants)</DefineConstants>
54+
<ErrorReportCondition=" '$(ErrorReport)' == ''">prompt</ErrorReport>
55+
<SIGN_WITH_MSFT_KEYCondition=" '$(SIGN_WITH_MSFT_KEY)' == ''">true</SIGN_WITH_MSFT_KEY>
56+
</PropertyGroup>
57+
58+
<!-- Flags used to build the bootstrap compiler.-->
59+
<PropertyGroupCondition="'$(Configuration)'=='Proto'">
60+
<Optimize>true</Optimize>
61+
<DefineConstants>DEBUG;NO_STRONG_NAMES;$(DefineConstants)</DefineConstants>
62+
</PropertyGroup>
63+
64+
<PropertyGroup>
65+
<!-- Standard defaults for output path and warning level-->
66+
<OutputPathCondition="'$(OutputPath)' == ''">bin\$(Configuration)</OutputPath>
67+
<WarningLevelCondition=" '$(WarningLevel)' == ''">3</WarningLevel>
2768
</PropertyGroup>
2869
</Project>

‎src/FSharpSource.targets‎

Lines changed: 64 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,63 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- 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.-->
33
<ProjectToolsVersion="4.0"DefaultTargets="Build"xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4-
<PropertyGroup>
5-
<!-- Tail calls on, even in debug-->
6-
<Tailcalls>true</Tailcalls>
7-
<TargetFrameworkCondition="'$(TargetFramework)'==''">net40</TargetFramework>
8-
<!-- For .NET 2.0 use a 2.0 proto compiler, otherwise use a 4.0 proto compiler-->
9-
<protoCLIDirCondition="'$(protoCLIDir)' == ''">net40</protoCLIDir>
10-
<LkgVersion>4.0.30319.1</LkgVersion>
11-
<FsLexUnicode>true</FsLexUnicode>
12-
<ProjectLanguage>FSharp</ProjectLanguage>
13-
<OtherFlags>$(OtherFlags) --times</OtherFlags>
14-
<NoWarn>$(NoWarn);69;65;54;61;75</NoWarn>
15-
<DebugSymbols>true</DebugSymbols>
16-
</PropertyGroup>
17-
18-
<!-- However FSharp.Core must always use the same version and name as VS, except the revision# is 9055 with delay signing, see below-->
19-
<PropertyGroupCondition="'$(AssemblyName)' != 'FSharp.Core' AND '$(AssemblyName)' != 'FSharp.LanguageService.Compiler'">
20-
<OtherFlags>$(OtherFlags) --version:4.3.1.9055</OtherFlags>
21-
</PropertyGroup>
22-
23-
<PropertyGroupCondition="'$(AssemblyName)' == 'FSharp.Core'">
24-
<OtherFlags>$(OtherFlags) --version:4.3.1.9055</OtherFlags>
25-
<OtherFlagsCondition="'$(TargetFramework)' == 'net20'">$(OtherFlags) --version:2.3.1.9055</OtherFlags>
26-
<OtherFlagsCondition="'$(TargetFramework)' == 'portable47'">$(OtherFlags) --version:2.3.5.9055</OtherFlags>
27-
<OtherFlagsCondition="'$(TargetFramework)' == 'portable7'">$(OtherFlags) --version:3.3.1.9055</OtherFlags>
28-
</PropertyGroup>
29-
30-
<!-- We sign with the Microsoft key and use delay-signing-->
31-
<PropertyGroupCondition="'$(AssemblyName)' == 'FSharp.Core' AND ('$(Configuration)'=='Debug' OR '$(Configuration)'=='Release') AND ('$(TargetFramework)' == 'net20' OR '$(TargetFramework)' == 'net40' OR '$(TargetFramework)' == 'portable47' OR '$(TargetFramework)' == 'portable7')">
32-
<DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants>
33-
<OtherFlags>$(OtherFlags) --delaysign+ --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags>
34-
<StrongNames>true</StrongNames>
35-
</PropertyGroup>
36-
37-
<PropertyGroupCondition="'$(AssemblyName)' != 'FSharp.Core' AND ('$(Configuration)'=='Debug' OR '$(Configuration)'=='Release') AND ('$(AssemblyName)'!='FSharp.Core')">
38-
<DefineConstants>STRONG_NAME_FSHARP_COMPILER_WITH_TEST_KEY;$(DefineConstants)</DefineConstants>
39-
<OtherFlags>$(OtherFlags) --keyfile:"$(FSharpSourcesRoot)\fsharp\test.snk"</OtherFlags>
40-
<StrongNames>true</StrongNames>
41-
</PropertyGroup>
4+
<Choose>
5+
<WhenCondition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Release' or '$(Configuration)' == 'VSDebug' or '$(Configuration)' == 'VSRelease'">
6+
<Choose>
7+
<WhenCondition="'$(ProjectLanguage)' == 'FSharp'">
8+
<Choose>
9+
<WhenCondition="'$(AssemblyName)' == 'FSharp.Core'">
10+
<PropertyGroup>
11+
<OtherFlagsCondition="'$(TargetFramework)' != 'net20' AND '$(TargetFramework)' != 'portable47' AND '$(TargetFramework)' != 'portable7'">$(OtherFlags) --version:4.3.1.9055</OtherFlags>
12+
<OtherFlagsCondition="'$(TargetFramework)' == 'net20'">$(OtherFlags) --version:2.3.1.9055</OtherFlags>
13+
<OtherFlagsCondition="'$(TargetFramework)' == 'portable47'">$(OtherFlags) --version:2.3.5.9055</OtherFlags>
14+
<OtherFlagsCondition="'$(TargetFramework)' == 'portable7'">$(OtherFlags) --version:3.3.1.9055</OtherFlags>
15+
<OtherFlags>$(OtherFlags) --delaysign+ --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags>
16+
<DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants>
17+
<StrongNames>true</StrongNames>
18+
</PropertyGroup>
19+
</When>
20+
<WhenCondition="'$(AssemblyName)' == 'FSharp.LanguageService' or '$(AssemblyName)' == 'FSharp.LanguageService.Compiler' or '$(AssemblyName)' == 'FSharp.LanguageService.Base' or '$(AssemblyName)' == 'FSharp.Editor' or '$(AssemblyName)' == 'FSharp.VS.FSI' or '$(AssemblyName)' == 'FSharp.ProjectSystem.FSharp'">
21+
<PropertyGroup>
22+
<OtherFlags>$(OtherFlags) --version:12.0.0.9055 --delaysign+ --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags>
23+
<DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants>
24+
<StrongNames>true</StrongNames>
25+
</PropertyGroup>
26+
</When>
27+
<Otherwise>
28+
<PropertyGroupCondition="'$(SIGN_WITH_MSFT_KEY)' == 'true'">
29+
<OtherFlags>$(OtherFlags) --version:4.3.1.9055 --delaysign+ --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags>
30+
<DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants>
31+
<StrongNames>true</StrongNames>
32+
</PropertyGroup>
33+
<PropertyGroupCondition="'$(SIGN_WITH_MSFT_KEY)' != 'true'">
34+
<OtherFlags>$(OtherFlags) --version:4.3.1.9055 --keyfile:"$(FSharpSourcesRoot)\fsharp\test.snk"</OtherFlags>
35+
<DefineConstants>STRONG_NAME_FSHARP_COMPILER_WITH_TEST_KEY;$(DefineConstants)</DefineConstants>
36+
<StrongNames>true</StrongNames>
37+
</PropertyGroup>
38+
</Otherwise>
39+
</Choose>
40+
</When>
41+
<Otherwise>
42+
<PropertyGroup>
43+
<SignAssembly>true</SignAssembly>
44+
<AssemblyOriginatorKeyFile>$(FSharpSourcesRoot)\fsharp\msft.pubkey</AssemblyOriginatorKeyFile>
45+
<DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants>
46+
<StrongNames>true</StrongNames>
47+
<DelaySign>true</DelaySign>
48+
</PropertyGroup>
49+
</Otherwise>
50+
</Choose>
51+
</When>
52+
<Otherwise>
53+
<PropertyGroupCondition="'$(StrongNames)' != 'true'">
54+
<!-- For the proto build, portable and Silverlight framework implementations, we don't use strong names.-->
55+
<!-- For Silverlight, there is no way to disable strong name verification, so using the Microsoft name is not possible-->
56+
<OtherFlags>$(OtherFlags) --version:4.3.1.9055</OtherFlags>
57+
<DefineConstants>NO_STRONG_NAMES;$(DefineConstants)</DefineConstants>
58+
</PropertyGroup>
59+
</Otherwise>
60+
</Choose>
4261

4362
<!-- For the proto build, portable and Silverlight framework implementations, we don't use strong names.-->
4463
<!-- For Silverlight, there is no way to disable strong name verification, so using the Microsoft name is not possible-->
@@ -573,10 +592,12 @@
573592
<OtherFlags>$(OtherFlags) --simpleresolution -r:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\mscorlib.dll" -r:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.dll"</OtherFlags>
574593
</PropertyGroup>
575594

576-
577-
578595
<!-- Build with LKG compiler (location is determined by Microsoft.FSharp.targets). The output compiler has suffix "-proto"-->
579-
<PropertyGroupCondition=" '$(BuildWith)' == 'LKG' And '$(ProjectLanguage)' == 'FSharp'">
596+
<PropertyGroupCondition=" '$(BuildWith)' == 'LKG' And '$(ProjectLanguage)' == 'FSharp' AND '$(STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY)' == 'true'">
597+
<FsBuildSuffix>-proto</FsBuildSuffix>
598+
<OutputPath>$(FSharpSourcesRoot)\..\vs\$(protoCLIDir)\bin</OutputPath>
599+
</PropertyGroup>
600+
<PropertyGroupCondition=" '$(BuildWith)' == 'LKG' And '$(ProjectLanguage)' == 'FSharp' AND '$(STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY)' != 'true'">
580601
<FsBuildSuffix>-proto</FsBuildSuffix>
581602
<OutputPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(protoCLIDir)\bin</OutputPath>
582603
</PropertyGroup>
@@ -637,7 +658,7 @@
637658
</PropertyGroup>
638659
</Otherwise>
639660
</Choose>
640-
<ImportProject="$(FSharpTargetsPath)"/>
661+
<ImportCondition="'$(ProjectLanguage)' == 'FSharp'"Project="$(FSharpTargetsPath)"/>
641662

642663
<!-- Reference an existing FSI.EXE for use from within MSBuild-->
643664
<PropertyGroup>
@@ -660,7 +681,7 @@
660681
<TargetName="ValidateConfiguration">
661682
<Error
662683
Text="Configuration '$(Configuration)' is not one of the supported configurations: Debug, Release, Proto"
663-
Condition="'$(Configuration)'!='Release' and '$(Configuration)'!='Debug' and '$(Configuration)'!='Proto'"/>
684+
Condition="'$(Configuration)'!='Release' and '$(Configuration)'!='Debug' and '$(Configuration)'!='VSRelease' and '$(Configuration)'!='VSDebug' and '$(Configuration)'!='Proto'"/>
664685
<Error
665686
Text="TargetFramework '$(TargetFramework)' is not one of the supported configurations: 'empty', net20, net40, sl3-wp, sl5, sl5-compiler, portable47, portable7, netcore78, netcore259"
666687
Condition="! ('$(TargetFramework)' == 'net40' or

‎src/fsharp/FSharp.LanguageService.Compiler/FSharp.LanguageService.Compiler.fsproj‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<ProjectGuid>{a437a6ec-5323-47c2-8f86-e2cac54ff152}</ProjectGuid>
2626
<AllowCrossTargeting>true</AllowCrossTargeting>
2727
<BaseAddress>0x06800000</BaseAddress>
28-
<OtherFlags>$(OtherFlags) /warnon:1182 /version:11.0.0.0</OtherFlags>
2928
</PropertyGroup>
3029
<ItemGroup>
3130
<FsSrGenInclude="..\FSComp.txt">
@@ -459,13 +458,23 @@
459458
<ReferenceInclude="Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
460459
<ReferenceInclude="Microsoft.Build.Utilities.v12.0" />
461460
<ReferenceInclude="Microsoft.Build.Tasks.v12.0" />
462-
463-
464461
<ProjectReferenceInclude="$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj" >
465462
<Project>{DED3BBD7-53F4-428A-8C9F-27968E768605}</Project>
466463
<Name>FSharp.Core</Name>
467464
</ProjectReference>
468465
</ItemGroup>
469466
<ImportProject="$(FSharpSourcesRoot)\FSharpSource.targets" />
470467
<ImportProject="$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin\FSharp.PowerPack.targets" />
468+
<PropertyGroup>
469+
<OtherFlags>$(OtherFlags) /warnon:1182 --sig:$(IntermediateOutputPath)\$(AssemblyName).sig</OtherFlags>
470+
<PrepareForRunDependsOn>$(PrepareForRunDependsOn);CopyToBuiltBin</PrepareForRunDependsOn>
471+
</PropertyGroup>
472+
<TargetName="CopyToBuiltBin">
473+
<CopySourceFiles="$(IntermediateOutputPath)\FSharp.LanguageService.Compiler.sigdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true">
474+
<OutputTaskParameter="DestinationFiles"ItemName="FileWrites" />
475+
</Copy>
476+
<CopySourceFiles="$(IntermediateOutputPath)\FSharp.LanguageService.Compiler.optdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true">
477+
<OutputTaskParameter="DestinationFiles"ItemName="FileWrites" />
478+
</Copy>
479+
</Target>
471480
</Project>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp