Skip to content

Commit 95d94de

Browse files
committed
integrate master
2 parents 7a6448e + 86a584d commit 95d94de

File tree

1,466 files changed

+46674
-53364
lines changed

Some content is hidden

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

1,466 files changed

+46674
-53364
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ artifacts/
44
/tests/scripts/current
55
.dotnet/
66
.packages/
7-
./tools
7+
.tools/
88

99
# Patches that may have been generated by scripts.
1010
# (These aren't generally useful to commit directly; if anything, they should be applied.)

.nuget/NuGet.exe

-3.84 MB
Binary file not shown.

.nuget/NuGet.targets

Lines changed: 0 additions & 138 deletions
This file was deleted.

.vsts-pr.yaml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090

9191
- job: Windows
9292
pool:
93-
vmImage: vs2017-win2016
93+
vmImage: windows-2019
9494
timeoutInMinutes: 120
9595
strategy:
9696
maxParallel: 4
@@ -128,7 +128,7 @@ jobs:
128128

129129
- job: Windows_FCS
130130
pool:
131-
vmImage: vs2017-win2016
131+
vmImage: windows-2019
132132
timeoutInMinutes: 120
133133
steps:
134134
- script: fcs\build.cmd TestAndNuget
@@ -140,3 +140,33 @@ jobs:
140140
publishLocation: Container
141141
continueOnError: true
142142
condition: not(succeeded())
143+
144+
- job: SourceBuild_Linux
145+
pool:
146+
vmImage: ubuntu-16.04
147+
timeoutInMinutes: 90
148+
steps:
149+
- script: ./eng/cibuild.sh --configuration Release /p:DotNetBuildFromSource=true /p:FSharpSourceBuild=true
150+
- task: PublishBuildArtifacts@1
151+
displayName: Publish Build Logs
152+
inputs:
153+
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/Release'
154+
ArtifactName: 'SourceBuild_Linux build log'
155+
publishLocation: Container
156+
continueOnError: true
157+
condition: not(succeeded())
158+
159+
- job: SourceBuild_Windows
160+
pool:
161+
vmImage: windows-2019
162+
timeoutInMinutes: 90
163+
steps:
164+
- script: eng\CIBuild.cmd -configuration Release -noSign /p:DotNetBuildFromSource=true /p:FSharpSourceBuild=true
165+
- task: PublishBuildArtifacts@1
166+
displayName: Publish Build Logs
167+
inputs:
168+
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\log\Release'
169+
ArtifactName: 'SourceBuild_Windows build log'
170+
publishLocation: Container
171+
continueOnError: true
172+
condition: not(succeeded())

.vsts-signed.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ variables:
88
jobs:
99
- job: Full_Signed
1010
pool:
11-
name: VSEng-MicroBuildVS2017
11+
name: VSEng-MicroBuildVS2019
1212
timeoutInMinutes: 300
1313
variables:
1414
BuildConfiguration: 'Release'
@@ -73,20 +73,20 @@ jobs:
7373
ArtifactName: 'VSSetup'
7474
condition: succeeded()
7575

76-
# Archive NuGet packages to DevOps.
76+
# Archive NuGet packages to DevOps.
7777
- task: PublishBuildArtifacts@1
7878
displayName: Publish Artifact Packages
7979
inputs:
8080
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\packages\$(BuildConfiguration)'
8181
ArtifactName: 'Packages'
8282
condition: succeeded()
8383

84-
# Publish nightly package to MyGet
85-
- task: PowerShell@1
86-
displayName: Publish nightly package to MyGet
84+
# Publish nightly package to ADO
85+
- task: PublishBuildArtifacts@1
86+
displayName: Publish Artifact Nightly
8787
inputs:
88-
scriptName: 'setup\publish-assets.ps1'
89-
arguments: '-artifactsPath artifacts -configuration $(BuildConfiguration) -branchName $(Build.SourceBranch) -apiKey $(FSharp.MyGetApiKey)'
88+
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\VisualFSharpFull.vsix'
89+
ArtifactName: 'Nightly'
9090
condition: succeeded()
9191

9292
# Package publish
@@ -108,5 +108,5 @@ jobs:
108108
dependsOn:
109109
- Full_Signed
110110
pool:
111-
vmImage: vs2017-win2016
111+
vmImage: windows-2019
112112
enablePublishBuildArtifacts: true

DEVGUIDE.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Running tests:
6666

6767
To build and test Visual F# IDE Tools, install these requirements:
6868

