Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nuget/NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<add key="myget.org fsharp-daily" value="https://www.myget.org/F/fsharp-daily/" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</packageSources>
</configuration>
</configuration>
2 changes: 1 addition & 1 deletion DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Restart Visual Studio, it should now be running your freshly-built Visual F# IDE

1. The `update.cmd` script adds required strong name validation skips, and NGens the compiler and libraries. This requires admin privileges.
1. The compiler binaries produced are "private" and strong-named signed with a test key.
1. Some additional tools are required to build the compiler, notably `fslex.exe`, `fsyacc.exe`, `FSharp.PowerPack.Build.Tasks.dll`, `FsSrGen.exe`, `FSharp.SRGen.Build.Tasks.dll`, and the other tools found in the `lkg` directory.
1. Some additional tools are required to build the compiler, notably `fslex.exe`, `fsyacc.exe`, `FSharp.PowerPack.Build.Tasks.dll` and the other tools found in the `lkg` directory.
1. The overall bootstrapping process executes as follows
- We first need an existing F# compiler. We use the one in the `lkg` directory. Let's assume this compiler has an `FSharp.Core.dll` with version X.
- We use this compiler to compile the source in this distribution, to produce a "proto" compiler, dropped to the `proto` directory. When run, this compiler still relies on `FSharp.Core.dll` with version X.
Expand Down
2 changes: 1 addition & 1 deletion lkg/FSharp-14.0.23413.0/bin/FSharp.Core/README.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The copy of FSharp.Core in this directory is version 2.0.50726.900, required by FSharp.SRGen.Build.Tasks.dll and other legacy Power Pack libraries in the parent directory.
The copy of FSharp.Core in this directory is version 2.0.50726.900, required by legacy Power Pack libraries in the parent directory.

This copy of FSharp.Core.dll should not be referenced as an LKG, it is present merely as a workaround to enable the legacy libraries to work without needing to update the GAC.
Binary file not shown.
67 changes: 0 additions & 67 deletions lkg/FSharp-14.0.23413.0/bin/FSharp.SRGen.targets

This file was deleted.

Binary file removed lkg/FSharp-14.0.23413.0/bin/FindUnusedResources.exe
Binary file not shown.
Binary file removed lkg/FSharp-14.0.23413.0/bin/FsSrGen.exe
Binary file not shown.
4 changes: 3 additions & 1 deletion packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
<package id="NUnit.Runners" version="3.0.0" targetFramework="net45" />
<package id="NUnit" version="3.0.0" targetFramework="net45" />
<package id="NUnit.Console" version="3.0.0" targetFramework="net45" />
</packages>
<package id="FsSrGen" version="2.0.0" targetFramework="net46" />
<package id="FSharp.SRGen.Build.Tasks" version="2.0.0" targetFramework="net46" />
</packages>
7 changes: 4 additions & 3 deletions src/FSharpSource.targets
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
<FsCheckVersion>2.0.3</FsCheckVersion>
<FsCheckFullVersion>2.0.3.0</FsCheckFullVersion>
<FsCheckLibDir>$(FSharpSourcesRoot)\..\packages\FsCheck.$(FsCheckVersion)\lib\</FsCheckLibDir>
<FsSrGenVersion>2.0.0</FsSrGenVersion>
<FsSrGenBuildTasksVersion>2.0.0</FsSrGenBuildTasksVersion>
</PropertyGroup>

<!-- v2.0-specific flags -->
Expand Down Expand Up @@ -707,7 +709,7 @@

<!-- Reference an existing FSI.EXE for use from within MSBuild -->
<PropertyGroup>
<FsSrGenToolPath>$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin</FsSrGenToolPath>
<FsSrGenToolPath>$(FSharpSourcesRoot)\..\packages\FsSrGen.$(FsSrGenVersion)\lib\net46</FsSrGenToolPath>
<FsLexToolPath>$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin</FsLexToolPath>
<FsYaccToolPath>$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin</FsYaccToolPath>
<FsLexToolExe>fslex.exe</FsLexToolExe>
Expand All @@ -720,7 +722,6 @@
<CompileDependsOn>ValidateConfiguration;$(CompileDependsOn);CustomCopyLocalFiles</CompileDependsOn>
<RootNamespace></RootNamespace>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<EnsureThereAreNoUnusedFsSrGenResources>false</EnsureThereAreNoUnusedFsSrGenResources>
</PropertyGroup>

<Target Name="ValidateConfiguration">
Expand Down Expand Up @@ -758,7 +759,7 @@
</CreateItem>
</Target>

<Import Project="..\lkg\FSharp-$(LkgVersion)\bin\FSharp.SRGen.targets" />
<Import Project="..\packages\FSharp.SRGen.Build.Tasks.$(FsSrGenBuildTasksVersion)\content\FSharp.SRGen.targets" />

<Target Name="ReorderCompileItems"
BeforeTargets="CoreCompile"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<TargetType>LIBRARY</TargetType>
<NoWarn>58;75</NoWarn>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<EnsureThereAreNoUnusedFsSrGenResources>False</EnsureThereAreNoUnusedFsSrGenResources>
<DefineConstants>DEBUG;TRACE;$(DefineConstants)</DefineConstants>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<CustomOutputPath>true</CustomOutputPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<OutputType>Library</OutputType>
<AssemblyName>EmptyAssembly</AssemblyName>
<TargetType>LIBRARY</TargetType>
<EnsureThereAreNoUnusedFsSrGenResources>False</EnsureThereAreNoUnusedFsSrGenResources>
<NoWarn>58;75</NoWarn>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<DefineConstants>DEBUG;TRACE;$(DefineConstants)</DefineConstants>
Expand Down