Skip to content

Commit 8b4230c

Browse files
committed
Merge branch 'master' of https://github.com/Microsoft/visualfsharp into srtp-1
2 parents 599c840 + 9a15a5b commit 8b4230c

Some content is hidden

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

46 files changed

+1429
-1676
lines changed

DEVGUIDE.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ There are various qualifiers:
5050
build.cmd test-fsharpqa -- build, run tests\fsharpqa suite
5151
build.cmd test-vs -- build, run Visual F# IDE Tools unit tests
5252

53+
**Notes**
54+
To build and test Visual F# IDE Tools, you must use [Visual Studio "vNext" (aka "Dev15")](https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx). This is the one after Visual Studio 2015 (aka "Dev 14"). You must also install Visual Studio SDK (also called _Visual Studio Extensibility SDK_ on the Visual Studio installer) before building Visual F# IDE Tools.
55+
Please ensure that the Visual Studio SDK version is matched with your current Visual Studio to ensure successful builds. For example: Visual Studio 2015 Update 1 requires Visual Studio 2015 SDK Update 1. Any installation of Visual Studio 2015 and later provides Visual Studio SDK as part of the installation of Visual Studio 2015 as feature installation.
56+
5357
Combinations are also allowed:
5458

5559
build.cmd debug,compiler,notests -- build the debug compiler and run smoke tests
@@ -147,8 +151,13 @@ For **Release** this corresponds to these steps, which you can run individually
147151

148152
### 4. [Optional] Install the Visual F# IDE Tools
149153

150-
**Note:** This step will install a VSIX extension into Visual Studio 15 that changes the Visual F# IDE Tools
151-
components installed into Visual Studio 15. You can revert this step by disabling or uninstalling the addin.
154+
At time of writing, the Visual F# IDE Tools can only be installed into Visual Studio "Next" (aka "Dev15") releases.
155+
The new builds of the Visual F# IDE Tools can no longer be installed into Visual Studio 2015.
156+
157+
You can install VIsual Studio "Next (aka "Dev15") from https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx.
158+
159+
**Note:** This step will install a VSIX extension into Visual Studio "Next" (aka "Dev15") that changes the Visual F# IDE Tools
160+
components installed in that VS installation. You can revert this step by disabling or uninstalling the addin.
152161

153162
For **Debug**:
154163

VisualFSharp.sln

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
126126
EndProjectSection
127127
EndProject
128128
Global
129-
GlobalSection(Performance) = preSolution
130-
HasPerformanceSessions = true
131-
EndGlobalSection
132129
GlobalSection(SolutionConfigurationPlatforms) = preSolution
133130
Debug|Any CPU = Debug|Any CPU
134131
Debug|x86 = Debug|x86

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
os: Visual Studio 2015
2-
2+
33
environment:
44
matrix:
55
- BUILD_PROFILE: ci_part1

build.cmd

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ if /i '%ARG%' == 'ci' (
141141
set CONF_FSHARPQA_SUITE=Smoke
142142
)
143143

144-
REM These divide 'ci' into three chunks which can be done in parallel
144+
145+
REM These divide 'ci' into two chunks which can be done in parallel
145146
if /i '%ARG%' == 'ci_part1' (
146147
set BUILD_PROTO=1
147148
set SKIP_EXPENSIVE_TESTS=1
@@ -338,20 +339,20 @@ pushd .\lkg & %_dotnetexe% publish project.json &popd
338339
@if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure
339340

340341
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
341-
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
342-
fc fsc.exe corehost.exe >nul
342+
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
343+
fc fsc.exe dotnet.exe >nul
343344
@if ERRORLEVEL 1 (
344345
copy fsc.exe fsc.dll
345-
copy corehost.exe fsc.exe
346+
copy dotnet.exe fsc.exe
346347
)
347348
popd
348349

349350
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
350-
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
351-
fc fsi.exe corehost.exe >nul
351+
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
352+
fc fsi.exe dotnet.exe >nul
352353
@if ERRORLEVEL 1 (
353354
copy fsi.exe fsi.dll
354-
copy corehost.exe fsi.exe
355+
copy dotnet.exe fsi.exe
355356
)
356357
popd
357358

lkg/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
12
{
23
"dependencies": {
3-
"Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-160406",
4+
"Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-160629",
5+
"Microsoft.NETCore.Runtime.CoreCLR": "1.0.2",
6+
"Microsoft.NETCore.DotNetHostPolicy": "1.0.1",
7+
"Microsoft.NETCore.DotNetHost": "1.0.1"
48
},
59
"runtimes": {
610
"win7-x86": { },
@@ -9,7 +13,7 @@
913
"ubuntu.14.04-x64": { }
1014
},
1115
"frameworks": {
12-
"dnxcore50": {
16+
"netstandard1.6": {
1317
"imports": "portable-net45+win8"
1418
}
1519
}

src/FSharpSource.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
<When Condition="'$(BuildWith)' == 'LKG'">
743743
<PropertyGroup>
744744
<FSharpTargetsPath>..\lkg\FSharp-$(LkgVersion)\bin\Microsoft.FSharp.Targets</FSharpTargetsPath>
745-
<FscToolPath>$(FSharpSourcesRoot)\..\lkg\bin\Debug\dnxcore50\win7-x64\publish</FscToolPath>
745+
<FscToolPath>$(FSharpSourcesRoot)\..\lkg\bin\Debug\netstandard1.6\win7-x64\publish</FscToolPath>
746746
<FSLKGPath>$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin</FSLKGPath>
747747
<FSCoreLKGPath>$(FSLKGPath)\FSharp.Core.dll</FSCoreLKGPath>
748748
</PropertyGroup>

src/absil/il.fsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,9 +2092,7 @@ type ILPropertyRef =
20922092
member Name: string
20932093
interface System.IComparable
20942094

2095-
#if ENABLE_MONO_SUPPORT
20962095
val runningOnMono: bool
2097-
#endif
20982096

20992097
type ILReferences =
21002098
{ AssemblyReferences: ILAssemblyRef list;

src/absil/ildiag.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ module internal Microsoft.FSharp.Compiler.AbstractIL.Diagnostics
77
open Internal.Utilities
88

99
let diagnosticsLog = ref (Some stdout)
10+
11+
let setDiagnosticsChannel s = diagnosticsLog := s
12+
1013
let dflushn () = match !diagnosticsLog with None -> () | Some d -> d.WriteLine(); d.Flush()
1114
let dflush () = match !diagnosticsLog with None -> () | Some d -> d.Flush()
1215
let dprintn (s:string) =
@@ -18,4 +21,3 @@ let dprintf (fmt: Format<_,_,_,_>) =
1821
let dprintfn (fmt: Format<_,_,_,_>) =
1922
Printf.kfprintf dflushn (match !diagnosticsLog with None -> System.IO.TextWriter.Null | Some d -> d) fmt
2023

21-
let setDiagnosticsChannel s = diagnosticsLog := s

src/absil/ildiag.fsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ module internal Microsoft.FSharp.Compiler.AbstractIL.Diagnostics
1111
open System.IO
1212
open Microsoft.FSharp.Core.Printf
1313

14-
val public setDiagnosticsChannel: TextWriter option -> unit
14+
val public setDiagnosticsChannel: TextWriter option -> unit
1515

1616
val public dprintfn: TextWriterFormat<'a> -> 'a
1717
val public dprintf: TextWriterFormat<'a> -> 'a
18-
1918
val public dprintn: string -> unit

0 commit comments

Comments
 (0)