Skip to content

Commit

Permalink
Integrate FCS API: Other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyme committed Jan 19, 2016
1 parent f3508a5 commit 6e23d59
Show file tree
Hide file tree
Showing 49 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ Prior to a **Release** test run, you need to do **all** of these:

## 4. [Optional] Install the Visual F# IDE Tools and Clobber the F# SDK on the machine

**Note:** Step #3 will install a VSIX extension into Visual Studio 2015 that changes the Visual F# IDE Tools
**Note:** Step #2 below will install a VSIX extension into Visual Studio 2015 that changes the Visual F# IDE Tools
components installed into Visual Studio 2015. You can revert this step by disabling or uninstalling the addin.

**Note:** Step #4 will clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsi.exe``/``fsiAnyCpu.exe`` used
**Note:** Step #3 below will clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsi.exe``/``fsiAnyCpu.exe`` used
by Visual F# Interactive and the ``fsc.exe`` used by ``Microsoft.FSharp.targets``. Repairing Visual Studio 2015 is currently the
only way to revert this step.

Expand Down
2 changes: 1 addition & 1 deletion packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FsCheck" version="2.0.3" />
<package id="NUnit.Runners" version="2.6.4" targetFramework="net45" />
<package id="NUnit.Runners" version="3.0.0" targetFramework="net45" />
<package id="NUnit" version="3.0.0" targetFramework="net45" />
<package id="NUnit.Console" version="3.0.0" targetFramework="net45" />
</packages>
2 changes: 2 additions & 0 deletions src/FSharpSource.Settings.targets
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
<PropertyGroup>
<DefineConstants Condition="'$(VisualStudioVersion)'=='12.0' AND '$(ProjectLanguage)' == 'VisualBasic'">$(DefineConstants),VS_VERSION_DEV12=True</DefineConstants>
<DefineConstants Condition="'$(VisualStudioVersion)'=='12.0' AND '$(ProjectLanguage)' != 'VisualBasic'">$(DefineConstants);VS_VERSION_DEV12</DefineConstants>
<DefineConstants Condition="'$(VisualStudioVersion)'=='14.0' AND '$(ProjectLanguage)' == 'VisualBasic'">$(DefineConstants),VS_VERSION_DEV14=True</DefineConstants>
<DefineConstants Condition="'$(VisualStudioVersion)'=='14.0' AND '$(ProjectLanguage)' != 'VisualBasic'">$(DefineConstants);VS_VERSION_DEV14</DefineConstants>
</PropertyGroup>

<PropertyGroup>
Expand Down
Empty file modified src/absil/il.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/CompileOps.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/CompileOps.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/ErrorLogger.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/ExtensionTyping.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/ExtensionTyping.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/InternalCollections.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/InternalCollections.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/LexFilter.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/NameResolution.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/NameResolution.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/NicePrint.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/PrettyNaming.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/QuotationTranslator.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/TastOps.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/TastOps.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/TastPickle.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/TcGlobals.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/TypeChecker.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/TypeRelations.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/fsc.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/fsc.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/infos.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/lib.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/pars.fsy
100644 → 100755
Empty file.
Empty file modified src/fsharp/range.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/range.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/tast.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/IncrementalBuild.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/IncrementalBuild.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/Reactor.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/Reactor.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceDeclarations.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceLexing.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceLexing.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceNavigation.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceNavigation.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceParamInfoLocations.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceParamInfoLocations.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceParseTreeWalk.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceUntypedParse.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/ServiceUntypedParse.fsi
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/service.fs
100644 → 100755
Empty file.
Empty file modified src/fsharp/vs/service.fsi
100644 → 100755
Empty file.
9 changes: 6 additions & 3 deletions src/utils/CompilerLocationUtils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,13 @@ module internal FSharpEnvironment =
// Property pages (ApplicationPropPage.vb)

let key20 = @"Software\Microsoft\.NETFramework\AssemblyFolders\Microsoft.FSharp-" + FSharpTeamVersionNumber
#if FX_ATLEAST_45
let key40 = @"Software\Microsoft\FSharp\4.1\Runtime\v4.0"
#if VS_VERSION_DEV12
let key40 = @"Software\Microsoft\FSharp\3.1\Runtime\v4.0"
#endif
#if VS_VERSION_DEV14
let key40 = @"Software\Microsoft\FSharp\4.0\Runtime\v4.0"
#else
let key40 = @"Software\Microsoft\FSharp\2.0\Runtime\v4.0"
let key40 = @"Software\Microsoft\FSharp\4.1\Runtime\v4.0"
#endif
let key1,key2 =
match FSharpCoreLibRunningVersion with
Expand Down
11 changes: 6 additions & 5 deletions vsintegration/update-vsintegration.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set SN64="%WINSDKNETFXTOOLS%x64\sn.exe"
set NGEN32=%windir%\Microsoft.NET\Framework\v4.0.30319\ngen.exe
set NGEN64=%windir%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe

set COMPILERSDKPATH=%X86_PROGRAMFILES%\Microsoft SDKs\F#\4.1\Framework\v4.0
set COMPILERSDKPATH=%X86_PROGRAMFILES%\Microsoft SDKs\F#\4.0\Framework\v4.0
mkdir "%COMPILERSDKPATH%"
copy /y "%BINDIR%\fsc.exe" "%COMPILERSDKPATH%"
copy /y "%BINDIR%\fsc.exe.config" "%COMPILERSDKPATH%"
Expand All @@ -50,6 +50,7 @@ copy /y "%BINDIR%\FsiAnyCPU.exe" "%COMPILERSDKPATH%"
copy /y "%BINDIR%\FsiAnyCPU.exe.config" "%COMPILERSDKPATH%"
copy /y "%BINDIR%\Microsoft.FSharp.targets" "%COMPILERSDKPATH%"
copy /y "%BINDIR%\Microsoft.Portable.FSharp.targets" "%COMPILERSDKPATH%"
copy /y "%BINDIR%\SupportedRuntimes.xml" "%COMPILERSDKPATH%"

set COMPILERMAINASSEMBLIESPATH=%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055
mkdir "%COMPILERMAINASSEMBLIESPATH%"
Expand Down Expand Up @@ -89,11 +90,11 @@ copy /y "%BINDIR%\..\..\portable47\bin\FSharp.Core.xml" "%COMPILER47ASSEMBLIESPA
REM echo ^<configuration^>^<runtime^>^<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v4.0.30319"^>^<dependentAssembly^>^<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /^> ^<bindingRedirect oldVersion="2.0.0.0-4.4.1.0" newVersion="4.4.1.9055"/^>^</dependentAssembly^>^</assemblyBinding^>^</runtime^>^</configuration^> > "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\pub.config"

if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\F# 4.1 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.50709\AssemblyFoldersEx\F# 4.1 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\F# 4.0 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.50709\AssemblyFoldersEx\F# 4.0 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
)
REG ADD "HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\F# 4.1 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.50709\AssemblyFoldersEx\F# 4.1 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\F# 4.0 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\
REG ADD "HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.50709\AssemblyFoldersEx\F# 4.0 Core Assemblies (Open Source)" /ve /t REG_SZ /f /d "%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.9055\



Expand Down

0 comments on commit 6e23d59

Please sign in to comment.