Skip to content

Commit 0fa9387

Browse files
committed
re-add bootstrap files
1 parent d070862 commit 0fa9387

13 files changed

+288
-0
lines changed

lib/bootstrap/4.0/FSharp.Core.dll

1.07 MB
Binary file not shown.
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral"/>
7+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
8+
</dependentAssembly>
9+
<dependentAssembly>
10+
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral"/>
11+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
12+
</dependentAssembly>
13+
<dependentAssembly>
14+
<assemblyIdentity name="System.Web" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
15+
<bindingRedirect oldVersion="1.0.3300.0 - 3.5.0.0" newVersion="4.0.0.0"/>
16+
</dependentAssembly>
17+
<dependentAssembly>
18+
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
19+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.3.0.0" />
20+
</dependentAssembly>
21+
</assemblyBinding>
22+
</runtime>
23+
<startup>
24+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
25+
</startup>
26+
</configuration>
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!--
2+
***********************************************************************************************
3+
FSharp.SRGen.targets
4+
5+
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6+
created a backup copy. Incorrect changes to this file will make it
7+
impossible to load or build your projects from the command-line or the IDE.
8+
9+
Copyright (C) Microsoft Corporation. Apache 2.0 License.
10+
***********************************************************************************************
11+
-->
12+
13+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
14+
<UsingTask TaskName="FsSrGen" AssemblyFile="FSharp.SRGen.Build.Tasks.dll"/>
15+
<PropertyGroup>
16+
<!-- Visual Studio and MSBuild use this dependency to trigger resource generation at the right time -->
17+
<PrepareForBuildDependsOn>ProcessFsSrGen;$(PrepareForBuildDependsOn)</PrepareForBuildDependsOn>
18+
<!-- XBuild and MonoDevelop and Xamarin Studio use this dependency to trigger resource generation at the right time -->
19+
<!-- For some reason these don't recognize 'PrepareForBuildDependsOn' -->
20+
<BuildDependsOn>ProcessFsSrGen;$(BuildDependsOn)</BuildDependsOn>
21+
</PropertyGroup>
22+
23+
<!-- Build FsSrGen files. -->
24+
<Target
25+
Name="CallFsSrGen"
26+
Inputs="@(FsSrGen)"
27+
Outputs="@(FsSrGen->'$(IntermediateOutputPath)%(Filename).fs');@(FsSrGen->'%(Filename).resx')"
28+
Condition="'@(FsSrGen)'!=''">
29+
<!-- Create the output directory in case it doesn't exist yet -->
30+
<MakeDir Directories="$(IntermediateOutputPath)"/>
31+
<!-- Run the tool -->
32+
<!-- Don't put the resx in the IntermediateOutputPath as the Mono targets ends up naming the resource incorrectly (it ignores ManifestResourceName) -->
33+
<FsSrGen
34+
InputFile="%(FsSrGen.FullPath)"
35+
ToolPath="$(FsSrGenToolPath)"
36+
OutputFsFile="$(IntermediateOutputPath)%(FsSrGen.Filename).fs"
37+
OutputResxFile="%(FsSrGen.Filename).resx"
38+
>
39+
</FsSrGen>
40+
</Target>
41+
42+
<!-- Process FsSrGen rules. No 'Inputs' and 'Outputs' means this rule always runs if there is any @FsSrGen, even if up-to-date. -->
43+
<Target
44+
Name="ProcessFsSrGen"
45+
DependsOnTargets="CallFsSrGen"
46+
Condition="'@(FsSrGen)'!=''">
47+
<!-- Make the outputs magically part of the project -->
48+
<CreateItem Include="$(IntermediateOutputPath)%(FsSrGen.Filename).fs">
49+
<Output TaskParameter="Include" ItemName="CompileBefore"/>
50+
</CreateItem>
51+
<CreateItem Include="%(FsSrGen.Filename).resx"
52+
AdditionalMetadata="ManifestResourceName=%(FsSrGen.Filename)">
53+
<!-- Note AdditionalMetadata above; we need the name in the manifest to be Foo.resources and not e.g. obj.Debug.Foo.resources -->
54+
<Output TaskParameter="Include" ItemName="EmbeddedResource"/>
55+
</CreateItem>
56+
<!-- Add them to the list of things under the IntermediateOutputPath that should be 'clean'ed -->
57+
<CreateItem Include="$(IntermediateOutputPath)%(FsSrGen.Filename).fs">
58+
<Output TaskParameter="Include" ItemName="FileWrites"/>
59+
</CreateItem>
60+
<CreateItem Include="%(FsSrGen.Filename).resx">
61+
<Output TaskParameter="Include" ItemName="FileWrites"/>
62+
</CreateItem>
63+
<!-- below, turn off this in VS, so that all90.sln does not take forever to load -->
64+
<Exec Condition="'$(EnsureThereAreNoUnusedFsSrGenResources)'!='false' And '$(BuildingInsideVisualStudio)'!='true'"
65+
Command="$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin\FindUnusedResources.exe %(FsSrGen.FullPath) $(FSharpSourcesRoot)" />
66+
</Target>
67+
68+
<ItemGroup>
69+
<AvailableItemName Include="FsSrGen">
70+
<Visible>false</Visible>
71+
</AvailableItemName>
72+
</ItemGroup>
73+
</Project>
20.5 KB
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral"/>
7+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
8+
</dependentAssembly>
9+
<dependentAssembly>
10+
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral"/>
11+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
12+
</dependentAssembly>
13+
<dependentAssembly>
14+
<assemblyIdentity name="System.Web" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
15+
<bindingRedirect oldVersion="1.0.3300.0 - 3.5.0.0" newVersion="4.0.0.0"/>
16+
</dependentAssembly>
17+
<dependentAssembly>
18+
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
19+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.3.0.0" />
20+
</dependentAssembly>
21+
</assemblyBinding>
22+
</runtime>
23+
<startup>
24+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
25+
</startup>
26+
</configuration>

