convert SourceBuild to use regular project files (#6433)
Also add it to CI.
This commit is contained in:
Родитель
80731adfaf
Коммит
08daf6d5a0
|
@ -140,3 +140,33 @@ jobs:
|
|||
publishLocation: Container
|
||||
continueOnError: true
|
||||
condition: not(succeeded())
|
||||
|
||||
- job: SourceBuild_Linux
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
timeoutInMinutes: 90
|
||||
steps:
|
||||
- script: ./eng/cibuild.sh --configuration Release /p:DotNetBuildFromSource=true /p:FSharpSourceBuild=true
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish Build Logs
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/Release'
|
||||
ArtifactName: 'SourceBuild_Linux build log'
|
||||
publishLocation: Container
|
||||
continueOnError: true
|
||||
condition: not(succeeded())
|
||||
|
||||
- job: SourceBuild_Windows
|
||||
pool:
|
||||
vmImage: windows-2019
|
||||
timeoutInMinutes: 90
|
||||
steps:
|
||||
- script: eng\CIBuild.cmd -configuration Release -noSign /p:DotNetBuildFromSource=true /p:FSharpSourceBuild=true
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish Build Logs
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\log\Release'
|
||||
ArtifactName: 'SourceBuild_Windows build log'
|
||||
publishLocation: Container
|
||||
continueOnError: true
|
||||
condition: not(succeeded())
|
||||
|
|
21
FSharp.sln
21
FSharp.sln
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26403.7
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28729.10
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Compiler.Private", "src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj", "{2E4D67B4-522D-4CF7-97E4-BA940F0B18F3}"
|
||||
EndProject
|
||||
|
@ -34,6 +34,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Libraries", "Libraries", "{
|
|||
EndProject
|
||||
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Build.UnitTests", "tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj", "{53C0DAAD-158C-4658-8EC7-D7341530239F}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Packages", "Packages", "{3840F2E7-3898-45F7-8CF7-1E6829E56DB8}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.FSharp.Compiler", "src\fsharp\FSharp.Compiler.nuget\Microsoft.FSharp.Compiler.csproj", "{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -164,6 +168,18 @@ Global
|
|||
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|x86.Build.0 = Release|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|Any CPU.Build.0 = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|x86.ActiveCfg = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|x86.Build.0 = Debug|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -179,6 +195,7 @@ Global
|
|||
{A8D9641A-9170-4CF4-8FE0-6DB8C134E1B5} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
|
||||
{88E2D422-6852-46E3-A740-83E391DC7973} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
|
||||
{53C0DAAD-158C-4658-8EC7-D7341530239F} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
|
||||
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7} = {3840F2E7-3898-45F7-8CF7-1E6829E56DB8}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {BD5177C7-1380-40E7-94D2-7768E1A8B1B8}
|
||||
|
|
|
@ -69,6 +69,21 @@
|
|||
<UpdateXlfOnBuild Condition="'$(CI)' != '1'">true</UpdateXlfOnBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- source-build workarounds -->
|
||||
<PropertyGroup Condition="'$(FSharpSourceBuild)' == 'true'">
|
||||
<DeterministicSourcePaths>false</DeterministicSourcePaths>
|
||||
<PublishWindowsPdb>false</PublishWindowsPdb>
|
||||
<RepositoryUrl Condition="'$(RepositoryUrl)' == ''">https://github.com/Microsoft/visualfsharp</RepositoryUrl>
|
||||
<RepositoryType Condition="'$(RepositoryType)' == ''">git</RepositoryType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(FSharpSourceBuild)' == 'true' AND '$(RepositoryCommit)' == ''">
|
||||
<_DotGitDir>$(RepoRoot).git</_DotGitDir>
|
||||
<_HeadFileContent Condition="Exists('$(_DotGitDir)/HEAD')">$([System.IO.File]::ReadAllText('$(_DotGitDir)/HEAD').Trim())</_HeadFileContent>
|
||||
<_RefPath Condition="$(_HeadFileContent.StartsWith('ref: '))">$(_DotGitDir)/$(_HeadFileContent.Substring(5))</_RefPath>
|
||||
<RepositoryCommit>$(BUILD_SOURCEVERSION)</RepositoryCommit>
|
||||
<RepositoryCommit Condition="'$(RepositoryCommit)' == '' AND '$(_RefPath)' != '' and Exists('$(_RefPath)')">$([System.IO.File]::ReadAllText('$(_RefPath)').Trim())</RepositoryCommit>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- other -->
|
||||
<PropertyGroup>
|
||||
<NoWarn Condition="'$(Language)' == 'F#'">$(NoWarn);FS2003</NoWarn><!-- warning when AssemblyInformationalVersion looks like '1.2.3-dev' -->
|
||||
|
|
|
@ -26,6 +26,7 @@ param (
|
|||
[switch][Alias('b')]$build,
|
||||
[switch]$rebuild,
|
||||
[switch]$sign,
|
||||
[switch]$noSign,
|
||||
[switch]$pack,
|
||||
[switch]$publish,
|
||||
[switch]$launch,
|
||||
|
@ -111,6 +112,10 @@ function Process-Arguments() {
|
|||
$script:restore = $False;
|
||||
}
|
||||
|
||||
if ($noSign) {
|
||||
$script:sign = $False;
|
||||
}
|
||||
|
||||
foreach ($property in $properties) {
|
||||
if (!$property.StartsWith("/p:", "InvariantCultureIgnoreCase")) {
|
||||
Write-Host "Invalid argument: $property"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<IntermediateOutputPath>$(ArtifactsDir)\VSSetup.obj\$(Configuration)\$(MSBuildProjectName)</IntermediateOutputPath>
|
||||
<VsixBuildLocation>$(SetupRootFolder)..\artifacts\VSSetup\$(Configuration)</VsixBuildLocation>
|
||||
<InsertionDir>$(SetupRootFolder)..\artifacts\VSSetup\$(Configuration)\Insertion</InsertionDir>
|
||||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
</SwrProperty>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<Target Name="Build" DependsOnTargets="ResolveProjectReferences">
|
||||
<Target Name="Build"
|
||||
DependsOnTargets="ResolveProjectReferences"
|
||||
Condition="'$(DotNetBuildFromSource)' != 'true'">
|
||||
<MakeDir Directories="$(IntermediateOutputPath)" ContinueOnError="True"/>
|
||||
</Target>
|
||||
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
@if "%_echo%"=="" echo off
|
||||
|
||||
set __scriptpath=%~dp0
|
||||
|
||||
rem build tools
|
||||
dotnet restore "%__scriptpath%buildtools\fslex\fslex.fsproj"
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
dotnet publish "%__scriptpath%buildtools\fslex\fslex.fsproj" -o "%__scriptpath%..\Tools\fslex"
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
dotnet restore "%__scriptpath%buildtools\fsyacc\fsyacc.fsproj"
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
dotnet publish "%__scriptpath%buildtools\fsyacc\fsyacc.fsproj" -o "%__scriptpath%..\Tools\fsyacc"
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
|
||||
rem build and pack tools
|
||||
dotnet restore "%__scriptpath%buildfromsource\FSharp.Compiler.nuget\FSharp.Compiler.nuget.fsproj"
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
dotnet pack "%__scriptpath%buildfromsource\FSharp.Compiler.nuget\FSharp.Compiler.nuget.fsproj" -c Release
|
||||
if ERRORLEVEL 1 echo Error: failed && goto :failure
|
||||
|
||||
goto :success
|
||||
|
||||
REM ------ exit -------------------------------------
|
||||
:failure
|
||||
endlocal
|
||||
exit /b 1
|
||||
|
||||
:success
|
||||
endlocal
|
||||
exit /b 0
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
|
||||
|
||||
# build tools
|
||||
dotnet restore $__scriptpath/buildtools/fslex/fslex.fsproj
|
||||
dotnet publish $__scriptpath/buildtools/fslex/fslex.fsproj -o $__scriptpath/../Tools/fslex
|
||||
dotnet restore $__scriptpath/buildtools/fsyacc/fsyacc.fsproj
|
||||
dotnet publish $__scriptpath/buildtools/fsyacc/fsyacc.fsproj -o $__scriptpath/../Tools/fsyacc
|
||||
|
||||
# build tools
|
||||
dotnet restore $__scriptpath/buildfromsource/FSharp.Build/FSharp.Build.fsproj
|
||||
dotnet publish $__scriptpath/buildfromsource/FSharp.Build/FSharp.Build.fsproj
|
||||
|
||||
dotnet restore $__scriptpath/buildfromsource/Fsi/Fsi.fsproj
|
||||
dotnet publish $__scriptpath/buildfromsource/Fsi/Fsi.fsproj
|
||||
|
||||
dotnet restore $__scriptpath/buildfromsource/Fsc/Fsc.fsproj
|
||||
dotnet publish $__scriptpath/buildfromsource/Fsc/Fsc.fsproj
|
||||
|
||||
# build and pack tools
|
||||
dotnet restore $__scriptpath/buildfromsource/FSharp.Compiler.nuget/FSharp.Compiler.nuget.fsproj
|
||||
dotnet pack $__scriptpath/buildfromsource/FSharp.Compiler.nuget/FSharp.Compiler.nuget.fsproj -c Release
|
|
@ -1,94 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<FSCoreVersion>4.6.0.0</FSCoreVersion>
|
||||
<OutputPath>$(MSBuildThisFileDirectory)../../BuildFromSource/$(Configuration)/bin</OutputPath>
|
||||
<FSharpSourcesRoot>$(MSBuildThisFileDirectory)..</FSharpSourcesRoot>
|
||||
|
||||
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
|
||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
||||
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
|
||||
<UseStandardResourceNames>false</UseStandardResourceNames>
|
||||
<DefineConstants>$(DefineConstants);BUILD_FROM_SOURCE</DefineConstants>
|
||||
|
||||
<!-- Signing flags currently done using OtherFlags. Can migrate to properties once build target updated -->
|
||||
<KeyFile>$(MSBuildThisFileDirectory)../buildtools/keys/MSFT.snk</KeyFile>
|
||||
<PublicSign>true</PublicSign>
|
||||
<OtherFlags>$(OtherFlags) --publicsign --keyfile:"$(KeyFile)"</OtherFlags>
|
||||
<OtherFlags>$(OtherFlags) --nocopyfsharpcore</OtherFlags>
|
||||
|
||||
<DotNetExe Condition=" '$(OS)' == 'Unix' ">dotnet</DotNetExe>
|
||||
<DotNetExe Condition=" '$(OS)' != 'Unix' ">dotnet.exe</DotNetExe>
|
||||
<!-- When building from source, `dotnet` is expected to be on the path. -->
|
||||
<DotNetExePath>$(DotNetExe)</DotNetExePath>
|
||||
|
||||
<PreReleaseLabel></PreReleaseLabel>
|
||||
<BuildVersionFilePath Condition="'$(BuildVersionFilePath)'==''" >$(IntermediateOutputFile)\BuildVersionFile.props</BuildVersionFilePath>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetDotnetProfile Condition=" $(TargetFramework.StartsWith('netstandard')) or $(TargetFramework.StartsWith('netcoreapp1.0')) ">coreclr</TargetDotnetProfile>
|
||||
<TargetDotnetProfile Condition=" $(TargetFramework.StartsWith('netframework')) ">net40</TargetDotnetProfile>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(BuildVersionFilePath)" Condition="Exists('$(BuildVersionFilePath)')" />
|
||||
|
||||
<ItemGroup>
|
||||
<AvailableItemName Include="FsLex">
|
||||
<Visible>false</Visible>
|
||||
</AvailableItemName>
|
||||
<AvailableItemName Include="FsYacc">
|
||||
<Visible>false</Visible>
|
||||
</AvailableItemName>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Build FsLex files. -->
|
||||
<Target Name="CallFsLex"
|
||||
Inputs="@(FsLex)"
|
||||
Outputs="@(FsLex->'$(FsLexOutputFolder)%(Filename).fs')"
|
||||
Condition="'@(FsLex)'!=''"
|
||||
BeforeTargets="CoreCompile">
|
||||
|
||||
<PropertyGroup>
|
||||
<FsLexPath>$(MSBuildThisFileDirectory)../../Tools/fslex/fslex.dll</FsLexPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Create the output directory -->
|
||||
<MakeDir Directories="$(FsLexOutputFolder)"/>
|
||||
|
||||
<!-- Run the tool -->
|
||||
<Exec Command=""$(DotNetExePath)" "$(FsLexPath)" -o "$(FsLexOutputFolder)%(FsLex.Filename).fs" %(FsLex.OtherFlags) %(FsLex.Identity)" />
|
||||
|
||||
<!-- Make sure it will get cleaned -->
|
||||
<CreateItem Include="$(FsLexOutputFolder)%(FsLex.Filename).fs">
|
||||
<Output TaskParameter="Include" ItemName="FileWrites"/>
|
||||
</CreateItem>
|
||||
</Target>
|
||||
|
||||
<!-- Build FsYacc files. -->
|
||||
<Target Name="CallFsYacc"
|
||||
Inputs="@(FsYacc)"
|
||||
Outputs="@(FsYacc->'$(FsYaccOutputFolder)%(Filename).fs')"
|
||||
Condition="'@(FsYacc)'!=''"
|
||||
BeforeTargets="CoreCompile">
|
||||
|
||||
<PropertyGroup>
|
||||
<FsYaccPath>$(MSBuildThisFileDirectory)../../Tools/fsyacc/fsyacc.dll</FsYaccPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Create the output directory -->
|
||||
<MakeDir Directories="$(FsYaccOutputFolder)" />
|
||||
|
||||
<!-- Run the tool -->
|
||||
<Exec Command=""$(DotNetExePath)" "$(FsYaccPath)" -o "$(FsYaccOutputFolder)%(FsYacc.Filename).fs" %(FsYacc.OtherFlags) %(FsYacc.Identity)" />
|
||||
|
||||
<!-- Make sure it will get cleaned -->
|
||||
<CreateItem Include="$(FsYaccOutputFolder)%(FsYacc.Filename).fs">
|
||||
<Output TaskParameter="Include" ItemName="FileWrites"/>
|
||||
</CreateItem>
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
<Project>
|
||||
|
||||
<Import Project="targets\PackageVersions.props" />
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
<Project>
|
||||
|
||||
<Import Project="..\..\FSharp.Profiles.props" />
|
||||
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
|
||||
[<assembly:AssemblyDescription("FSharp.Build.dll")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("FSharp.Build.dll")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:AssemblyInformationalVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.22.0")>]
|
||||
do()
|
|
@ -1,125 +0,0 @@
|
|||
// This is a generated file; the original input is 'FSBuild.txt'
|
||||
namespace FSBuild
|
||||
|
||||
open Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators
|
||||
open Microsoft.FSharp.Reflection
|
||||
open System.Reflection
|
||||
// (namespaces below for specific case of using the tool to compile FSharp.Core itself)
|
||||
open Microsoft.FSharp.Core
|
||||
open Microsoft.FSharp.Core.Operators
|
||||
open Microsoft.FSharp.Text
|
||||
open Microsoft.FSharp.Collections
|
||||
open Printf
|
||||
|
||||
type internal SR private() =
|
||||
|
||||
// BEGIN BOILERPLATE
|
||||
|
||||
static let getCurrentAssembly () =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
typeof<SR>.GetTypeInfo().Assembly
|
||||
#else
|
||||
System.Reflection.Assembly.GetExecutingAssembly()
|
||||
#endif
|
||||
|
||||
static let getTypeInfo (t: System.Type) =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
t.GetTypeInfo()
|
||||
#else
|
||||
t
|
||||
#endif
|
||||
|
||||
static let resources = lazy (new System.Resources.ResourceManager("FSBuild", getCurrentAssembly()))
|
||||
|
||||
static let GetString(name:string) =
|
||||
let s = resources.Value.GetString(name, System.Globalization.CultureInfo.CurrentUICulture)
|
||||
#if DEBUG
|
||||
if null = s then
|
||||
System.Diagnostics.Debug.Assert(false, sprintf "**RESOURCE ERROR**: Resource token %s does not exist!" name)
|
||||
#endif
|
||||
s
|
||||
|
||||
static let mkFunctionValue (tys: System.Type[]) (impl:obj->obj) =
|
||||
FSharpValue.MakeFunction(FSharpType.MakeFunctionType(tys.[0],tys.[1]), impl)
|
||||
|
||||
static let funTyC = typeof<(obj -> obj)>.GetGenericTypeDefinition()
|
||||
|
||||
static let isNamedType(ty:System.Type) = not (ty.IsArray || ty.IsByRef || ty.IsPointer)
|
||||
static let isFunctionType (ty1:System.Type) =
|
||||
isNamedType(ty1) && getTypeInfo(ty1).IsGenericType && (ty1.GetGenericTypeDefinition()).Equals(funTyC)
|
||||
|
||||
static let rec destFunTy (ty:System.Type) =
|
||||
if isFunctionType ty then
|
||||
ty, ty.GetGenericArguments()
|
||||
else
|
||||
match getTypeInfo(ty).BaseType with
|
||||
| null -> failwith "destFunTy: not a function type"
|
||||
| b -> destFunTy b
|
||||
|
||||
static let buildFunctionForOneArgPat (ty: System.Type) impl =
|
||||
let _,tys = destFunTy ty
|
||||
let rty = tys.[1]
|
||||
// PERF: this technique is a bit slow (e.g. in simple cases, like 'sprintf "%x"')
|
||||
mkFunctionValue tys (fun inp -> impl rty inp)
|
||||
|
||||
static let capture1 (fmt:string) i args ty (go : obj list -> System.Type -> int -> obj) : obj =
|
||||
match fmt.[i] with
|
||||
| '%' -> go args ty (i+1)
|
||||
| 'd'
|
||||
| 'f'
|
||||
| 's' -> buildFunctionForOneArgPat ty (fun rty n -> go (n::args) rty (i+1))
|
||||
| _ -> failwith "bad format specifier"
|
||||
|
||||
// newlines and tabs get converted to strings when read from a resource file
|
||||
// this will preserve their original intention
|
||||
static let postProcessString (s : string) =
|
||||
s.Replace("\\n","\n").Replace("\\t","\t").Replace("\\r","\r").Replace("\\\"", "\"")
|
||||
|
||||
static let createMessageString (messageString : string) (fmt : Printf.StringFormat<'T>) : 'T =
|
||||
let fmt = fmt.Value // here, we use the actual error string, as opposed to the one stored as fmt
|
||||
let len = fmt.Length
|
||||
|
||||
/// Function to capture the arguments and then run.
|
||||
let rec capture args ty i =
|
||||
if i >= len || (fmt.[i] = '%' && i+1 >= len) then
|
||||
let b = new System.Text.StringBuilder()
|
||||
b.AppendFormat(messageString, [| for x in List.rev args -> x |]) |> ignore
|
||||
box(b.ToString())
|
||||
// REVIEW: For these purposes, this should be a nop, but I'm leaving it
|
||||
// in incase we ever decide to support labels for the error format string
|
||||
// E.g., "<name>%s<foo>%d"
|
||||
elif System.Char.IsSurrogatePair(fmt,i) then
|
||||
capture args ty (i+2)
|
||||
else
|
||||
match fmt.[i] with
|
||||
| '%' ->
|
||||
let i = i+1
|
||||
capture1 fmt i args ty capture
|
||||
| _ ->
|
||||
capture args ty (i+1)
|
||||
|
||||
(unbox (capture [] (typeof<'T>) 0) : 'T)
|
||||
|
||||
static let mutable swallowResourceText = false
|
||||
|
||||
static let GetStringFunc((messageID : string),(fmt : Printf.StringFormat<'T>)) : 'T =
|
||||
if swallowResourceText then
|
||||
sprintf fmt
|
||||
else
|
||||
let mutable messageString = GetString(messageID)
|
||||
messageString <- postProcessString messageString
|
||||
createMessageString messageString fmt
|
||||
|
||||
/// If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines).
|
||||
static member SwallowResourceText with get () = swallowResourceText
|
||||
and set (b) = swallowResourceText <- b
|
||||
// END BOILERPLATE
|
||||
|
||||
/// ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.
|
||||
/// (Originally from FSBuild.txt:2)
|
||||
static member toolpathUnknown() = (GetStringFunc("toolpathUnknown",",,,") )
|
||||
|
||||
/// Call this method once to validate that all known resources are valid; throws if not
|
||||
static member RunStartupValidation() =
|
||||
ignore(GetString("toolpathUnknown"))
|
||||
()
|
|
@ -1,123 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="toolpathUnknown" xml:space="preserve">
|
||||
<value>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,48 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyName>FSharp.Build</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<OtherFlags>$(OtherFlags) --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="FSBuild.resx">
|
||||
<Link>FSBuild.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="FSBuild.fs" />
|
||||
<Compile Include="AssemblyInfo.fs" />
|
||||
<Compile Include="..\..\utils\CompilerLocationUtils.fs" />
|
||||
<Compile Include="..\..\utils\reshapedreflection.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\FSharpCommandLineBuilder.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Fsc.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\FSharpEmbedResourceText.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\FSharpEmbedResXSource.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\WriteCodeFragment.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\CreateFSharpManifestResourceName.fs" />
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Microsoft.FSharp.Targets" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Microsoft.Portable.FSharp.Targets" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Microsoft.FSharp.NetSdk.props" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Microsoft.FSharp.NetSdk.targets" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\FSharp.Build\Microsoft.FSharp.Overrides.NetSdk.targets" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCorePackageVersion)" />
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCorePackageVersion)" />
|
||||
<PackageReference Include="Microsoft.Win32.Registry" Version="$(MicrosoftWin32RegistryPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,16 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
open System.Runtime.InteropServices
|
||||
|
||||
[<assembly:AssemblyDescription("FSharp.Compiler.Interactive.Settings.dll")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("FSharp.Compiler.Interactive.Settings.dll")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:ComVisible(false)>]
|
||||
[<assembly:AssemblyInformationalVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.22.0")>]
|
||||
do()
|
|
@ -1,121 +0,0 @@
|
|||
// This is a generated file; the original input is '..\FSInteractiveSettings.txt'
|
||||
namespace FSInteractiveSettings
|
||||
|
||||
open Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators
|
||||
open Microsoft.FSharp.Reflection
|
||||
open System.Reflection
|
||||
// (namespaces below for specific case of using the tool to compile FSharp.Core itself)
|
||||
open Microsoft.FSharp.Core
|
||||
open Microsoft.FSharp.Core.Operators
|
||||
open Microsoft.FSharp.Text
|
||||
open Microsoft.FSharp.Collections
|
||||
open Printf
|
||||
|
||||
type internal SR private() =
|
||||
|
||||
// BEGIN BOILERPLATE
|
||||
|
||||
static let getCurrentAssembly () =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
typeof<SR>.GetTypeInfo().Assembly
|
||||
#else
|
||||
System.Reflection.Assembly.GetExecutingAssembly()
|
||||
#endif
|
||||
|
||||
static let getTypeInfo (t: System.Type) =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
t.GetTypeInfo()
|
||||
#else
|
||||
t
|
||||
#endif
|
||||
|
||||
static let resources = lazy (new System.Resources.ResourceManager("FSInteractiveSettings", getCurrentAssembly()))
|
||||
|
||||
static let GetString(name:string) =
|
||||
let s = resources.Value.GetString(name, System.Globalization.CultureInfo.CurrentUICulture)
|
||||
#if DEBUG
|
||||
if null = s then
|
||||
System.Diagnostics.Debug.Assert(false, sprintf "**RESOURCE ERROR**: Resource token %s does not exist!" name)
|
||||
#endif
|
||||
s
|
||||
|
||||
static let mkFunctionValue (tys: System.Type[]) (impl:obj->obj) =
|
||||
FSharpValue.MakeFunction(FSharpType.MakeFunctionType(tys.[0],tys.[1]), impl)
|
||||
|
||||
static let funTyC = typeof<(obj -> obj)>.GetGenericTypeDefinition()
|
||||
|
||||
static let isNamedType(ty:System.Type) = not (ty.IsArray || ty.IsByRef || ty.IsPointer)
|
||||
static let isFunctionType (ty1:System.Type) =
|
||||
isNamedType(ty1) && getTypeInfo(ty1).IsGenericType && (ty1.GetGenericTypeDefinition()).Equals(funTyC)
|
||||
|
||||
static let rec destFunTy (ty:System.Type) =
|
||||
if isFunctionType ty then
|
||||
ty, ty.GetGenericArguments()
|
||||
else
|
||||
match getTypeInfo(ty).BaseType with
|
||||
| null -> failwith "destFunTy: not a function type"
|
||||
| b -> destFunTy b
|
||||
|
||||
static let buildFunctionForOneArgPat (ty: System.Type) impl =
|
||||
let _,tys = destFunTy ty
|
||||
let rty = tys.[1]
|
||||
// PERF: this technique is a bit slow (e.g. in simple cases, like 'sprintf "%x"')
|
||||
mkFunctionValue tys (fun inp -> impl rty inp)
|
||||
|
||||
static let capture1 (fmt:string) i args ty (go : obj list -> System.Type -> int -> obj) : obj =
|
||||
match fmt.[i] with
|
||||
| '%' -> go args ty (i+1)
|
||||
| 'd'
|
||||
| 'f'
|
||||
| 's' -> buildFunctionForOneArgPat ty (fun rty n -> go (n::args) rty (i+1))
|
||||
| _ -> failwith "bad format specifier"
|
||||
|
||||
// newlines and tabs get converted to strings when read from a resource file
|
||||
// this will preserve their original intention
|
||||
static let postProcessString (s : string) =
|
||||
s.Replace("\\n","\n").Replace("\\t","\t").Replace("\\r","\r").Replace("\\\"", "\"")
|
||||
|
||||
static let createMessageString (messageString : string) (fmt : Printf.StringFormat<'T>) : 'T =
|
||||
let fmt = fmt.Value // here, we use the actual error string, as opposed to the one stored as fmt
|
||||
let len = fmt.Length
|
||||
|
||||
/// Function to capture the arguments and then run.
|
||||
let rec capture args ty i =
|
||||
if i >= len || (fmt.[i] = '%' && i+1 >= len) then
|
||||
let b = new System.Text.StringBuilder()
|
||||
b.AppendFormat(messageString, [| for x in List.rev args -> x |]) |> ignore
|
||||
box(b.ToString())
|
||||
// REVIEW: For these purposes, this should be a nop, but I'm leaving it
|
||||
// in incase we ever decide to support labels for the error format string
|
||||
// E.g., "<name>%s<foo>%d"
|
||||
elif System.Char.IsSurrogatePair(fmt,i) then
|
||||
capture args ty (i+2)
|
||||
else
|
||||
match fmt.[i] with
|
||||
| '%' ->
|
||||
let i = i+1
|
||||
capture1 fmt i args ty capture
|
||||
| _ ->
|
||||
capture args ty (i+1)
|
||||
|
||||
(unbox (capture [] (typeof<'T>) 0) : 'T)
|
||||
|
||||
static let mutable swallowResourceText = false
|
||||
|
||||
static let GetStringFunc((messageID : string),(fmt : Printf.StringFormat<'T>)) : 'T =
|
||||
if swallowResourceText then
|
||||
sprintf fmt
|
||||
else
|
||||
let mutable messageString = GetString(messageID)
|
||||
messageString <- postProcessString messageString
|
||||
createMessageString messageString fmt
|
||||
|
||||
/// If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines).
|
||||
static member SwallowResourceText with get () = swallowResourceText
|
||||
and set (b) = swallowResourceText <- b
|
||||
// END BOILERPLATE
|
||||
|
||||
|
||||
/// Call this method once to validate that all known resources are valid; throws if not
|
||||
static member RunStartupValidation() =
|
||||
()
|
|
@ -1,120 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyName>FSharp.Compiler.Interactive.Settings</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1182;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<OtherFlags>$(OtherFlags) --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="FSInteractiveSettings.resx">
|
||||
<Link>FSInteractiveSettings.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="FSInteractiveSettings.fs" />
|
||||
<Compile Include="AssemblyInfo.fs" />
|
||||
<Compile Include="InternalsVisibleTo.fs" />
|
||||
<Compile Include="..\..\utils\reshapedreflection.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\fsiattrs.fs" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\fsiaux.fsi" />
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\fsiaux.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,9 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("fsi, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("fsiAnyCpu, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Compiler, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
|
||||
do()
|
|
@ -1,11 +0,0 @@
|
|||
illex.fs
|
||||
ilpars.fs
|
||||
ilpars.fsi
|
||||
lex.fs
|
||||
pars.fs
|
||||
pars.fsi
|
||||
pplex.fs
|
||||
pppars.fs
|
||||
pppars.fsi
|
||||
FSComp.resources
|
||||
FSComp.*.resources
|
|
@ -1,16 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
open System.Runtime.InteropServices
|
||||
|
||||
[<assembly:AssemblyDescription("FSharp.Compiler.Private.dll")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("FSharp.Compiler.Private.dll")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:ComVisible(false)>]
|
||||
[<assembly:AssemblyInformationalVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.22.0")>]
|
||||
do()
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,333 +0,0 @@
|
|||
// This is a generated file; the original input is '..\fsi\FSIstrings.txt'
|
||||
namespace FSIstrings
|
||||
|
||||
open Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators
|
||||
open Microsoft.FSharp.Reflection
|
||||
open System.Reflection
|
||||
// (namespaces below for specific case of using the tool to compile FSharp.Core itself)
|
||||
open Microsoft.FSharp.Core
|
||||
open Microsoft.FSharp.Core.Operators
|
||||
open Microsoft.FSharp.Text
|
||||
open Microsoft.FSharp.Collections
|
||||
open Printf
|
||||
|
||||
type internal SR private() =
|
||||
|
||||
// BEGIN BOILERPLATE
|
||||
|
||||
static let getCurrentAssembly () =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
typeof<SR>.GetTypeInfo().Assembly
|
||||
#else
|
||||
System.Reflection.Assembly.GetExecutingAssembly()
|
||||
#endif
|
||||
|
||||
static let getTypeInfo (t: System.Type) =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
t.GetTypeInfo()
|
||||
#else
|
||||
t
|
||||
#endif
|
||||
|
||||
static let resources = lazy (new System.Resources.ResourceManager("FSIstrings", getCurrentAssembly()))
|
||||
|
||||
static let GetString(name:string) =
|
||||
let s = resources.Value.GetString(name, System.Globalization.CultureInfo.CurrentUICulture)
|
||||
#if DEBUG
|
||||
if null = s then
|
||||
System.Diagnostics.Debug.Assert(false, sprintf "**RESOURCE ERROR**: Resource token %s does not exist!" name)
|
||||
#endif
|
||||
s
|
||||
|
||||
static let mkFunctionValue (tys: System.Type[]) (impl:obj->obj) =
|
||||
FSharpValue.MakeFunction(FSharpType.MakeFunctionType(tys.[0],tys.[1]), impl)
|
||||
|
||||
static let funTyC = typeof<(obj -> obj)>.GetGenericTypeDefinition()
|
||||
|
||||
static let isNamedType(ty:System.Type) = not (ty.IsArray || ty.IsByRef || ty.IsPointer)
|
||||
static let isFunctionType (ty1:System.Type) =
|
||||
isNamedType(ty1) && getTypeInfo(ty1).IsGenericType && (ty1.GetGenericTypeDefinition()).Equals(funTyC)
|
||||
|
||||
static let rec destFunTy (ty:System.Type) =
|
||||
if isFunctionType ty then
|
||||
ty, ty.GetGenericArguments()
|
||||
else
|
||||
match getTypeInfo(ty).BaseType with
|
||||
| null -> failwith "destFunTy: not a function type"
|
||||
| b -> destFunTy b
|
||||
|
||||
static let buildFunctionForOneArgPat (ty: System.Type) impl =
|
||||
let _,tys = destFunTy ty
|
||||
let rty = tys.[1]
|
||||
// PERF: this technique is a bit slow (e.g. in simple cases, like 'sprintf "%x"')
|
||||
mkFunctionValue tys (fun inp -> impl rty inp)
|
||||
|
||||
static let capture1 (fmt:string) i args ty (go : obj list -> System.Type -> int -> obj) : obj =
|
||||
match fmt.[i] with
|
||||
| '%' -> go args ty (i+1)
|
||||
| 'd'
|
||||
| 'f'
|
||||
| 's' -> buildFunctionForOneArgPat ty (fun rty n -> go (n::args) rty (i+1))
|
||||
| _ -> failwith "bad format specifier"
|
||||
|
||||
// newlines and tabs get converted to strings when read from a resource file
|
||||
// this will preserve their original intention
|
||||
static let postProcessString (s : string) =
|
||||
s.Replace("\\n","\n").Replace("\\t","\t").Replace("\\r","\r").Replace("\\\"", "\"")
|
||||
|
||||
static let createMessageString (messageString : string) (fmt : Printf.StringFormat<'T>) : 'T =
|
||||
let fmt = fmt.Value // here, we use the actual error string, as opposed to the one stored as fmt
|
||||
let len = fmt.Length
|
||||
|
||||
/// Function to capture the arguments and then run.
|
||||
let rec capture args ty i =
|
||||
if i >= len || (fmt.[i] = '%' && i+1 >= len) then
|
||||
let b = new System.Text.StringBuilder()
|
||||
b.AppendFormat(messageString, [| for x in List.rev args -> x |]) |> ignore
|
||||
box(b.ToString())
|
||||
// REVIEW: For these purposes, this should be a nop, but I'm leaving it
|
||||
// in incase we ever decide to support labels for the error format string
|
||||
// E.g., "<name>%s<foo>%d"
|
||||
elif System.Char.IsSurrogatePair(fmt,i) then
|
||||
capture args ty (i+2)
|
||||
else
|
||||
match fmt.[i] with
|
||||
| '%' ->
|
||||
let i = i+1
|
||||
capture1 fmt i args ty capture
|
||||
| _ ->
|
||||
capture args ty (i+1)
|
||||
|
||||
(unbox (capture [] (typeof<'T>) 0) : 'T)
|
||||
|
||||
static let mutable swallowResourceText = false
|
||||
|
||||
static let GetStringFunc((messageID : string),(fmt : Printf.StringFormat<'T>)) : 'T =
|
||||
if swallowResourceText then
|
||||
sprintf fmt
|
||||
else
|
||||
let mutable messageString = GetString(messageID)
|
||||
messageString <- postProcessString messageString
|
||||
createMessageString messageString fmt
|
||||
|
||||
/// If set to true, then all error messages will just return the filled 'holes' delimited by ',,,'s - this is for language-neutral testing (e.g. localization-invariant baselines).
|
||||
static member SwallowResourceText with get () = swallowResourceText
|
||||
and set (b) = swallowResourceText <- b
|
||||
// END BOILERPLATE
|
||||
|
||||
/// Stopped due to error\n
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:2)
|
||||
static member stoppedDueToError() = (GetStringFunc("stoppedDueToError",",,,") )
|
||||
/// Usage: %s <options> [script.fsx [<arguments>]]
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:3)
|
||||
static member fsiUsage(a0 : System.String) = (GetStringFunc("fsiUsage",",,,%s,,,") a0)
|
||||
/// - INPUT FILES -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:4)
|
||||
static member fsiInputFiles() = (GetStringFunc("fsiInputFiles",",,,") )
|
||||
/// - CODE GENERATION -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:5)
|
||||
static member fsiCodeGeneration() = (GetStringFunc("fsiCodeGeneration",",,,") )
|
||||
/// - ERRORS AND WARNINGS -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:6)
|
||||
static member fsiErrorsAndWarnings() = (GetStringFunc("fsiErrorsAndWarnings",",,,") )
|
||||
/// - LANGUAGE -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:7)
|
||||
static member fsiLanguage() = (GetStringFunc("fsiLanguage",",,,") )
|
||||
/// - MISCELLANEOUS -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:8)
|
||||
static member fsiMiscellaneous() = (GetStringFunc("fsiMiscellaneous",",,,") )
|
||||
/// - ADVANCED -
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:9)
|
||||
static member fsiAdvanced() = (GetStringFunc("fsiAdvanced",",,,") )
|
||||
/// Exception raised when starting remoting server.\n%s
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:10)
|
||||
static member fsiExceptionRaisedStartingServer(a0 : System.String) = (GetStringFunc("fsiExceptionRaisedStartingServer",",,,%s,,,") a0)
|
||||
/// Use the given file on startup as initial input
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:11)
|
||||
static member fsiUse() = (GetStringFunc("fsiUse",",,,") )
|
||||
/// #load the given file on startup
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:12)
|
||||
static member fsiLoad() = (GetStringFunc("fsiLoad",",,,") )
|
||||
/// Treat remaining arguments as command line arguments, accessed using fsi.CommandLineArgs
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:13)
|
||||
static member fsiRemaining() = (GetStringFunc("fsiRemaining",",,,") )
|
||||
/// Display this usage message (Short form: -?)
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:14)
|
||||
static member fsiHelp() = (GetStringFunc("fsiHelp",",,,") )
|
||||
/// Exit fsi after loading the files or running the .fsx script given on the command line
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:15)
|
||||
static member fsiExec() = (GetStringFunc("fsiExec",",,,") )
|
||||
/// Execute interactions on a Windows Forms event loop (on by default)
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:16)
|
||||
static member fsiGui() = (GetStringFunc("fsiGui",",,,") )
|
||||
/// Suppress fsi writing to stdout
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:17)
|
||||
static member fsiQuiet() = (GetStringFunc("fsiQuiet",",,,") )
|
||||
/// Support TAB completion in console (on by default)
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:18)
|
||||
static member fsiReadline() = (GetStringFunc("fsiReadline",",,,") )
|
||||
/// Emit debug information in quotations
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:19)
|
||||
static member fsiEmitDebugInfoInQuotations() = (GetStringFunc("fsiEmitDebugInfoInQuotations",",,,") )
|
||||
/// For help type #help;;
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:20)
|
||||
static member fsiBanner3() = (GetStringFunc("fsiBanner3",",,,") )
|
||||
/// A problem occurred starting the F# Interactive process. This may be due to a known problem with background process console support for Unicode-enabled applications on some Windows systems. Try selecting Tools->Options->F# Interactive for Visual Studio and enter '--fsi-server-no-unicode'.
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:21)
|
||||
static member fsiConsoleProblem() = (GetStringFunc("fsiConsoleProblem",",,,") )
|
||||
/// '%s' is not a valid assembly name
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:22)
|
||||
static member fsiInvalidAssembly(a0 : System.String) = (2301, GetStringFunc("fsiInvalidAssembly",",,,%s,,,") a0)
|
||||
/// Directory '%s' doesn't exist
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:23)
|
||||
static member fsiDirectoryDoesNotExist(a0 : System.String) = (2302, GetStringFunc("fsiDirectoryDoesNotExist",",,,%s,,,") a0)
|
||||
/// Invalid directive '#%s %s'
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:24)
|
||||
static member fsiInvalidDirective(a0 : System.String, a1 : System.String) = (GetStringFunc("fsiInvalidDirective",",,,%s,,,%s,,,") a0 a1)
|
||||
/// Warning: line too long, ignoring some characters\n
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:25)
|
||||
static member fsiLineTooLong() = (GetStringFunc("fsiLineTooLong",",,,") )
|
||||
/// Real: %s, CPU: %s, GC %s
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:26)
|
||||
static member fsiTimeInfoMainString(a0 : System.String, a1 : System.String, a2 : System.String) = (GetStringFunc("fsiTimeInfoMainString",",,,%s,,,%s,,,%s,,,") a0 a1 a2)
|
||||
/// gen
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:27)
|
||||
static member fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration() = (GetStringFunc("fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration",",,,") )
|
||||
/// \n\nException raised during pretty printing.\nPlease report this so it can be fixed.\nTrace: %s\n
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:28)
|
||||
static member fsiExceptionDuringPrettyPrinting(a0 : System.String) = (GetStringFunc("fsiExceptionDuringPrettyPrinting",",,,%s,,,") a0)
|
||||
/// F# Interactive directives:
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:29)
|
||||
static member fsiIntroTextHeader1directives() = (GetStringFunc("fsiIntroTextHeader1directives",",,,") )
|
||||
/// Reference (dynamically load) the given DLL
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:30)
|
||||
static member fsiIntroTextHashrInfo() = (GetStringFunc("fsiIntroTextHashrInfo",",,,") )
|
||||
/// Add the given search path for referenced DLLs
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:31)
|
||||
static member fsiIntroTextHashIInfo() = (GetStringFunc("fsiIntroTextHashIInfo",",,,") )
|
||||
/// Load the given file(s) as if compiled and referenced
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:32)
|
||||
static member fsiIntroTextHashloadInfo() = (GetStringFunc("fsiIntroTextHashloadInfo",",,,") )
|
||||
/// Toggle timing on/off
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:33)
|
||||
static member fsiIntroTextHashtimeInfo() = (GetStringFunc("fsiIntroTextHashtimeInfo",",,,") )
|
||||
/// Display help
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:34)
|
||||
static member fsiIntroTextHashhelpInfo() = (GetStringFunc("fsiIntroTextHashhelpInfo",",,,") )
|
||||
/// Exit
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:35)
|
||||
static member fsiIntroTextHashquitInfo() = (GetStringFunc("fsiIntroTextHashquitInfo",",,,") )
|
||||
/// F# Interactive command line options:
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:36)
|
||||
static member fsiIntroTextHeader2commandLine() = (GetStringFunc("fsiIntroTextHeader2commandLine",",,,") )
|
||||
/// See '%s' for options
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:37)
|
||||
static member fsiIntroTextHeader3(a0 : System.String) = (GetStringFunc("fsiIntroTextHeader3",",,,%s,,,") a0)
|
||||
/// Loading
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:38)
|
||||
static member fsiLoadingFilesPrefixText() = (GetStringFunc("fsiLoadingFilesPrefixText",",,,") )
|
||||
/// \n- Interrupt\n
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:39)
|
||||
static member fsiInterrupt() = (GetStringFunc("fsiInterrupt",",,,") )
|
||||
/// \n- Exit...\n
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:40)
|
||||
static member fsiExit() = (GetStringFunc("fsiExit",",,,") )
|
||||
/// - Aborting main thread...
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:41)
|
||||
static member fsiAbortingMainThread() = (GetStringFunc("fsiAbortingMainThread",",,,") )
|
||||
/// Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was:\n\t%s
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:42)
|
||||
static member fsiCouldNotInstallCtrlCHandler(a0 : System.String) = (GetStringFunc("fsiCouldNotInstallCtrlCHandler",",,,%s,,,") a0)
|
||||
/// --> Referenced '%s'
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:43)
|
||||
static member fsiDidAHashr(a0 : System.String) = (GetStringFunc("fsiDidAHashr",",,,%s,,,") a0)
|
||||
/// --> Referenced '%s' (file may be locked by F# Interactive process)
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:44)
|
||||
static member fsiDidAHashrWithLockWarning(a0 : System.String) = (GetStringFunc("fsiDidAHashrWithLockWarning",",,,%s,,,") a0)
|
||||
/// --> Referenced '%s' (an assembly with a different timestamp has already been referenced from this location, reset fsi to load the updated assembly)
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:45)
|
||||
static member fsiDidAHashrWithStaleWarning(a0 : System.String) = (GetStringFunc("fsiDidAHashrWithStaleWarning",",,,%s,,,") a0)
|
||||
/// --> Added '%s' to library include path
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:46)
|
||||
static member fsiDidAHashI(a0 : System.String) = (GetStringFunc("fsiDidAHashI",",,,%s,,,") a0)
|
||||
/// --> Timing now on
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:47)
|
||||
static member fsiTurnedTimingOn() = (GetStringFunc("fsiTurnedTimingOn",",,,") )
|
||||
/// --> Timing now off
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:48)
|
||||
static member fsiTurnedTimingOff() = (GetStringFunc("fsiTurnedTimingOff",",,,") )
|
||||
/// - Unexpected ThreadAbortException (Ctrl-C) during event handling: Trying to restart...
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:49)
|
||||
static member fsiUnexpectedThreadAbortException() = (GetStringFunc("fsiUnexpectedThreadAbortException",",,,") )
|
||||
/// Failed to resolve assembly '%s'
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:50)
|
||||
static member fsiFailedToResolveAssembly(a0 : System.String) = (GetStringFunc("fsiFailedToResolveAssembly",",,,%s,,,") a0)
|
||||
/// Binding session to '%s'...
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:51)
|
||||
static member fsiBindingSessionTo(a0 : System.String) = (GetStringFunc("fsiBindingSessionTo",",,,%s,,,") a0)
|
||||
/// Microsoft (R) F# Interactive version %s
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:52)
|
||||
static member fsiProductName(a0 : System.String) = (GetStringFunc("fsiProductName",",,,%s,,,") a0)
|
||||
/// F# Interactive for F# %s
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:53)
|
||||
static member fsiProductNameCommunity(a0 : System.String) = (GetStringFunc("fsiProductNameCommunity",",,,%s,,,") a0)
|
||||
/// Prevents references from being locked by the F# Interactive process
|
||||
/// (Originally from ..\fsi\FSIstrings.txt:54)
|
||||
static member shadowCopyReferences() = (GetStringFunc("shadowCopyReferences",",,,") )
|
||||
|
||||
/// Call this method once to validate that all known resources are valid; throws if not
|
||||
static member RunStartupValidation() =
|
||||
ignore(GetString("stoppedDueToError"))
|
||||
ignore(GetString("fsiUsage"))
|
||||
ignore(GetString("fsiInputFiles"))
|
||||
ignore(GetString("fsiCodeGeneration"))
|
||||
ignore(GetString("fsiErrorsAndWarnings"))
|
||||
ignore(GetString("fsiLanguage"))
|
||||
ignore(GetString("fsiMiscellaneous"))
|
||||
ignore(GetString("fsiAdvanced"))
|
||||
ignore(GetString("fsiExceptionRaisedStartingServer"))
|
||||
ignore(GetString("fsiUse"))
|
||||
ignore(GetString("fsiLoad"))
|
||||
ignore(GetString("fsiRemaining"))
|
||||
ignore(GetString("fsiHelp"))
|
||||
ignore(GetString("fsiExec"))
|
||||
ignore(GetString("fsiGui"))
|
||||
ignore(GetString("fsiQuiet"))
|
||||
ignore(GetString("fsiReadline"))
|
||||
ignore(GetString("fsiEmitDebugInfoInQuotations"))
|
||||
ignore(GetString("fsiBanner3"))
|
||||
ignore(GetString("fsiConsoleProblem"))
|
||||
ignore(GetString("fsiInvalidAssembly"))
|
||||
ignore(GetString("fsiDirectoryDoesNotExist"))
|
||||
ignore(GetString("fsiInvalidDirective"))
|
||||
ignore(GetString("fsiLineTooLong"))
|
||||
ignore(GetString("fsiTimeInfoMainString"))
|
||||
ignore(GetString("fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration"))
|
||||
ignore(GetString("fsiExceptionDuringPrettyPrinting"))
|
||||
ignore(GetString("fsiIntroTextHeader1directives"))
|
||||
ignore(GetString("fsiIntroTextHashrInfo"))
|
||||
ignore(GetString("fsiIntroTextHashIInfo"))
|
||||
ignore(GetString("fsiIntroTextHashloadInfo"))
|
||||
ignore(GetString("fsiIntroTextHashtimeInfo"))
|
||||
ignore(GetString("fsiIntroTextHashhelpInfo"))
|
||||
ignore(GetString("fsiIntroTextHashquitInfo"))
|
||||
ignore(GetString("fsiIntroTextHeader2commandLine"))
|
||||
ignore(GetString("fsiIntroTextHeader3"))
|
||||
ignore(GetString("fsiLoadingFilesPrefixText"))
|
||||
ignore(GetString("fsiInterrupt"))
|
||||
ignore(GetString("fsiExit"))
|
||||
ignore(GetString("fsiAbortingMainThread"))
|
||||
ignore(GetString("fsiCouldNotInstallCtrlCHandler"))
|
||||
ignore(GetString("fsiDidAHashr"))
|
||||
ignore(GetString("fsiDidAHashrWithLockWarning"))
|
||||
ignore(GetString("fsiDidAHashrWithStaleWarning"))
|
||||
ignore(GetString("fsiDidAHashI"))
|
||||
ignore(GetString("fsiTurnedTimingOn"))
|
||||
ignore(GetString("fsiTurnedTimingOff"))
|
||||
ignore(GetString("fsiUnexpectedThreadAbortException"))
|
||||
ignore(GetString("fsiFailedToResolveAssembly"))
|
||||
ignore(GetString("fsiBindingSessionTo"))
|
||||
ignore(GetString("fsiProductName"))
|
||||
ignore(GetString("fsiProductNameCommunity"))
|
||||
ignore(GetString("shadowCopyReferences"))
|
||||
()
|
|
@ -1,279 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="stoppedDueToError" xml:space="preserve">
|
||||
<value>Stopped due to error\n</value>
|
||||
</data>
|
||||
<data name="fsiUsage" xml:space="preserve">
|
||||
<value>Usage: {0} <options> [script.fsx [<arguments>]]</value>
|
||||
</data>
|
||||
<data name="fsiInputFiles" xml:space="preserve">
|
||||
<value>- INPUT FILES -</value>
|
||||
</data>
|
||||
<data name="fsiCodeGeneration" xml:space="preserve">
|
||||
<value>- CODE GENERATION -</value>
|
||||
</data>
|
||||
<data name="fsiErrorsAndWarnings" xml:space="preserve">
|
||||
<value>- ERRORS AND WARNINGS -</value>
|
||||
</data>
|
||||
<data name="fsiLanguage" xml:space="preserve">
|
||||
<value>- LANGUAGE -</value>
|
||||
</data>
|
||||
<data name="fsiMiscellaneous" xml:space="preserve">
|
||||
<value>- MISCELLANEOUS -</value>
|
||||
</data>
|
||||
<data name="fsiAdvanced" xml:space="preserve">
|
||||
<value>- ADVANCED -</value>
|
||||
</data>
|
||||
<data name="fsiExceptionRaisedStartingServer" xml:space="preserve">
|
||||
<value>Exception raised when starting remoting server.\n{0}</value>
|
||||
</data>
|
||||
<data name="fsiUse" xml:space="preserve">
|
||||
<value>Use the given file on startup as initial input</value>
|
||||
</data>
|
||||
<data name="fsiLoad" xml:space="preserve">
|
||||
<value>#load the given file on startup</value>
|
||||
</data>
|
||||
<data name="fsiRemaining" xml:space="preserve">
|
||||
<value>Treat remaining arguments as command line arguments, accessed using fsi.CommandLineArgs</value>
|
||||
</data>
|
||||
<data name="fsiHelp" xml:space="preserve">
|
||||
<value>Display this usage message (Short form: -?)</value>
|
||||
</data>
|
||||
<data name="fsiExec" xml:space="preserve">
|
||||
<value>Exit fsi after loading the files or running the .fsx script given on the command line</value>
|
||||
</data>
|
||||
<data name="fsiGui" xml:space="preserve">
|
||||
<value>Execute interactions on a Windows Forms event loop (on by default)</value>
|
||||
</data>
|
||||
<data name="fsiQuiet" xml:space="preserve">
|
||||
<value>Suppress fsi writing to stdout</value>
|
||||
</data>
|
||||
<data name="fsiReadline" xml:space="preserve">
|
||||
<value>Support TAB completion in console (on by default)</value>
|
||||
</data>
|
||||
<data name="fsiEmitDebugInfoInQuotations" xml:space="preserve">
|
||||
<value>Emit debug information in quotations</value>
|
||||
</data>
|
||||
<data name="fsiBanner3" xml:space="preserve">
|
||||
<value>For help type #help;;</value>
|
||||
</data>
|
||||
<data name="fsiConsoleProblem" xml:space="preserve">
|
||||
<value>A problem occurred starting the F# Interactive process. This may be due to a known problem with background process console support for Unicode-enabled applications on some Windows systems. Try selecting Tools->Options->F# Interactive for Visual Studio and enter '--fsi-server-no-unicode'.</value>
|
||||
</data>
|
||||
<data name="fsiInvalidAssembly" xml:space="preserve">
|
||||
<value>'{0}' is not a valid assembly name</value>
|
||||
</data>
|
||||
<data name="fsiDirectoryDoesNotExist" xml:space="preserve">
|
||||
<value>Directory '{0}' doesn't exist</value>
|
||||
</data>
|
||||
<data name="fsiInvalidDirective" xml:space="preserve">
|
||||
<value>Invalid directive '#{0} {1}'</value>
|
||||
</data>
|
||||
<data name="fsiLineTooLong" xml:space="preserve">
|
||||
<value>Warning: line too long, ignoring some characters\n</value>
|
||||
</data>
|
||||
<data name="fsiTimeInfoMainString" xml:space="preserve">
|
||||
<value>Real: {0}, CPU: {1}, GC {2}</value>
|
||||
</data>
|
||||
<data name="fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration" xml:space="preserve">
|
||||
<value>gen</value>
|
||||
</data>
|
||||
<data name="fsiExceptionDuringPrettyPrinting" xml:space="preserve">
|
||||
<value>\n\nException raised during pretty printing.\nPlease report this so it can be fixed.\nTrace: {0}\n</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHeader1directives" xml:space="preserve">
|
||||
<value> F# Interactive directives:</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashrInfo" xml:space="preserve">
|
||||
<value>Reference (dynamically load) the given DLL</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashIInfo" xml:space="preserve">
|
||||
<value>Add the given search path for referenced DLLs</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashloadInfo" xml:space="preserve">
|
||||
<value>Load the given file(s) as if compiled and referenced</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashtimeInfo" xml:space="preserve">
|
||||
<value>Toggle timing on/off</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashhelpInfo" xml:space="preserve">
|
||||
<value>Display help</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHashquitInfo" xml:space="preserve">
|
||||
<value>Exit</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHeader2commandLine" xml:space="preserve">
|
||||
<value> F# Interactive command line options:</value>
|
||||
</data>
|
||||
<data name="fsiIntroTextHeader3" xml:space="preserve">
|
||||
<value> See '{0}' for options</value>
|
||||
</data>
|
||||
<data name="fsiLoadingFilesPrefixText" xml:space="preserve">
|
||||
<value>Loading</value>
|
||||
</data>
|
||||
<data name="fsiInterrupt" xml:space="preserve">
|
||||
<value>\n- Interrupt\n</value>
|
||||
</data>
|
||||
<data name="fsiExit" xml:space="preserve">
|
||||
<value>\n- Exit...\n</value>
|
||||
</data>
|
||||
<data name="fsiAbortingMainThread" xml:space="preserve">
|
||||
<value>- Aborting main thread...</value>
|
||||
</data>
|
||||
<data name="fsiCouldNotInstallCtrlCHandler" xml:space="preserve">
|
||||
<value>Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was:\n\t{0}</value>
|
||||
</data>
|
||||
<data name="fsiDidAHashr" xml:space="preserve">
|
||||
<value>--> Referenced '{0}'</value>
|
||||
</data>
|
||||
<data name="fsiDidAHashrWithLockWarning" xml:space="preserve">
|
||||
<value>--> Referenced '{0}' (file may be locked by F# Interactive process)</value>
|
||||
</data>
|
||||
<data name="fsiDidAHashrWithStaleWarning" xml:space="preserve">
|
||||
<value>--> Referenced '{0}' (an assembly with a different timestamp has already been referenced from this location, reset fsi to load the updated assembly)</value>
|
||||
</data>
|
||||
<data name="fsiDidAHashI" xml:space="preserve">
|
||||
<value>--> Added '{0}' to library include path</value>
|
||||
</data>
|
||||
<data name="fsiTurnedTimingOn" xml:space="preserve">
|
||||
<value>--> Timing now on</value>
|
||||
</data>
|
||||
<data name="fsiTurnedTimingOff" xml:space="preserve">
|
||||
<value>--> Timing now off</value>
|
||||
</data>
|
||||
<data name="fsiUnexpectedThreadAbortException" xml:space="preserve">
|
||||
<value>- Unexpected ThreadAbortException (Ctrl-C) during event handling: Trying to restart...</value>
|
||||
</data>
|
||||
<data name="fsiFailedToResolveAssembly" xml:space="preserve">
|
||||
<value>Failed to resolve assembly '{0}'</value>
|
||||
</data>
|
||||
<data name="fsiBindingSessionTo" xml:space="preserve">
|
||||
<value>Binding session to '{0}'...</value>
|
||||
</data>
|
||||
<data name="fsiProductName" xml:space="preserve">
|
||||
<value>Microsoft (R) F# Interactive version {0}</value>
|
||||
</data>
|
||||
<data name="fsiProductNameCommunity" xml:space="preserve">
|
||||
<value>F# Interactive for F# {0}</value>
|
||||
</data>
|
||||
<data name="shadowCopyReferences" xml:space="preserve">
|
||||
<value>Prevents references from being locked by the F# Interactive process</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,656 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyName>FSharp.Compiler.Private</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<DefineConstants>$(DefineConstants);COMPILER</DefineConstants>
|
||||
<OtherFlags>$(OtherFlags) --warnon:1182 --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.fs" />
|
||||
<Compile Include="InternalsVisibleTo.fs" />
|
||||
<EmbeddedResource Include="FSComp.resx">
|
||||
<Link>FSComp.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="..\..\fsharp\FSStrings.resx">
|
||||
<Link>FSStrings.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="FSComp.fs" />
|
||||
<Compile Include="FSIstrings.fs" />
|
||||
<Compile Include="..\..\fsharp\Logger.fsi">
|
||||
<Link>Logger.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\Logger.fs">
|
||||
<Link>Logger.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\reshapedreflection.fs">
|
||||
<Link>Reflection\reshapedreflection.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\reshapedmsbuild.fs">
|
||||
<Link>Reflection\reshapedmsbuild.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\sformat.fsi">
|
||||
<Link>ErrorText\sformat.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\sformat.fs">
|
||||
<Link>ErrorText\sformat.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\sr.fsi">
|
||||
<Link>ErrorText\sr.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\sr.fs">
|
||||
<Link>ErrorText\sr.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\prim-lexing.fsi">
|
||||
<Link>LexYaccRuntime\prim-lexing.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\prim-lexing.fs">
|
||||
<Link>LexYaccRuntime\prim-lexing.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\prim-parsing.fsi">
|
||||
<Link>LexYaccRuntime\prim-parsing.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\prim-parsing.fs">
|
||||
<Link>LexYaccRuntime\prim-parsing.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\ResizeArray.fsi">
|
||||
<Link>Utilities\ResizeArray.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\ResizeArray.fs">
|
||||
<Link>Utilities\ResizeArray.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\HashMultiMap.fsi">
|
||||
<Link>Utilities\HashMultiMap.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\HashMultiMap.fs">
|
||||
<Link>Utilities\HashMultiMap.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\EditDistance.fs">
|
||||
<Link>Utilities\EditDistance.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\TaggedCollections.fsi">
|
||||
<Link>Utilities\TaggedCollections.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\TaggedCollections.fs">
|
||||
<Link>Utilities\TaggedCollections.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ildiag.fsi">
|
||||
<Link>Utilities\ildiag.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ildiag.fs">
|
||||
<Link>Utilities\ildiag.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\illib.fs">
|
||||
<Link>Utilities\illib.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\filename.fsi">
|
||||
<Link>Utilities\filename.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\filename.fs">
|
||||
<Link>Utilities\filename.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\zmap.fsi">
|
||||
<Link>Utilities\zmap.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\zmap.fs">
|
||||
<Link>Utilities\zmap.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\zset.fsi">
|
||||
<Link>Utilities\zset.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\zset.fs">
|
||||
<Link>Utilities\zset.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\bytes.fsi">
|
||||
<Link>Utilities\bytes.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\bytes.fs">
|
||||
<Link>Utilities\bytes.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\InternalCollections.fsi">
|
||||
<Link>Utilities\InternalCollections.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\InternalCollections.fs">
|
||||
<Link>Utilities\InternalCollections.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\QueueList.fs">
|
||||
<Link>Utilities\QueueList.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\lib.fs">
|
||||
<Link>Utilities\lib.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\rational.fsi">
|
||||
<Link>Utilities\rational.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\rational.fs">
|
||||
<Link>Utilities\rational.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\range.fsi">
|
||||
<Link>ErrorLogging\range.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\range.fs">
|
||||
<Link>ErrorLogging\range.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ErrorLogger.fs">
|
||||
<Link>ErrorLogging\ErrorLogger.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ErrorResolutionHints.fs">
|
||||
<Link>ErrorLogging\ErrorResolutionHints.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ReferenceResolver.fs">
|
||||
<Link>ReferenceResolution\ReferenceResolver.fs</Link>
|
||||
</Compile>
|
||||
<FsLex Include="..\..\absil\illex.fsl">
|
||||
<OtherFlags>--unicode --lexlib Internal.Utilities.Text.Lexing</OtherFlags>
|
||||
<Link>AbsIL\illex.fsl</Link>
|
||||
</FsLex>
|
||||
<FsYacc Include="..\..\absil\ilpars.fsy">
|
||||
<OtherFlags>--module FSharp.Compiler.AbstractIL.Internal.AsciiParser --open FSharp.Compiler.AbstractIL --internal --lexlib Internal.Utilities.Text.Lexing --parslib Internal.Utilities.Text.Parsing</OtherFlags>
|
||||
<Link>AbsIL\ilpars.fsy</Link>
|
||||
</FsYacc>
|
||||
<Compile Include="..\..\absil\il.fsi">
|
||||
<Link>AbsIL\il.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\il.fs">
|
||||
<Link>AbsIL\il.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilx.fsi">
|
||||
<Link>AbsIL\ilx.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilx.fs">
|
||||
<Link>AbsIL\ilx.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilascii.fsi">
|
||||
<Link>AbsIL\ilascii.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilascii.fs">
|
||||
<Link>AbsIL\ilascii.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilprint.fsi">
|
||||
<Link>AbsIL\ilprint.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilprint.fs">
|
||||
<Link>AbsIL\ilprint.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilmorph.fsi">
|
||||
<Link>AbsIL\ilmorph.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilmorph.fs">
|
||||
<Link>AbsIL\ilmorph.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilsign.fs" Condition=" '$(TargetDotnetProfile)'=='coreclr'">
|
||||
<Link>AbsIL\ilsign.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilsupp.fsi">
|
||||
<Link>AbsIL\ilsupp.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilsupp.fs">
|
||||
<Link>AbsIL\ilsupp.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="ilpars.fs">
|
||||
<Link>AbsIL\ilpars.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="illex.fs">
|
||||
<Link>AbsIL\illex.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilbinary.fsi">
|
||||
<Link>AbsIL\ilbinary.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilbinary.fs">
|
||||
<Link>AbsIL\ilbinary.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilread.fsi">
|
||||
<Link>AbsIL\ilread.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilread.fs">
|
||||
<Link>AbsIL\ilread.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilwrite.fsi">
|
||||
<Link>AbsIL\ilwrite.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilwritepdb.fsi">
|
||||
<Link>AbsIL\ilwritepdb.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilwritepdb.fs">
|
||||
<Link>AbsIL\ilwritepdb.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilwrite.fs">
|
||||
<Link>AbsIL\ilwrite.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\absil\ilreflect.fs">
|
||||
<Link>AbsIL\ilreflect.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\CompilerLocationUtils.fs">
|
||||
<Link>CompilerLocation\CompilerLocationUtils.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\PrettyNaming.fs">
|
||||
<Link>PrettyNaming\PrettyNaming.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\ilx\ilxsettings.fs">
|
||||
<Link>ILXErase\ilxsettings.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\ilx\EraseClosures.fsi">
|
||||
<Link>ILXErase\EraseClosures.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\ilx\EraseClosures.fs">
|
||||
<Link>ILXErase\EraseClosures.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\ilx\EraseUnions.fsi">
|
||||
<Link>ILXErase\EraseUnions.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\ilx\EraseUnions.fs">
|
||||
<Link>ILXErase\EraseUnions.fs</Link>
|
||||
</Compile>
|
||||
<FsLex Include="..\..\fsharp\pplex.fsl">
|
||||
<OtherFlags>--unicode --lexlib Internal.Utilities.Text.Lexing</OtherFlags>
|
||||
<Link>ParserAndUntypedAST\pplex.fsl</Link>
|
||||
</FsLex>
|
||||
<FsYacc Include="..\..\fsharp\pppars.fsy">
|
||||
<OtherFlags>--module FSharp.Compiler.PPParser --open FSharp.Compiler --internal --lexlib Internal.Utilities.Text.Lexing --parslib Internal.Utilities.Text.Parsing</OtherFlags>
|
||||
<Link>ParserAndUntypedAST\pppars.fsy</Link>
|
||||
</FsYacc>
|
||||
<FsLex Include="..\..\fsharp\lex.fsl">
|
||||
<OtherFlags>--unicode --lexlib Internal.Utilities.Text.Lexing</OtherFlags>
|
||||
<Link>ParserAndUntypedAST\lex.fsl</Link>
|
||||
</FsLex>
|
||||
<FsYacc Include="..\..\fsharp\pars.fsy">
|
||||
<OtherFlags>--module FSharp.Compiler.Parser --open FSharp.Compiler --internal --lexlib Internal.Utilities.Text.Lexing --parslib Internal.Utilities.Text.Parsing</OtherFlags>
|
||||
<Link>ParserAndUntypedAST\pars.fsy</Link>
|
||||
</FsYacc>
|
||||
<Compile Include="..\..\fsharp\UnicodeLexing.fsi">
|
||||
<Link>ParserAndUntypedAST\UnicodeLexing.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\UnicodeLexing.fs">
|
||||
<Link>ParserAndUntypedAST\UnicodeLexing.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\layout.fsi">
|
||||
<Link>ParserAndUntypedAST\layout.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\layout.fs">
|
||||
<Link>ParserAndUntypedAST\layout.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ast.fs">
|
||||
<Link>ParserAndUntypedAST\ast.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="pppars.fs">
|
||||
<Link>ParserAndUntypedAST\pppars.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="pars.fs">
|
||||
<Link>ParserAndUntypedAST\pars.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\lexhelp.fsi">
|
||||
<Link>ParserAndUntypedAST\lexhelp.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\lexhelp.fs">
|
||||
<Link>ParserAndUntypedAST\lexhelp.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="pplex.fs">
|
||||
<Link>ParserAndUntypedAST\pplex.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="lex.fs">
|
||||
<Link>ParserAndUntypedAST\lex.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\LexFilter.fs">
|
||||
<Link>ParserAndUntypedAST\lexfilter.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\tainted.fsi">
|
||||
<Link>TypedAST\tainted.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\tainted.fs">
|
||||
<Link>TypedAST\tainted.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ExtensionTyping.fsi">
|
||||
<Link>TypedAST\ExtensionTyping.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ExtensionTyping.fs">
|
||||
<Link>TypedAST\ExtensionTyping.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\QuotationPickler.fsi">
|
||||
<Link>TypedAST\QuotationPickler.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\QuotationPickler.fs">
|
||||
<Link>TypedAST\QuotationPickler.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\tast.fs">
|
||||
<Link>TypedAST\tast.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TcGlobals.fs">
|
||||
<Link>TypedAST\TcGlobals.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TastOps.fsi">
|
||||
<Link>TypedAST\TastOps.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TastOps.fs">
|
||||
<Link>TypedAST\TastOps.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TastPickle.fsi">
|
||||
<Link>TypedAST\TastPickle.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TastPickle.fs">
|
||||
<Link>TypedAST\TastPickle.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\import.fsi">
|
||||
<Link>Logic\import.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\import.fs">
|
||||
<Link>Logic\import.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\infos.fs">
|
||||
<Link>Logic\infos.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\AccessibilityLogic.fs">
|
||||
<Link>Logic\AccessibilityLogic.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\AttributeChecking.fs">
|
||||
<Link>Logic\AttributeChecking.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\InfoReader.fs">
|
||||
<Link>Logic\InfoReader.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\NicePrint.fs">
|
||||
<Link>Logic\NicePrint.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\AugmentWithHashCompare.fsi">
|
||||
<Link>Logic\AugmentWithHashCompare.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\AugmentWithHashCompare.fs">
|
||||
<Link>Logic\AugmentWithHashCompare.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\NameResolution.fsi">
|
||||
<Link>Logic\NameResolution.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\NameResolution.fs">
|
||||
<Link>Logic\NameResolution.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TypeRelations.fs">
|
||||
<Link>Logic\TypeRelations.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\SignatureConformance.fs">
|
||||
<Link>Logic\SignatureConformance.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\MethodOverrides.fs">
|
||||
<Link>Logic\MethodOverrides.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\MethodCalls.fs">
|
||||
<Link>Logic\MethodCalls.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\PatternMatchCompilation.fsi">
|
||||
<Link>Logic\PatternMatchCompilation.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\PatternMatchCompilation.fs">
|
||||
<Link>Logic\PatternMatchCompilation.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ConstraintSolver.fsi">
|
||||
<Link>Logic\ConstraintSolver.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\ConstraintSolver.fs">
|
||||
<Link>Logic\ConstraintSolver.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CheckFormatStrings.fsi">
|
||||
<Link>Logic\CheckFormatStrings.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CheckFormatStrings.fs">
|
||||
<Link>Logic\CheckFormatStrings.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\FindUnsolved.fs">
|
||||
<Link>Logic\FindUnsolved.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\QuotationTranslator.fsi">
|
||||
<Link>Logic\QuotationTranslator.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\QuotationTranslator.fs">
|
||||
<Link>Logic\QuotationTranslator.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\PostInferenceChecks.fsi">
|
||||
<Link>Logic\PostInferenceChecks.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\PostInferenceChecks.fs">
|
||||
<Link>Logic\PostInferenceChecks.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TypeChecker.fsi">
|
||||
<Link>Logic\TypeChecker.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\TypeChecker.fs">
|
||||
<Link>Logic\TypeChecker.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- includes the optimizer and code generator -->
|
||||
<Compile Include="..\..\fsharp\Optimizer.fsi">
|
||||
<Link>Optimize\Optimizer.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\Optimizer.fs">
|
||||
<Link>Optimize\Optimizer.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\DetupleArgs.fsi">
|
||||
<Link>Optimize\DetupleArgs.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\DetupleArgs.fs">
|
||||
<Link>Optimize\DetupleArgs.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\InnerLambdasToTopLevelFuncs.fsi">
|
||||
<Link>Optimize\InnerLambdasToTopLevelFuncs.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\InnerLambdasToTopLevelFuncs.fs">
|
||||
<Link>Optimize\InnerLambdasToTopLevelFuncs.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\LowerCallsAndSeqs.fs">
|
||||
<Link>Optimize\LowerCallsAndSeqs.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\autobox.fs">
|
||||
<Link>Optimize\autobox.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\IlxGen.fsi">
|
||||
<Link>CodeGen\IlxGen.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\IlxGen.fs">
|
||||
<Link>CodeGen\IlxGen.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- includes the core of the F# Compiler fsc.exe implementation -->
|
||||
<Compile Include="..\..\fsharp\DotNetFrameworkDependencies.fs">
|
||||
<Link>Driver\DotNetFrameworkDependencies.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CompileOps.fsi">
|
||||
<Link>Driver\CompileOps.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CompileOps.fs">
|
||||
<Link>Driver\CompileOps.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CompileOptions.fsi">
|
||||
<Link>Driver\CompileOptions.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\CompileOptions.fs">
|
||||
<Link>Driver\CompileOptions.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\fsc.fsi">
|
||||
<Link>Driver\fsc.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\fsc.fs">
|
||||
<Link>Driver\fsc.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- the symbol API. -->
|
||||
<Compile Include="..\..\fsharp\symbols\SymbolHelpers.fsi">
|
||||
<Link>Symbols/SymbolHelpers.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\SymbolHelpers.fs">
|
||||
<Link>Symbols/SymbolHelpers.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\Symbols.fsi">
|
||||
<Link>Symbols/Symbols.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\Symbols.fs">
|
||||
<Link>Symbols/Symbols.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\Exprs.fsi">
|
||||
<Link>Symbols/Exprs.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\Exprs.fs">
|
||||
<Link>Symbols/Exprs.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\SymbolPatterns.fsi">
|
||||
<Link>Symbols/SymbolPatterns.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\symbols\SymbolPatterns.fs">
|
||||
<Link>Symbols/SymbolPatterns.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- the incremental builder and service . -->
|
||||
<Compile Include="..\..\fsharp\service\IncrementalBuild.fsi">
|
||||
<Link>Service/IncrementalBuild.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\IncrementalBuild.fs">
|
||||
<Link>Service/IncrementalBuild.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\Reactor.fsi">
|
||||
<Link>Service/Reactor.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\Reactor.fs">
|
||||
<Link>Service/Reactor.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceConstants.fs">
|
||||
<Link>Service/ServiceConstants.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceDeclarationLists.fsi">
|
||||
<Link>Service/ServiceDeclarationLists.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceDeclarationLists.fs">
|
||||
<Link>Service/ServiceDeclarationLists.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceLexing.fsi">
|
||||
<Link>Service/ServiceLexing.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceLexing.fs">
|
||||
<Link>Service/ServiceLexing.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceParseTreeWalk.fs">
|
||||
<Link>Service/ServiceParseTreeWalk.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceNavigation.fsi">
|
||||
<Link>Service/ServiceNavigation.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceNavigation.fs">
|
||||
<Link>Service/ServiceNavigation.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceParamInfoLocations.fsi">
|
||||
<Link>Service/ServiceParamInfoLocations.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceParamInfoLocations.fs">
|
||||
<Link>Service/ServiceParamInfoLocations.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceUntypedParse.fsi">
|
||||
<Link>Service/ServiceUntypedParse.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceUntypedParse.fs">
|
||||
<Link>Service/ServiceUntypedParse.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceAssemblyContent.fsi">
|
||||
<Link>Service/ServiceAssemblyContent.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceAssemblyContent.fs">
|
||||
<Link>Service/ServiceAssemblyContent.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceXmlDocParser.fsi">
|
||||
<Link>Service/ServiceXmlDocParser.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceXmlDocParser.fs">
|
||||
<Link>Service/ServiceXmlDocParser.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\reshapedmsbuild.fs">
|
||||
<Link>Service/reshapedmsbuild.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\SimulatedMSBuildReferenceResolver.fs">
|
||||
<Link>Service/SimulatedMSBuildReferenceResolver.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ExternalSymbol.fsi">
|
||||
<Link>Service/ExternalSymbol.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ExternalSymbol.fs">
|
||||
<Link>Service/ExternalSymbol.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\QuickParse.fsi">
|
||||
<Link>Service/QuickParse.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\QuickParse.fs">
|
||||
<Link>Service/QuickParse.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\service.fsi">
|
||||
<Link>Service/service.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\service.fs">
|
||||
<Link>Service/service.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceInterfaceStubGenerator.fsi">
|
||||
<Link>Service/ServiceInterfaceStubGenerator.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceInterfaceStubGenerator.fs">
|
||||
<Link>Service/ServiceInterfaceStubGenerator.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceStructure.fsi">
|
||||
<Link>Service/ServiceStructure.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceStructure.fs">
|
||||
<Link>Service/ServiceStructure.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceAnalysis.fsi">
|
||||
<Link>Service/ServiceAnalysis.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\service\ServiceAnalysis.fs">
|
||||
<Link>Service/ServiceAnalysis.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- the core of the F# Interactive fsi.exe implementation -->
|
||||
<EmbeddedResource Include="FSIstrings.resx">
|
||||
<Link>FSIstrings.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="..\..\fsharp\fsi\fsi.fsi">
|
||||
<Link>InteractiveSession\fsi.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\fsharp\fsi\fsi.fs">
|
||||
<Link>InteractiveSession\fsi.fs</Link>
|
||||
</Compile>
|
||||
|
||||
<Compile Include="..\..\fsharp\MSBuildReferenceResolver.fs">
|
||||
<Link>Misc/MSBuildReferenceResolver.fs</Link>
|
||||
</Compile>
|
||||
<!-- an old API for testing the compiler and gathering diagnostics in-memory -->
|
||||
<Compile Include="..\..\fsharp\LegacyHostedCompilerForTesting.fs">
|
||||
<Link>Misc/LegacyHostedCompilerForTesting.fs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutablePackageVersion)" />
|
||||
<PackageReference Include="System.Diagnostics.Process" Version="$(SystemDiagnosticsProcessPackageVersion)" />
|
||||
<PackageReference Include="System.Diagnostics.TraceSource" Version="$(SystemDiagnosticsTraceSourcePackageVersion)" />
|
||||
<PackageReference Include="System.Linq.Expressions" Version="$(SystemLinqExpressionsPackageVersion)" />
|
||||
<PackageReference Include="System.Linq.Queryable" Version="$(SystemLinqExpressionsPackageVersion)" />
|
||||
<PackageReference Include="System.Net.Requests" Version="$(SystemNetRequestsPackageVersion)" />
|
||||
<PackageReference Include="System.Net.Security" Version="$(SystemNetSecurityPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.Emit" Version="$(SystemReflectionEmitPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsPackageVersion)" />
|
||||
<PackageReference Include="System.Runtime" Version="$(SystemRuntimePackageVersion)" />
|
||||
<PackageReference Include="System.Runtime.InteropServices" Version="$(SystemRuntimeInteropServicesPackageVersion)" />
|
||||
<PackageReference Include="System.Runtime.Loader" Version="$(SystemRuntimeLoaderPackageVersion)" />
|
||||
<PackageReference Include="System.Security.Claims" Version="$(SystemSecurityClaimsPackageVersion)" />
|
||||
<PackageReference Include="System.Security.Cryptography.Algorithms" Version="$(SystemSecurityCryptographyAlgorithmsPackageVersion)" />
|
||||
<PackageReference Include="System.Security.Principal" Version="$(SystemSecurityPrincipalPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.Tasks.Parallel" Version="$(SystemThreadingTasksParallelPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.Thread" Version="$(SystemThreadingThreadPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.ThreadPool" Version="$(SystemThreadingThreadPoolPackageVersion)" />
|
||||
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTuplePackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("fsc, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("fsi, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("fsiAnyCpu, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Build, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Compiler.Interactive.Settings, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Compiler.Server.Shared, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Compiler.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
[<assembly:System.Runtime.CompilerServices.InternalsVisibleTo("FSharp.Tests.FSharpSuite, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")>]
|
||||
|
||||
do()
|
|
@ -1,38 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyName>Microsoft.FSharp.Compiler</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<OtherFlags>$(OtherFlags) --warnon:1182 --maxerrors:20</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<BuildRevision Condition="'$(BuildRevision)' == ''">$([System.DateTime]::Now.ToString(`yyMMdd`))</BuildRevision>
|
||||
<PackageLicenceUrl Condition="'$(PackageLicenceUrl)' == ''">https://github.com/Microsoft/visualfsharp/blob/master/License.txt</PackageLicenceUrl>
|
||||
<PackageProjectUrl Condition="'$(PackageProjectUrl)' == ''">https://github.com/Microsoft/visualfsharp</PackageProjectUrl>
|
||||
<PackageAuthors Condition="'$(PackageAuthors)' == ''" >Microsoft and F# Software Foundation</PackageAuthors>
|
||||
<PackageTags Condition="'$(PackageTags)' == ''" >Visual F# Compiler FSharp functional programming</PackageTags>
|
||||
<PreReleaseSuffix Condition="'$(PreRelease)' != 'false'">-rc-$(BuildRevision.Trim())-0</PreReleaseSuffix>
|
||||
<PackageVersion>10.4.0$(PreReleaseSuffix)</PackageVersion>
|
||||
<PackageProperties>-prop "licenseUrl=$(PackageLicenceUrl)" -prop "version=$(PackageVersion)" -prop "authors=$(PackageAuthors)" -prop "projectUrl=$(PackageProjectUrl)" -prop "tags=$(PackageTags)"</PackageProperties>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NuspecFile>Microsoft.FSharp.Compiler.nuspec</NuspecFile>
|
||||
<NuspecProperties>licenseUrl=$(PackageLicenceUrl);version=$(PackageVersion);authors=$(PackageAuthors);projectUrl=$(PackageProjectUrl);tags=$(PackageTags)</NuspecProperties>
|
||||
<NuspecBasePath>$(OutputPath)/$(TargetFramework)</NuspecBasePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\Fsc\Fsc.fsproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\Fsi\Fsi.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,83 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.FSharp.Compiler</id>
|
||||
<description>
|
||||
.NET Core compatible version of the F# compiler fsc.exe.
|
||||
Supported Platforms: - .NET Core (.netstandard2.0).
|
||||
Commit hash: $githeadsha$.
|
||||
</description>
|
||||
<language>en-US</language>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<version>$version$</version>
|
||||
<authors>$authors$</authors>
|
||||
<licenseUrl>$licenseUrl$</licenseUrl>
|
||||
<projectUrl>$projectUrl$</projectUrl>
|
||||
<tags>$tags$</tags>
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="Microsoft.NETCore.Platforms" version="2.0.0" />
|
||||
<dependency id="NETStandard.Library" version="2.0.0" />
|
||||
<dependency id="System.Collections.Immutable" version="1.5.0" />
|
||||
<dependency id="System.Diagnostics.Process" version="4.3.0" />
|
||||
<dependency id="System.Diagnostics.TraceSource" version="4.3.0" />
|
||||
<dependency id="System.Linq.Expressions" version="4.3.0" />
|
||||
<dependency id="System.Linq.Queryable" version="4.3.0" />
|
||||
<dependency id="System.Net.Requests" version="4.3.0" />
|
||||
<dependency id="System.Reflection.Emit" version="4.3.0" />
|
||||
<dependency id="System.Reflection.Metadata" version="1.6.0" />
|
||||
<dependency id="System.Runtime.InteropServices" version="4.3.0" />
|
||||
<dependency id="System.Runtime.Loader" version="4.3.0" />
|
||||
<dependency id="System.Security.Cryptography.Algorithms" version="4.3.0" />
|
||||
<dependency id="System.Threading.Tasks.Parallel" version="4.3.0" />
|
||||
<dependency id="System.Threading.Thread" version="4.3.0" />
|
||||
<dependency id="System.Threading.ThreadPool" version="4.3.0" />
|
||||
<dependency id="System.ValueTuple" version="4.4.0" />
|
||||
</group>
|
||||
</dependencies>
|
||||
<contentFiles>
|
||||
<files include="any\any\default.win32manifest" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
<files include="any\any\Microsoft.FSharp.Targets" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
<files include="any\any\Microsoft.Portable.FSharp.targets" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
<files include="any\any\Microsoft.FSharp.NetSdk.props" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
<files include="any\any\Microsoft.FSharp.NetSdk.targets" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
<files include="any\any\Microsoft.FSharp.Overrides.NetSdk.targets" buildAction="Content" copyToOutput="true" flatten="false" />
|
||||
</contentFiles>
|
||||
</metadata>
|
||||
<files>
|
||||
<!--
|
||||
Why is this like this?
|
||||
This package is used to deploy the fsharp compiler tools as built product.
|
||||
|
||||
We need nuget package to merely deploy the contents of the lib directory.
|
||||
tools, build and runtime/native make unnecessary copies.
|
||||
this approach gives a very small deployment. Which is kind of necessary.
|
||||
-->
|
||||
<!-- assemblies -->
|
||||
<file src="fsc.exe" target="lib\netstandard2.0" />
|
||||
<file src="fsi.exe" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Core.dll" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Compiler.Private.dll" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Build.dll" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Compiler.Interactive.Settings.dll" target="lib\netstandard2.0" />
|
||||
<!-- symbols -->
|
||||
<file src="fsc.pdb" target="lib\netstandard2.0" />
|
||||
<file src="fsi.pdb" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Core.pdb" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Compiler.Private.pdb" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Build.pdb" target="lib\netstandard2.0" />
|
||||
<file src="FSharp.Compiler.Interactive.Settings.pdb" target="lib\netstandard2.0" />
|
||||
<!-- additional files -->
|
||||
<file src="default.win32manifest" target="contentFiles\any\any" />
|
||||
<file src="Microsoft.FSharp.Targets" target="contentFiles\any\any" />
|
||||
<file src="Microsoft.Portable.FSharp.Targets" target="contentFiles\any\any" />
|
||||
<file src="Microsoft.FSharp.NetSdk.props" target="contentFiles\any\any" />
|
||||
<file src="Microsoft.FSharp.NetSdk.targets" target="contentFiles\any\any" />
|
||||
<file src="Microsoft.FSharp.Overrides.NetSdk.targets" target="contentFiles\any\any" />
|
||||
<!-- resources -->
|
||||
<file src="**\FSharp.Core.resources.dll" target="lib\netstandard2.0" />
|
||||
<file src="**\FSharp.Compiler.Private.resources.dll" target="lib\netstandard2.0" />
|
||||
<file src="**\FSharp.Compiler.Interactive.Settings.resources.dll" target="lib\netstandard2.0" />
|
||||
<file src="**\FSharp.Build.resources.dll" target="lib\netstandard2.0" />
|
||||
</files>
|
||||
</package>
|
|
@ -1,23 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
open System.Runtime.InteropServices
|
||||
|
||||
[<assembly:AssemblyDescription("FSharp.Core.dll")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("FSharp.Core.dll")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:ComVisible(false)>]
|
||||
|
||||
#if PORTABLE
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:AssemblyFlags(System.Reflection.AssemblyNameFlags.Retargetable)>]
|
||||
#endif
|
||||
|
||||
[<assembly:AssemblyInformationalVersion("4.6.0.0")>]
|
||||
[<assembly:AssemblyVersion("4.6.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.23.0")>]
|
||||
do()
|
||||
|
|
@ -1,241 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>netstandard1.6</TargetFramework>
|
||||
<AssemblyName>FSharp.Core</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<DefineConstants>$(DefineConstants);FSHARP_CORE</DefineConstants>
|
||||
<OtherFlags>$(OtherFlags) --warnon:1182 --compiling-fslib --compiling-fslib-40 --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<PropertyGroup>
|
||||
<FsCoreDir>$(FSharpSourcesRoot)\fsharp\FSharp.Core</FsCoreDir>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="$(FsCoreDir)\FSCore.resx">
|
||||
<Link>FSCore.resx</Link>
|
||||
</EmbeddedResource>
|
||||
<CompileBefore Include="$(FsCoreDir)\prim-types-prelude.fsi">
|
||||
<Link>Primitives/prim-types-prelude.fsi</Link>
|
||||
</CompileBefore>
|
||||
<CompileBefore Include="$(FsCoreDir)\prim-types-prelude.fs">
|
||||
<Link>Primitives/prim-types-prelude.fs</Link>
|
||||
</CompileBefore>
|
||||
<Compile Include="SR.fs">
|
||||
<Link>Primitives/SR.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\prim-types.fsi">
|
||||
<Link>Primitives/prim-types.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\prim-types.fs">
|
||||
<Link>Primitives/prim-types.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\local.fsi">
|
||||
<Link>Collections/local.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\local.fs">
|
||||
<Link>Collections/local.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array2.fsi">
|
||||
<Link>Collections/array2.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array2.fs">
|
||||
<Link>Collections/array2.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\option.fsi">
|
||||
<Link>Collections/option.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\option.fs">
|
||||
<Link>Collections/option.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\result.fsi">
|
||||
<Link>Collections/result.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\result.fs">
|
||||
<Link>Collections/result.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\collections.fsi">
|
||||
<Link>Collections/collections.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\collections.fs">
|
||||
<Link>Collections/collections.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\seqcore.fsi">
|
||||
<Link>Collections/seqcore.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\seqcore.fs">
|
||||
<Link>Collections/seqcore.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\seq.fsi">
|
||||
<Link>Collections/seq.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\seq.fs">
|
||||
<Link>Collections/seq.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\string.fsi">
|
||||
<Link>Collections/string.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\string.fs">
|
||||
<Link>Collections/string.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\list.fsi">
|
||||
<Link>Collections/list.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\list.fs">
|
||||
<Link>Collections/list.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array.fsi">
|
||||
<Link>Collections/array.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array.fs">
|
||||
<Link>Collections/array.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array3.fsi">
|
||||
<Link>Collections/array3.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\array3.fs">
|
||||
<Link>Collections/array3.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\map.fsi">
|
||||
<Link>Collections/map.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\map.fs">
|
||||
<Link>Collections/map.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\set.fsi">
|
||||
<Link>Collections/set.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\set.fs">
|
||||
<Link>Collections/set.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\reshapedreflection.fs">
|
||||
<Link>Reflection/reshapedreflection.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\reflect.fsi">
|
||||
<Link>Reflection/reflect.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\reflect.fs">
|
||||
<Link>Reflection/reflect.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\math\n.fsi">
|
||||
<Link>Numerics/n.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\math\n.fs">
|
||||
<Link>Numerics/n.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\math\z.fsi">
|
||||
<Link>Numerics/z.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\math\z.fs">
|
||||
<Link>Numerics/z.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\sformat.fsi">
|
||||
<Link>Printf/sformat.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\utils\sformat.fs">
|
||||
<Link>Printf/sformat.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\printf.fsi">
|
||||
<Link>Printf/printf.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\printf.fs">
|
||||
<Link>Printf/printf.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\quotations.fsi">
|
||||
<Link>Quotations/quotations.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\quotations.fs">
|
||||
<Link>Quotations/quotations.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\nativeptr.fsi">
|
||||
<Link>NativeInterop/nativeptr.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\nativeptr.fs">
|
||||
<Link>NativeInterop/nativeptr.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\event.fsi">
|
||||
<Link>Control/event.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\event.fs">
|
||||
<Link>Control/event.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\async.fsi">
|
||||
<Link>Control/async.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\async.fs">
|
||||
<Link>Control/async.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\eventmodule.fsi">
|
||||
<Link>Control/eventmodule.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\eventmodule.fs">
|
||||
<Link>Control/eventmodule.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\observable.fsi">
|
||||
<Link>Control/observable.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\observable.fs">
|
||||
<Link>Control/observable.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\mailbox.fsi">
|
||||
<Link>MailboxProcessor/mailbox.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\mailbox.fs">
|
||||
<Link>MailboxProcessor/mailbox.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\Linq.fsi">
|
||||
<Link>Queries/Linq.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\Linq.fs">
|
||||
<Link>Queries/Linq.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\MutableTuple.fs">
|
||||
<Link>Queries/MutableTuple.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\QueryExtensions.fs">
|
||||
<Link>Queries/QueryExtensions.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\Query.fsi">
|
||||
<Link>Queries/Query.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\Query.fs">
|
||||
<Link>Queries/Query.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\SI.fs">
|
||||
<Link>Units/SI.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\fslib-extra-pervasives.fsi">
|
||||
<Link>Extras/fslib-extra-pervasives.fsi</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsCoreDir)\fslib-extra-pervasives.fs">
|
||||
<Link>Extras/fslib-extra-pervasives.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AssemblyInfo.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Linq.Queryable" Version="$(SystemLinqQueryablePackageVersion)" />
|
||||
<PackageReference Include="System.Net.Requests" Version="$(SystemNetRequestsPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.Thread" Version="$(SystemThreadingThreadPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.ThreadPool" Version="$(SystemThreadingThreadPoolPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.Tasks.Parallel" Version="$(SystemThreadingTasksParallelPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Hook compilation phase to do custom work -->
|
||||
<!-- NOTE: The optdata and sigdata files are no longer needed by the F# compiler (the information is -->
|
||||
<!-- integrated as resources into more recent FSharp.Core.dll's. However they are still produced to -->
|
||||
<!-- allow older versions of the F# compiler to reference more recent FSharp.Core packages -->
|
||||
<Target Name="CopyToBuiltBin" BeforeTargets="AfterCompile" AfterTargets="CoreCompile" Condition="'$(DesignTimeBuild)' != 'true'">
|
||||
<ItemGroup>
|
||||
<BuiltProjectOutputGroupKeyOutput Include="$(IntermediateOutputPath)/FSharp.Core.sigdata" />
|
||||
<BuiltProjectOutputGroupKeyOutput Include="$(IntermediateOutputPath)/FSharp.Core.optdata" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="$(IntermediateOutputPath)\FSharp.Core.sigdata" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$(IntermediateOutputPath)\FSharp.Core.optdata" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -1,163 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp.Core
|
||||
|
||||
module internal SR =
|
||||
#if FX_RESHAPED_REFLECTION
|
||||
open System.Reflection
|
||||
type private TypeInThisAssembly (_dummy:obj) = class end
|
||||
// can't use typeof here. Because intrinsics are not yet defined.
|
||||
let private resources = new System.Resources.ResourceManager("FSCore", TypeInThisAssembly(null).GetType().GetTypeInfo().Assembly)
|
||||
#else
|
||||
let private resources = new System.Resources.ResourceManager("FSCore", System.Reflection.Assembly.GetExecutingAssembly())
|
||||
#endif
|
||||
|
||||
let matchCasesIncomplete = "matchCasesIncomplete"
|
||||
let resetNotSupported = "resetNotSupported"
|
||||
let indexOutOfBounds = "indexOutOfBounds"
|
||||
let listsHadDifferentLengths = "listsHadDifferentLengths"
|
||||
let inputListWasEmpty = "inputListWasEmpty"
|
||||
let enumerationNotStarted = "enumerationNotStarted"
|
||||
let setContainsNoElements = "setContainsNoElements"
|
||||
let enumerationAlreadyFinished = "enumerationAlreadyFinished"
|
||||
let findElementNotFound = "findElementNotFound"
|
||||
let findIndexElementNotFound = "findIndexElementNotFound"
|
||||
let pickElementNotFound = "pickElementNotFound"
|
||||
let notEnoughElements = "notEnoughElements"
|
||||
let inputMustBeNonNegative = "inputMustBeNonNegative"
|
||||
let inputMustBePositive = "inputMustBePositive"
|
||||
let enumerationPastIntMaxValue = "enumerationPastIntMaxValue"
|
||||
let inputSequenceEmpty = "inputSequenceEmpty"
|
||||
let inputSequenceTooLong = "inputSequenceTooLong"
|
||||
let mapCannotBeMutated = "mapCannotBeMutated"
|
||||
let notComparable = "notComparable"
|
||||
let outOfRange = "outOfRange"
|
||||
let arraysHadDifferentLengths = "arraysHadDifferentLengths"
|
||||
let arrayWasEmpty = "arrayWasEmpty"
|
||||
let nonZeroBasedDisallowed = "nonZeroBasedDisallowed"
|
||||
let mismatchIAREnd = "mismatchIAREnd"
|
||||
let mismatchIARCancel = "mismatchIARCancel"
|
||||
let syncContextNull = "syncContextNull"
|
||||
let mailboxScanTimedOut = "mailboxScanTimedOut"
|
||||
let mailboxReceiveTimedOut = "mailboxReceiveTimedOut"
|
||||
let mailboxProcessorAlreadyStarted = "mailboxProcessorAlreadyStarted"
|
||||
let mailboxProcessorPostAndReplyTimedOut = "mailboxProcessorPostAndReplyTimedOut"
|
||||
let mailboxProcessorPostAndAsyncReplyTimedOut = "mailboxProcessorPostAndAsyncReplyTimedOut"
|
||||
let cannotMutate = "cannotMutate"
|
||||
let notAPermutation = "notAPermutation"
|
||||
let failedReadEnoughBytes = "failedReadEnoughBytes"
|
||||
let addressOpNotFirstClass = "addressOpNotFirstClass"
|
||||
let genericCompareFail1 = "genericCompareFail1"
|
||||
let notUsedForHashing = "notUsedForHashing"
|
||||
let badFormatString = "badFormatString"
|
||||
let dyInvDivByIntCoerce = "dyInvDivByIntCoerce"
|
||||
let dyInvOpAddCoerce = "dyInvOpAddCoerce"
|
||||
let dyInvOpAddOverload = "dyInvOpAddOverload"
|
||||
let dyInvOpMultCoerce = "dyInvOpMultCoerce"
|
||||
let dyInvOpMultOverload = "dyInvOpMultOverload"
|
||||
let keyNotFound = "keyNotFound"
|
||||
let stepCannotBeZero = "stepCannotBeZero"
|
||||
let startCannotBeNaN = "startCannotBeNaN"
|
||||
let stepCannotBeNaN = "stepCannotBeNaN"
|
||||
let endCannotBeNaN = "endCannotBeNaN"
|
||||
let checkInit = "checkInit"
|
||||
let checkStaticInit = "checkStaticInit"
|
||||
let noNegateMinValue = "noNegateMinValue"
|
||||
let delegateExpected = "delegateExpected"
|
||||
let invalidTupleTypes = "invalidTupleTypes"
|
||||
let notATupleType = "notATupleType"
|
||||
let notAFunctionType = "notAFunctionType"
|
||||
let tupleIndexOutOfRange = "tupleIndexOutOfRange"
|
||||
let objIsNullAndNoType = "objIsNullAndNoType"
|
||||
let privateUnionType = "privateUnionType"
|
||||
let notAUnionType = "notAUnionType"
|
||||
let privateExceptionType = "privateExceptionType"
|
||||
let notAnExceptionType = "notAnExceptionType"
|
||||
let privateRecordType = "privateRecordType"
|
||||
let notARecordType = "notARecordType"
|
||||
let nullsNotAllowedInArray = "nullsNotAllowedInArray"
|
||||
let objIsNotARecord = "objIsNotARecord"
|
||||
let keyNotFoundAlt = "keyNotFoundAlt"
|
||||
let firstClassUsesOfSplice = "firstClassUsesOfSplice"
|
||||
let printfNotAFunType = "printfNotAFunType"
|
||||
let printfMissingFormatSpecifier = "printfMissingFormatSpecifier"
|
||||
let printfHashFormatSpecifierIllegal = "printfHashFormatSpecifierIllegal"
|
||||
let printfPrecisonSpecifierIllegal = "printfPrecisonSpecifierIllegal"
|
||||
let printfWidthSpecifierIllegal = "printfWidthSpecifierIllegal"
|
||||
let printfSpecifierAfterIllegal = "printfSpecifierAfterIllegal"
|
||||
let printfBadFormatSpecifier = "printfBadFormatSpecifier"
|
||||
let printfBadIntegerForDynamicFomatter = "printfBadIntegerForDynamicFomatter"
|
||||
let printfExpectedWidth = "printfExpectedWidth"
|
||||
let printfExpectedPrecision = "printfExpectedPrecision"
|
||||
let printfBadFloatValue = "printfBadFloatValue"
|
||||
let multipleCompilationMappings = "multipleCompilationMappings"
|
||||
let constructorForUnionCaseNotFound = "constructorForUnionCaseNotFound"
|
||||
let moveNextNotCalledOrFinished = "moveNextNotCalledOrFinished"
|
||||
let thisValueCannotBeMutated = "thisValueCannotBeMutated"
|
||||
let optionValueWasNone = "optionValueWasNone"
|
||||
// quotations.fs start with Q
|
||||
let QmissingRecordField = "QmissingRecordField"
|
||||
let QmissingUnionCase = "QmissingUnionCase"
|
||||
let QinvalidCaseIndex = "QinvalidCaseIndex"
|
||||
let QexpectedTwoTypes = "QexpectedTwoTypes"
|
||||
let QexpectedOneType = "QexpectedOneType"
|
||||
let QunrecognizedMethodCall = "QunrecognizedMethodCall"
|
||||
let QunexpectedHole = "QunexpectedHole"
|
||||
let QtmmExpectedFunction = "QtmmExpectedFunction"
|
||||
let QtmmInvalidParam = "QtmmInvalidParam"
|
||||
let QtmmFunctionArgTypeMismatch = "QtmmFunctionArgTypeMismatch"
|
||||
let QtmmVarTypeNotMatchRHS = "QtmmVarTypeNotMatchRHS"
|
||||
let QtmmTuple = "QtmmTuple"
|
||||
let QtmmExprNotMatchTuple = "QtmmExprNotMatchTuple"
|
||||
let QtmmIncorrectArgForRecord = "QtmmIncorrectArgForRecord"
|
||||
let QtmmIncorrectArgForUnion = "QtmmIncorrectArgForUnion"
|
||||
let QtmmExprTypeMismatch = "QtmmExprTypeMismatch"
|
||||
let QtmmTrueAndFalseMustMatch = "QtmmTrueAndFalseMustMatch"
|
||||
let QtmmCondMustBeBool = "QtmmCondMustBeBool"
|
||||
let QtmmInitArray = "QtmmInitArray"
|
||||
let QtmmBadFieldType = "QtmmBadFieldType"
|
||||
let QtmmLowerUpperBoundMustBeInt = "QtmmLowerUpperBoundMustBeInt"
|
||||
let QtmmLoopBodyMustBeLambdaTakingInteger = "QtmmLoopBodyMustBeLambdaTakingInteger"
|
||||
let QtmmGuardMustBeBool = "QtmmGuardMustBeBool"
|
||||
let QtmmBodyMustBeUnit = "QtmmBodyMustBeUnit"
|
||||
let QtmmFunTypeNotMatchDelegate = "QtmmFunTypeNotMatchDelegate"
|
||||
let QtmmRaw = "QtmmRaw"
|
||||
let QtmmExprHasWrongType = "QtmmExprHasWrongType"
|
||||
let QincorrectNumArgs = "QincorrectNumArgs"
|
||||
let QincorrectType = "QincorrectType"
|
||||
let QincorrectInstanceType = "QincorrectInstanceType"
|
||||
let QinvalidFuncType = "QinvalidFuncType"
|
||||
let QtupleLengthsDiffer = "QtupleLengthsDiffer"
|
||||
let QtupleAccessOutOfRange = "QtupleAccessOutOfRange"
|
||||
let QincompatibleRecordLength = "QincompatibleRecordLength"
|
||||
let QunionNeedsDiffNumArgs = "QunionNeedsDiffNumArgs"
|
||||
let QstaticWithReceiverObject = "QstaticWithReceiverObject"
|
||||
let QnonStaticNoReceiverObject = "QnonStaticNoReceiverObject"
|
||||
let QwritingGetOnly = "QwritingGetOnly"
|
||||
let QreadingSetOnly = "QreadingSetOnly"
|
||||
let QparentCannotBeNull = "QparentCannotBeNull"
|
||||
let QfailedToBindProperty = "QfailedToBindProperty"
|
||||
let QfailedToBindField = "QfailedToBindField"
|
||||
let QfailedToBindConstructor = "QfailedToBindConstructor"
|
||||
let QfailedToBindTypeInAssembly = "QfailedToBindTypeInAssembly"
|
||||
let QwrongNumOfTypeArgs = "QwrongNumOfTypeArgs"
|
||||
let QillFormedAppOrLet = "QillFormedAppOrLet"
|
||||
let QcannotTakeAddress = "QcannotTakeAddress"
|
||||
let QcannotBindToMethod = "QcannotBindToMethod"
|
||||
let QcannotBindProperty = "QcannotBindProperty"
|
||||
let QcannotBindFunction = "QcannotBindFunction"
|
||||
let QfailedToBindAssembly = "QfailedToBindAssembly"
|
||||
let QtypeArgumentOutOfRange = "QtypeArgumentOutOfRange"
|
||||
let controlContinuationInvokedMultipleTimes = "controlContinuationInvokedMultipleTimes"
|
||||
let invalidRecordTypeConstructorNotDefined = "invalidRecordTypeConstructorNotDefined"
|
||||
let invalidTupleTypeConstructorNotDefined = "invalidTupleTypeConstructorNotDefined"
|
||||
let thenByError = "thenByError"
|
||||
let failDueToUnsupportedInputTypeInSumByOrAverageBy = "failDueToUnsupportedInputTypeInSumByOrAverageBy"
|
||||
let unsupportedIfThenElse = "unsupportedIfThenElse"
|
||||
let unsupportedQueryConstruct = "unsupportedQueryConstruct"
|
||||
let unsupportedQueryConstructKind = "unsupportedQueryConstructKind"
|
||||
let unsupportedQueryCall = "unsupportedQueryCall"
|
||||
let unsupportedQueryProperty = "unsupportedQueryProperty"
|
||||
|
||||
let GetString(name:System.String) : System.String =
|
||||
resources.GetString(name, System.Globalization.CultureInfo.CurrentUICulture)
|
|
@ -1,16 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
open System.Runtime.InteropServices
|
||||
|
||||
[<assembly:AssemblyDescription("fsc.exe")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("fsc.exe")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:ComVisible(false)>]
|
||||
[<assembly:AssemblyInformationalVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.22.0")>]
|
||||
do()
|
|
@ -1,41 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<AssemblyName>fsc</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<OtherFlags>$(OtherFlags) --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.fs">
|
||||
<Link>Resources/AssemblyInfo.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FSharpSourcesRoot)\fsharp\fscmain.fs">
|
||||
<Link>fscmain.fs</Link>
|
||||
</Compile>
|
||||
<None Include="$(FSharpSourcesRoot)\fsharp\Fsc\app.config" />
|
||||
<None Include="..\..\windows\default.win32manifest">
|
||||
<Link>default.win32manifest</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Linq.Expressions" Version="$(SystemLinqExpressionsPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataPackageVersion)" />
|
||||
<PackageReference Include="System.Runtime.Loader" Version="$(SystemRuntimeLoaderPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,13 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.FSharp
|
||||
open System.Reflection
|
||||
[<assembly:AssemblyDescription("fsi.exe")>]
|
||||
[<assembly:AssemblyCompany("Microsoft Corporation")>]
|
||||
[<assembly:AssemblyTitle("fsi.exe")>]
|
||||
[<assembly:AssemblyCopyright("\169 Microsoft Corporation. All Rights Reserved.")>]
|
||||
[<assembly:AssemblyProduct("Microsoft\174 F#")>]
|
||||
[<assembly:AssemblyInformationalVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyVersion("10.4.0.0")>]
|
||||
[<assembly:AssemblyFileVersion("2018.05.22.0")>]
|
||||
do()
|
|
@ -1,49 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<AssemblyName>fsi</AssemblyName>
|
||||
<NoWarn>$(NoWarn);45;55;62;75;1204</NoWarn>
|
||||
<AllowCrossTargeting>true</AllowCrossTargeting>
|
||||
<DefineConstants>$(DefineConstants);BUILD_FROM_SOURCE</DefineConstants>
|
||||
<OtherFlags>$(OtherFlags) --warnon:1182 --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\BuildFromSource.targets" />
|
||||
<PropertyGroup>
|
||||
<FsiDir>$(FSharpSourcesRoot)\fsharp\fsi</FsiDir>
|
||||
<Win32Resource>$(FsiDir)\fsi.res</Win32Resource>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.fs" />
|
||||
<Compile Include="$(FsiDir)\console.fs">
|
||||
<Link>console.fs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(FsiDir)\fsimain.fs">
|
||||
<Link>fsimain.fs</Link>
|
||||
</Compile>
|
||||
<None Include="$(FsiDir)\app.config" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Build\FSharp.Build.fsproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\FSharp.Compiler.Interactive.Settings\FSharp.Compiler.Interactive.Settings.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Diagnostics.Process" Version="$(SystemDiagnosticsProcessPackageVersion)" />
|
||||
<PackageReference Include="System.Linq.Expressions" Version="$(SystemLinqExpressionsPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.Emit" Version="$(SystemReflectionEmitPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsPackageVersion)" />
|
||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataPackageVersion)" />
|
||||
<PackageReference Include="System.Runtime.Loader" Version="$(SystemRuntimeLoaderPackageVersion)" />
|
||||
<PackageReference Include="System.Threading.Thread" Version="$(SystemThreadingThreadPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -1,14 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstant)</DefineConstants>
|
||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\..\buildtools\fslex\fslex.fsx" />
|
||||
<ProjectReference Include="..\..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstant)</DefineConstants>
|
||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\..\buildtools\fsyacc\fsyacc.fsx" />
|
||||
<ProjectReference Include="..\..\FSharp.Core\FSharp.Core.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,41 +0,0 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
<!-- System.* packages -->
|
||||
<SystemCollectionsImmutablePackageVersion>1.4.0</SystemCollectionsImmutablePackageVersion>
|
||||
<SystemDiagnosticsProcessPackageVersion>4.3.0</SystemDiagnosticsProcessPackageVersion>
|
||||
<SystemDiagnosticsTraceSourcePackageVersion>4.3.0</SystemDiagnosticsTraceSourcePackageVersion>
|
||||
<SystemLinqExpressionsPackageVersion>4.3.0</SystemLinqExpressionsPackageVersion>
|
||||
<SystemLinqQueryablePackageVersion>4.3.0</SystemLinqQueryablePackageVersion>
|
||||
<SystemNetRequestsPackageVersion>4.3.0</SystemNetRequestsPackageVersion>
|
||||
<SystemNetSecurityPackageVersion>4.3.0</SystemNetSecurityPackageVersion>
|
||||
<SystemReflectionEmitPackageVersion>4.3.0</SystemReflectionEmitPackageVersion>
|
||||
<SystemReflectionMetadataPackageVersion>1.5.0</SystemReflectionMetadataPackageVersion>
|
||||
<SystemReflectionTypeExtensionsPackageVersion>4.3.0</SystemReflectionTypeExtensionsPackageVersion>
|
||||
<SystemRuntimePackageVersion>4.3.0</SystemRuntimePackageVersion>
|
||||
<SystemRuntimeInteropServicesPackageVersion>4.3.0</SystemRuntimeInteropServicesPackageVersion>
|
||||
<SystemRuntimeLoaderPackageVersion>4.3.0</SystemRuntimeLoaderPackageVersion>
|
||||
<SystemSecurityClaimsPackageVersion>4.3.0</SystemSecurityClaimsPackageVersion>
|
||||
<SystemSecurityCryptographyAlgorithmsPackageVersion>4.3.0</SystemSecurityCryptographyAlgorithmsPackageVersion>
|
||||
<SystemSecurityPrincipalPackageVersion>4.3.0</SystemSecurityPrincipalPackageVersion>
|
||||
<SystemDataSqlClientPackageVersion>4.3.0</SystemDataSqlClientPackageVersion>
|
||||
<SystemThreadingTasksParallelPackageVersion>4.3.0</SystemThreadingTasksParallelPackageVersion>
|
||||
<SystemThreadingThreadPackageVersion>4.3.0</SystemThreadingThreadPackageVersion>
|
||||
<SystemThreadingThreadPoolPackageVersion>4.3.0</SystemThreadingThreadPoolPackageVersion>
|
||||
<SystemValueTuplePackageVersion>4.4.0</SystemValueTuplePackageVersion>
|
||||
|
||||
<!-- other packages -->
|
||||
<MicrosoftBuildOverallPackagesVersion>15.8.166</MicrosoftBuildOverallPackagesVersion>
|
||||
<MicrosoftBuildPackageVersion>$(MicrosoftBuildOverallPackagesVersion)</MicrosoftBuildPackageVersion>
|
||||
<MicrosoftBuildFrameworkPackageVersion>$(MicrosoftBuildOverallPackagesVersion)</MicrosoftBuildFrameworkPackageVersion>
|
||||
<MicrosoftBuildTasksCorePackageVersion>$(MicrosoftBuildOverallPackagesVersion)</MicrosoftBuildTasksCorePackageVersion>
|
||||
<MicrosoftBuildUtilitiesCorePackageVersion>$(MicrosoftBuildOverallPackagesVersion)</MicrosoftBuildUtilitiesCorePackageVersion>
|
||||
<MicrosoftWin32RegistryPackageVersion>4.3.0</MicrosoftWin32RegistryPackageVersion>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- dependency uptake version overrides -->
|
||||
<Import Project="$(DotNetPackageVersionPropsPath)" Condition="'$(DotNetPackageVersionPropsPath)' != '' AND Exists('$(DotNetPackageVersionPropsPath)')" />
|
||||
|
||||
</Project>
|
|
@ -12,6 +12,7 @@
|
|||
<OtherFlags>$(OtherFlags) --warnon:1182 --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
||||
<Win32Resource>..\fsi\fsi.res</Win32Resource>
|
||||
<NGenBinary>true</NGenBinary>
|
||||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<Project>
|
||||
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
|
||||
|
||||
<PropertyGroup>
|
||||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -4,6 +4,7 @@
|
|||
<TargetFramework>net472</TargetFramework>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<UseVsMicroBuildAssemblyVersion>true</UseVsMicroBuildAssemblyVersion>
|
||||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<EnableXlfLocalization>false</EnableXlfLocalization>
|
||||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
|
||||
|
|
Загрузка…
Ссылка в новой задаче