69-
- Download [Visual Studio 2017](https://www.visualstudio.com/downloads/)
69+
- Download [Visual Studio 2019](https://www.visualstudio.com/downloads/)
7070
- Launch the Visual Studio Installer
7171
- Under the **"Windows"** workload, select **".NET desktop development"**
7272
- Select the optional component **"F# desktop language support"**
@@ -78,11 +78,11 @@ Steps to build:
7878

7979
Build.cmd -- build all F# components under the default configuration (Debug)
8080
Build.cmd -configuration Release -- build all F# components as Release
81-
Build.cmd -testDesktop -- build and test all net46 tests
81+
Build.cmd -testDesktop -- build and test all net472 tests
8282

8383
All test options:
8484

85-
-testDesktop -- test all net46 target frameworks
85+
-testDesktop -- test all net472 target frameworks
8686
-testCoreClr -- test all netstandard and netcoreapp target frameworks
8787
-testFSharpQA -- test all F# Cambridge tests
8888
-testVs -- test all VS integration points
@@ -95,18 +95,18 @@ Note on Debug vs Release: ``Release`` Configuration has a degraded debugging exp
9595

9696
Note ([#2351](https://github.com/Microsoft/visualfsharp/issues/2351)): if you face this error:
9797

98-
> error VSSDK1077: Unable to locate the extensions directory. "ExternalSettingsManager::GetScopePaths failed to initialize PkgDefManager for C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe".
98+
> error VSSDK1077: Unable to locate the extensions directory. "ExternalSettingsManager::GetScopePaths failed to initialize PkgDefManager for C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe".
9999
100100
Or hard crash on launch ("Unknown Error"), delete these folders:
101101

102-
- `%localappdata%\Microsoft\VisualStudio\15.0_(some number here)RoslynDev`
103-
- `%localappdata%\Microsoft\VisualStudio\15.0_(some number here)`
102+
- `%localappdata%\Microsoft\VisualStudio\16.0_(some number here)RoslynDev`
103+
- `%localappdata%\Microsoft\VisualStudio\16.0_(some number here)`
104104

105105
#### [Optional] Install the Visual F# IDE Tools (Windows Only)
106106

107107
The new builds of the Visual F# IDE Tools can no longer be installed into Visual Studio 2015.
108108

109-
You can install Visual Studio 2017 from https://www.visualstudio.com/downloads/.
109+
You can install Visual Studio 2019 from https://www.visualstudio.com/downloads/.
110110

111111
**Note:** This step will install a VSIX extension into Visual Studio "Next" that changes the Visual F# IDE Tools
112112
components installed in that VS installation. You can revert this step by disabling or uninstalling the addin.
@@ -135,15 +135,15 @@ Because this uses the "RoslynDev" hive you can simultaneously test changes to an
135135

136136
#### [Optional] Rapid deployment of incremental changes to Visual F# IDE Tools components
137137

138-
For the brave, you can rapidly deploy incrementally updated versions of Visual F# IDE Tool components such as ``FSHarp.Editor.dll`` by copying them directly into the extension directory in your user AppData folder:
138+
For the brave, you can rapidly deploy incrementally updated versions of Visual F# IDE Tool components such as ``FSharp.Editor.dll`` by copying them directly into the extension directory in your user AppData folder:
139139

140-
xcopy /y debug\net40\bin\FSharp.* "%USERPROFILE%\AppData\Local\Microsoft\VisualStudio\15.0_7c5620b7FSharpDev\Extensions\Microsoft.VisualFSharpTools\Visual F# Tools\15.4.1.9055"
140+
xcopy /y debug\net40\bin\FSharp.* "%USERPROFILE%\AppData\Local\Microsoft\VisualStudio\16.0_7c5620b7FSharpDev\Extensions\Microsoft.VisualFSharpTools\Visual F# Tools\16.4.1.9055"
141141

142142
This gives a much tighter inner development loop than uninstalling/reinstalling the VSIX, as you do not have to restart VIsual Studio. Caveat emptor.
143143

144144
#### [Optional] Clobber the F# SDK on the machine
145145

146-
**Note:** The step below will try to clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsc.exe`` used by the standard install location or ``Microsoft.FSharp.Targets``. **Repairing Visual Studio 15 is currently the only way to revert this step.**
146+
**Note:** The step below will try to clobber the machine-wide installed F# SDK on your machine. This replaces the ``fsc.exe`` used by the standard install location or ``Microsoft.FSharp.Targets``. **Repairing Visual Studio 16 is currently the only way to revert this step.**
147147

148148
For **Debug**:
149149

@@ -184,7 +184,7 @@ If you change error messages you may need to update FSComp.fs in `src\buildfroms
184184
To do this, build the non-buildfromsource version of FSharp.Compiler.Private (src\fsharp\FSharp.Compiler.Private) then check its obj\ directory for `FSComp.fs` and manually copy that into the buildfromsource directory.
185185

186186
.\build net40
187-
copy /y artifacts\obj\FSharp.Compiler.Private\Release\net46\FSComp.* src\buildfromsource\FSharp.Compiler.Private\
187+
copy /y artifacts\obj\FSharp.Compiler.Private\Release\net472\FSComp.* src\buildfromsource\FSharp.Compiler.Private\
188188

189189
If your changes involve modifying the list of language keywords in any way, (e.g. when implementing a new keyword), the XLF localization files need to be synced with the corresponding resx files. This can be done automatically by running
190190

FSharp.Profiles.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<DefineConstants>$(DefineConstants);FX_NO_WINFORMS</DefineConstants>
4040
<DefineConstants>$(DefineConstants);FX_NO_INDENTED_TEXT_WRITER</DefineConstants>
4141
<DefineConstants>$(DefineConstants);FX_REDUCED_EXCEPTIONS</DefineConstants>
42-
<DefineConstants>$(DefineConstants);FX_REDUCED_CONSOLE</DefineConstants>
4342
<DefineConstants>$(DefineConstants);FX_RESHAPED_REFEMIT</DefineConstants>
4443
<DefineConstants>$(DefineConstants);FX_RESHAPED_GLOBALIZATION</DefineConstants>
4544
<DefineConstants>$(DefineConstants);FX_RESHAPED_REFLECTION</DefineConstants>

FSharp.sln

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26403.7
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28729.10
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Compiler.Private", "src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj", "{2E4D67B4-522D-4CF7-97E4-BA940F0B18F3}"
77
EndProject
@@ -34,6 +34,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Libraries", "Libraries", "{
3434
EndProject
3535
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Build.UnitTests", "tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj", "{53C0DAAD-158C-4658-8EC7-D7341530239F}"
3636
EndProject
37+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Packages", "Packages", "{3840F2E7-3898-45F7-8CF7-1E6829E56DB8}"
38+
EndProject
39+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.FSharp.Compiler", "src\fsharp\FSharp.Compiler.nuget\Microsoft.FSharp.Compiler.csproj", "{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}"
40+
EndProject
3741
Global
3842
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3943
Debug|Any CPU = Debug|Any CPU
@@ -164,6 +168,18 @@ Global
164168
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|Any CPU.Build.0 = Release|Any CPU
165169
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|x86.ActiveCfg = Release|Any CPU
166170
{53C0DAAD-158C-4658-8EC7-D7341530239F}.Release|x86.Build.0 = Release|Any CPU
171+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
172+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
173+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|x86.ActiveCfg = Debug|Any CPU
174+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Debug|x86.Build.0 = Debug|Any CPU
175+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|Any CPU.ActiveCfg = Debug|Any CPU
176+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|Any CPU.Build.0 = Debug|Any CPU
177+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|x86.ActiveCfg = Debug|Any CPU
178+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Proto|x86.Build.0 = Debug|Any CPU
179+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
180+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|Any CPU.Build.0 = Release|Any CPU
181+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|x86.ActiveCfg = Release|Any CPU
182+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7}.Release|x86.Build.0 = Release|Any CPU
167183
EndGlobalSection
168184
GlobalSection(SolutionProperties) = preSolution
169185
HideSolutionNode = FALSE
@@ -179,6 +195,7 @@ Global
179195
{A8D9641A-9170-4CF4-8FE0-6DB8C134E1B5} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
180196
{88E2D422-6852-46E3-A740-83E391DC7973} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
181197
{53C0DAAD-158C-4658-8EC7-D7341530239F} = {CFE3259A-2D30-4EB0-80D5-E8B5F3D01449}
198+
{81B9FE26-C976-4FC7-B6CC-C7DB5903CAA7} = {3840F2E7-3898-45F7-8CF7-1E6829E56DB8}
182199
EndGlobalSection
183200
GlobalSection(ExtensibilityGlobals) = postSolution
184201
SolutionGuid = {BD5177C7-1380-40E7-94D2-7768E1A8B1B8}

0 commit comments

Comments
 (0)