lib/bootstrap/4.0/FsLexYacc.targets

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!--
2+
***********************************************************************************************
3+
FsLexYacc.targets
4+
5+
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6+
created a backup copy. Incorrect changes to this file will make it
7+
impossible to load or build your projects from the command-line or the IDE.
8+
9+
PowerPack build rules.
10+
11+
Copyright (C) Microsoft Corporation. All rights reserved.
12+
***********************************************************************************************
13+
-->
14+
15+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
16+
<UsingTask TaskName="FsLex" AssemblyFile="FsLexYacc.Build.Tasks.dll"/>
17+
<UsingTask TaskName="FsYacc" AssemblyFile="FsLexYacc.Build.Tasks.dll"/>
18+
<PropertyGroup>
19+
<CompileDependsOn>CallFsLex;CallFsYacc;$(CompileDependsOn)</CompileDependsOn>
20+
</PropertyGroup>
21+
22+
<!-- Build FsLex files. -->
23+
<Target
24+
Name="CallFsLex"
25+
Inputs="@(FsLex)"
26+
Outputs="@(FsLex->'$(FsLexOutputFolder)%(Filename).fs')"
27+
Condition="'@(FsLex)'!=''">
28+
29+
<!-- Create the output directory -->
30+
<MakeDir Directories="$(FsLexOutputFolder)"/>
31+
<!-- Call FsLex -->
32+
<FsLex
33+
InputFile="%(FsLex.Identity)"
34+
OutputFile="$(FsLexOutputFolder)%(FsLex.Filename).fs"
35+
ToolPath="$(FsLexToolPath)"
36+
ToolExe="$(FsLexToolExe)"
37+
OtherFlags="%(FsLex.OtherFlags)"
38+
Unicode="$(FsLexUnicode)">
39+
<!-- Track outputs for 'Clean' -->
40+
<Output TaskParameter="OutputFile" ItemName="FileWrites"/>
41+
</FsLex>
42+
<!-- Make sure it will get cleaned -->
43+
<CreateItem Include="$(FsLexOutputFolder)%(FsLex.Filename).fs">
44+
<Output TaskParameter="Include" ItemName="FileWrites"/>
45+
</CreateItem>
46+
</Target>
47+
48+
<!-- Build FsYacc files. -->
49+
<Target
50+
Name="CallFsYacc"
51+
Inputs="@(FsYacc)"
52+
Outputs="@(FsYacc->'$(FsYaccOutputFolder)%(Filename).fs')"
53+
Condition="'@(FsYacc)'!=''">
54+
55+
<!-- Create the output directory -->
56+
<MakeDir Directories="$(FsYaccOutputFolder)"/>
57+
<!-- Call FsYacc -->
58+
<FsYacc
59+
InputFile="%(FsYacc.Identity)"
60+
OutputFile="$(FsYaccOutputFolder)%(FsYacc.Filename).fs"
61+
VerboseFile="$(FsYaccOutputFolder)%(FsYacc.Filename).fsyacc.output"
62+
Open="%(FsYacc.Open)"
63+
Module="%(FsYacc.Module)"
64+
OtherFlags="%(FsYacc.OtherFlags)"
65+
ToolPath="$(FsYaccToolPath)"
66+
ToolExe="$(FsYaccToolExe)">
67+
<!-- Track outputs for 'Clean' -->
68+
<Output TaskParameter="OutputFile" ItemName="FileWrites"/>
69+
</FsYacc>
70+
<!-- Make sure it will get cleaned -->
71+
<CreateItem Include="$(FsYaccOutputFolder)%(FsYacc.Filename).fs">
72+
<Output TaskParameter="Include" ItemName="FileWrites"/>
73+
</CreateItem>
74+
</Target>
75+
<ItemGroup>
76+
<AvailableItemName Include="FsLex">
77+
<Visible>false</Visible>
78+
</AvailableItemName>
79+
<AvailableItemName Include="FsYacc">
80+
<Visible>false</Visible>
81+
</AvailableItemName>
82+
</ItemGroup>
83+
</Project>
84+
85+

lib/bootstrap/4.0/fslex.exe

257 KB
Binary file not shown.

lib/bootstrap/4.0/fslex.exe.config

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral"/>
7+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
8+
</dependentAssembly>
9+
<dependentAssembly>
10+
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral"/>
11+
<bindingRedirect oldVersion="1.0.3300.0 - 2.0.0.0" newVersion="4.0.0.0"/>
12+
</dependentAssembly>
13+
<dependentAssembly>
14+
<assemblyIdentity name="System.Web" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
15+
<bindingRedirect oldVersion="1.0.3300.0 - 3.5.0.0" newVersion="4.0.0.0"/>
16+
</dependentAssembly>
17+
<dependentAssembly>
18+
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
19+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.3.0.0" />
20+
</dependentAssembly>
21+
</assemblyBinding>
22+
</runtime>
23+
<startup>
24+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
25+
</startup>
26+
</configuration>

lib/bootstrap/4.0/fssrgen.exe

1.36 MB
Binary file not shown.

0 commit comments

Comments
 (0)