Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
072d731
Merge pull request #8103 from dotnet/merges/master-to-release/dev16.5
KevinRansom Jan 7, 2020
e42f520
Merge pull request #8113 from dotnet/merges/master-to-release/dev16.5
KevinRansom Jan 7, 2020
fd8da61
Merge pull request #8119 from dotnet/merges/master-to-release/dev16.5
KevinRansom Jan 8, 2020
9d29b79
Merge pull request #8131 from dotnet/merges/master-to-release/dev16.5
brettfo Jan 8, 2020
c0e59ad
Merge remote-tracking branch 'upstream/master' into merges/merge-mast…
brettfo Jan 9, 2020
f5ae7d7
Merge pull request #8158 from dotnet/merges/merge-master-to-release/d…
KevinRansom Jan 9, 2020
5191877
restore templates removed in #7379
brettfo Jan 15, 2020
5ce9d46
cherry-pick fix to find `ildasm`
brettfo Jan 15, 2020
6ccd253
Merge pull request #8206 from brettfo/restore-packages-16.5
brettfo Jan 15, 2020
1d58e5d
Fix merge issue with dotnet files (#8163) (#8207)
brettfo Jan 15, 2020
ff9402e
Allow length of zero for ByteMemory (#8273) (#8301)
brettfo Jan 21, 2020
c4c09df
temporarily disable auto-insertions to allow a build through the pipe…
brettfo Jan 21, 2020
d6e1a74
Revert "temporarily disable auto-insertions to allow a build through …
brettfo Feb 4, 2020
7c4de19
LOC CHECKIN | dotnet/fsharp release/dev16.5 | 20200204 (#8456)
v-zbsail Feb 4, 2020
00e3d1e
update insertion target for dev16.5 (#8531)
brettfo Feb 10, 2020
cb53087
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Feb 14, 2020
4567bf9
Merge pull request #8573 from dotnet/darc-release/dev16.5-ebfd5591-b4…
KevinRansom Feb 14, 2020
4687117
Add pattern type check recovery (#7711)
auduchinok Mar 6, 2020
ae8bafe
Teeny tiny cleanup - remove CompilerLocationUtilities from dependency…
KevinRansom Mar 6, 2020
b7c7bb1
Make resolutions assembly netstandard 2.0 (#8677)
KevinRansom Mar 7, 2020
b19ed48
Emit compact IL code for unsigned 64-bit constants (#8692)
teo-tsirpanis Mar 11, 2020
133e367
Provided types RawType encapsulation (#8656)
DedSec256 Mar 11, 2020
02380b7
Shorten type annotation for Code Lens + small fixes (#5145)
realvictorprm Mar 11, 2020
cd5661d
Make IsMeasure lazy on ProvidedType (#8697)
TIHan Mar 11, 2020
5e69479
Use shim to calculate assembly write time in assembly content provide…
auduchinok Mar 11, 2020
39b1163
Optimize PrettyNaming.IsActivePatternName (#8704)
auduchinok Mar 12, 2020
27a178e
Optimize operator/active pattern checking in lookup items filtering (…
auduchinok Mar 12, 2020
f4a2b58
Optimize PrettyNaming.IsOperator and prefix operator checks (#8715)
auduchinok Mar 14, 2020
4242dd7
add release notes and bump 'stable' version for version compare
baronfel Mar 15, 2020
6dc7819
Fixed exception that prevented creating a memory mapped file that sha…
TIHan Mar 24, 2020
1829205
Fix typo (#8724)
auduchinok Mar 16, 2020
4d29834
Merge remote-tracking branch 'upstream/release/dev16.5' into merges/r…
brettfo Mar 16, 2020
03c90d6
Merge pull request #8730 from dotnet/merges/release/dev16.5-to-master
brettfo Mar 16, 2020
416d4e9
removed unused provided context from provided assembly (#8714)
DedSec256 Mar 16, 2020
6449dc5
Default interface member consumption (#8628)
TIHan Mar 17, 2020
cc26438
Update tooling/FSharp.Core package versions (#8742)
KevinRansom Mar 18, 2020
19d0465
Update namespace for Interactive.DependencyManager (#8744)
KevinRansom Mar 19, 2020
50a5b14
Don't store end pos in CapturedNameResolution (#8768)
auduchinok Mar 22, 2020
cf2cd2e
Optimize posEq, posGt (#8770)
auduchinok Mar 22, 2020
0091e4f
Don't store display env in CapturedNameResolution (#8769)
auduchinok Mar 22, 2020
5641007
Use interned generated case field names for common cases (#6342)
auduchinok Mar 23, 2020
5804b00
additional case for custom ops for applicatives (#8586)
dsyme Mar 23, 2020
7e86c6f
Don't store display env in captured expression types (#8781)
auduchinok Mar 24, 2020
5859f82
fix 8777 (#8778)
KevinRansom Mar 24, 2020
82b4595
Feed cleanup
mmitche Mar 24, 2020
407c998
Add Item.UnionCaseField, create FSharpField where applicable, keep ow…
auduchinok Mar 24, 2020
0928926
Merge pull request #8786 from dotnet/mmitche-patch-1
KevinRansom Mar 25, 2020
e7e240c
merge
KevinRansom Mar 25, 2020
4f8963c
code cleanup (#8782)
dsyme Mar 25, 2020
33eaf7b
Merge pull request #8783 from dotnet/merges/release/dev16.5-to-master
KevinRansom Mar 25, 2020
a76e3de
Don't store duplicate captured name resolutions (#8779)
auduchinok Mar 25, 2020
efb973f
Don't check isFunction for every captured type, don't store end pos (…
auduchinok Mar 25, 2020
7b7fa27
bump release notes
baronfel Mar 26, 2020
d55ef7f
get the dependency manager building and publishing as part of the FCS…
baronfel Mar 26, 2020
0d9aaef
Default interface member consumption (#8628)
TIHan Mar 17, 2020
4c49cd0
Don't store display env in CapturedNameResolution (#8769)
auduchinok Mar 22, 2020
e465e67
Use interned generated case field names for common cases (#6342)
auduchinok Mar 23, 2020
1d8d426
additional case for custom ops for applicatives (#8586)
dsyme Mar 23, 2020
53ae112
code cleanup (#8782)
dsyme Mar 25, 2020
96c1236
documentation and code cleanup (#8795)
dsyme Mar 26, 2020
13bedf7
Fix error reporting for PackageManager (#8776)
KevinRansom Mar 26, 2020
35e8760
Compiler fix and tests (#8803)
KevinRansom Mar 26, 2020
a3983d1
Add Range to FSharpErrorInfo, replace inner fields (#8799)
auduchinok Mar 27, 2020
15e6a92
Move nullable into separate files (#8801)
cartermp Mar 27, 2020
b15662e
Give featureAndBang a more localizable source string (#8826)
cartermp Mar 28, 2020
2e5c9df
cleanup: tast.fs --> TypedTree.fs and other items (#8805)
dsyme Mar 29, 2020
af36a93
Add nullable uint conversion function (#8780)
cartermp Mar 29, 2020
249b280
Support platform specific assemblies (#8812)
KevinRansom Mar 30, 2020
8401aba
Fix https://github.com/dotnet/fsharp/issues/8802 (#8827)
KevinRansom Mar 30, 2020
4c0c799
Add devcontainer definition for Visual Studio Online (#8800)
Krzysztof-Cieslak Mar 26, 2020
1663f91
Add mising constants from merges
baronfel Mar 30, 2020
9f87485
Release notes
baronfel Mar 30, 2020
85af456
Cherry pick Fix for #8827 --- Invalid floating point number for dotle…
KevinRansom Apr 1, 2020
73b0d1d
Fixed indexer with type annotation (#8850)
TIHan Apr 6, 2020
48efda3
Revert "Fixed indexer with type annotation (#8850)" (#8888)
KevinRansom Apr 6, 2020
0ecde22
Fix #8832 (#8838)
KevinRansom Mar 31, 2020
418cc55
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Mar 31, 2020
80fce01
Merge pull request #8842 from dotnet/darc-master-fd3755a0-98e3-4c80-8…
KevinRansom Mar 31, 2020
c92f2f0
ProvidedExpr handles encapsulation (#8809)
DedSec256 Apr 1, 2020
47bb4ed
Fix #8853 (#8855)
KevinRansom Apr 1, 2020
d0215ca
Merge branch 'master' into merges/release/dev16.5-to-master
KevinRansom Apr 1, 2020
89c0dce
Merge pull request #8856 from dotnet/merges/release/dev16.5-to-master
KevinRansom Apr 1, 2020
87863e8
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Apr 1, 2020
1ded94e
remove hard-coded insertion name (#8868)
brettfo Apr 2, 2020
da3ab36
update Microsoft.VSSDK.BuildTools version (#8869)
brettfo Apr 3, 2020
13db461
cleanup to minimize diff for RFC FS-1087 (#8867)
dsyme Apr 3, 2020
1ef092d
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Apr 3, 2020
db1cce0
update insertion task to queue perf DDRITs (#8878)
brettfo Apr 3, 2020
8820aad
Remove unnecessary NuGet package references in FCS. (#8898)
teo-tsirpanis Apr 7, 2020
5b5eec6
Merge pull request #8895 from dotnet/merges/release/dev16.5-to-master
brettfo Apr 7, 2020
bea377a
Remove all of the ngen stuff (#8906)
KevinRansom Apr 10, 2020
ce8a14c
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Apr 9, 2020
67b3c96
Merge pull request #8911 from dotnet/darc-master-1ac338ed-3c68-4820-8…
KevinRansom Apr 10, 2020
261d01d
update release notes
baronfel Apr 10, 2020
3f979bc
update package specs
baronfel Apr 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/dotnet/core/sdk:3.1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive

# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
# will be updated to match your local UID/GID (when using the dockerFile property).
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

# Configure apt and install packages
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
#
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
&& apt-get -y install git openssh-client less iproute2 procps lsb-release \
#
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
&& groupadd --gid $USER_GID $USERNAME \
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
# [Optional] Add sudo support for the non-root user
&& apt-get install -y sudo \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\
&& chmod 0440 /etc/sudoers.d/$USERNAME \
#
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog
34 changes: 34 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.108.0/containers/dotnetcore-3.1-fsharp
{
"name": "F# (.NET Core 3.1)",
"dockerFile": "Dockerfile",

// Set *default* container specific settings.json values on container create.
//
// .NET Core is now the default for F# in .NET Core 3.0+
// However, .NET Core scripting is not the default yet. Set that to true.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"FSharp.useSdkScripts":true,
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": false,
"FSharp.suggestGitignore": false,
"FSharp.workspacePath": "FSharp.sln"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"Ionide.Ionide-fsharp",
"ms-dotnettools.csharp"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "./build.sh",

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": false,
"FSharp.suggestGitignore": false,
"FSharp.workspacePath": "FSharp.sln"
}
7 changes: 3 additions & 4 deletions FSharpBuild.Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Project="eng\targets\Imports.targets" />
<Import Project="eng\targets\NuGet.targets" />
<Import Project="eng\targets\NGenBinaries.targets" />
<Import Project="FSharp.Profiles.props" />

<Target Name="NoneSubstituteTextFiles"
Expand Down Expand Up @@ -72,13 +71,13 @@
DependsOnTargets="CopyVsixResources"
Condition="'$(Configuration)' != 'Proto' and '$(Language)'=='F#' and '$(DisableCompilerRedirection)' != 'true' ">

<SubstituteText EmbeddedResources="@(EmbeddedResource)">
<!-- <SubstituteText EmbeddedResources="@(EmbeddedResource)">
<Output TaskParameter="CopiedFiles" ItemName="CopiedFiles" />
</SubstituteText>
</SubstituteText> -->

<ItemGroup>
<EmbeddedResource Remove="@(EmbeddedResource)"/>
<EmbeddedResource Include="@(CopiedFiles)"/>
<!-- <EmbeddedResource Include="@(CopiedFiles)"/> -->
</ItemGroup>

<MakeDir Directories="$(IntermediateOutputPath)" Condition="!Exists('$(IntermediateOutputPath)')" />
Expand Down
9 changes: 2 additions & 7 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<clear />
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="dotnet5-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="fsharp-daily" value="https://www.myget.org/F/fsharp-daily/api/v3/index.json" />
<add key="roslyn-master-nightly" value="https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json" />
<add key="myget-dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="dotnet-buildtools" value="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" />
<add key="roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
<add key="roslyn" value="https://dotnet.myget.org/F/roslyn/api/v3/index.json" />
<add key="symreader-converter" value="https://dotnet.myget.org/F/symreader-converter/api/v3/index.json" />
Expand All @@ -22,11 +22,6 @@
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
<add key="roslyn_concord" value="https://myget.org/F/roslyn_concord/api/v3/index.json" />
<add key="dotnet-windowsdesktop" value="https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json" />
<add key="aspnet-aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" />
<add key="aspnet-aspnetcore-tooling" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json" />
<add key="aspnet-entityframeworkcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json" />
<add key="aspnet-extensions" value="https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json" />
<add key="gRPC repository" value="https://grpc.jfrog.io/grpc/api/nuget/v3/grpc-nuget-dev" />
</packageSources>
<disabledPackageSources>
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ build_script:
test: off
version: '{build}'
artifacts:
- path: artifacts\bin\fcs\Release\*.nupkg
- path: artifacts\bin\fcs\Release\*.nupkg
- path: artifacts\packages\Release\Shipping\*.nupkg
3 changes: 3 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ DEAD_DIRS=(
"eng/common/templates"
"FSharp.sln"
"src/fsharp/fsc/fsc.fsproj"
"src/fsharp/FSharp.Build/FSharp.Build.fsproj"
"src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.nuspec"
"src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj"
"src/fsharp/FSharp.DependencyManager/xlf/"
"src/fsharp/fsi/fsi.fsproj"
"src/fsharp/fsiAnyCpu/fsiAnyCpu.fsproj"
"src/fsharp/Interactive.DependencyManager/xlf"
Expand All @@ -20,6 +22,7 @@ DEAD_DIRS=(
"tests/fsharp/Compiler"
"tests/fsharp/conformance"
"tests/fsharp/core"
"tests/fsharp/FSharpSuite.Tests.fsproj"
"tests/fsharp/test-framework.fs"
"tests/fsharp/tests.fs"
"tests/fsharp/typecheck"
Expand Down
1 change: 1 addition & 0 deletions eng/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ try {

if ($bootstrap) {
$script:BuildMessage = "Failure building bootstrap compiler"
$toolsetBuildProj = InitializeToolset
$bootstrapDir = Make-BootstrapBuild
}

Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20124.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20208.8">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>0b8ce7c1c078eefb4cbc4d7e67ffc02f1f73382d</Sha>
<Sha>0554dd21ef58e0ad23ad20388d05f11ab6cf3fa7</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
10 changes: 5 additions & 5 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
<PreReleaseVersionLabel>beta</PreReleaseVersionLabel>
<FSLanguageVersion>4.7</FSLanguageVersion>
<FSCoreMajorVersion>$(FSLanguageVersion)</FSCoreMajorVersion>
<FSCorePackageVersion>$(FSCoreMajorVersion).1</FSCorePackageVersion>
<FSCorePackageVersion>$(FSCoreMajorVersion).2</FSCorePackageVersion>
<FSCoreVersionPrefix>$(FSCoreMajorVersion).0</FSCoreVersionPrefix>
<FSCoreVersion>$(FSCoreVersionPrefix).0</FSCoreVersion>
<!-- The current published nuget package -->
<FSharpCoreShippedPackageVersion>4.7.0</FSharpCoreShippedPackageVersion>
<FSharpCoreShippedPackageVersion>4.7.1</FSharpCoreShippedPackageVersion>
<!-- The pattern for specifying the preview package -->
<FSharpCorePreviewPackageVersion>$(FSCorePackageVersion)-$(PreReleaseVersionLabel).*</FSharpCorePreviewPackageVersion>
</PropertyGroup>
<PropertyGroup>
<FSPackageMajorVersion>10.7</FSPackageMajorVersion>
<FSPackageMajorVersion>10.8</FSPackageMajorVersion>
<FSPackageVersion>$(FSPackageMajorVersion).1</FSPackageVersion>
<FSProductVersionPrefix>$(FSPackageVersion)</FSProductVersionPrefix>
<FSProductVersion>$(FSPackageVersion).0</FSProductVersion>
</PropertyGroup>
<PropertyGroup>
<VSMajorVersion>16</VSMajorVersion>
<VSMinorVersion>4</VSMinorVersion>
<VSMinorVersion>5</VSMinorVersion>
<VSGeneralVersion>$(VSMajorVersion).0</VSGeneralVersion>
<VSAssemblyVersionPrefix>$(VSMajorVersion).$(VSMinorVersion).0</VSAssemblyVersionPrefix>
<VSAssemblyVersion>$(VSAssemblyVersionPrefix).0</VSAssemblyVersion>
Expand Down Expand Up @@ -158,7 +158,7 @@
<MicrosoftVisualStudioUtilitiesVersion>16.1.28917.181</MicrosoftVisualStudioUtilitiesVersion>
<MicrosoftVisualStudioValidationVersion>15.3.58</MicrosoftVisualStudioValidationVersion>
<MicrosoftVisualStudioWCFReferenceInteropVersion>9.0.30729</MicrosoftVisualStudioWCFReferenceInteropVersion>
<MicrosoftVSSDKBuildToolsVersion>16.3.2099</MicrosoftVSSDKBuildToolsVersion>
<MicrosoftVSSDKBuildToolsVersion>16.5.2044</MicrosoftVSSDKBuildToolsVersion>
<VSSDKDebuggerVisualizersVersion>12.0.4</VSSDKDebuggerVisualizersVersion>
<VSSDKVSLangProjVersion>7.0.4</VSSDKVSLangProjVersion>
<VSSDKVSLangProj8Version>8.0.4</VSSDKVSLangProj8Version>
Expand Down
30 changes: 22 additions & 8 deletions eng/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,30 @@ function Make-BootstrapBuild() {
Create-Directory $dir

# prepare FsLex and Fsyacc and AssemblyCheck
Run-MSBuild "$RepoRoot\src\buildtools\buildtools.proj" "/restore /t:Publish /p:PublishWindowsPdb=false" -logFileName "BuildTools" -configuration $bootstrapConfiguration
Copy-Item "$ArtifactsDir\bin\fslex\$bootstrapConfiguration\netcoreapp3.0\publish" -Destination "$dir\fslex" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsyacc\$bootstrapConfiguration\netcoreapp3.0\publish" -Destination "$dir\fsyacc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\AssemblyCheck\$bootstrapConfiguration\netcoreapp3.0\publish" -Destination "$dir\AssemblyCheck" -Force -Recurse
$dotnetPath = InitializeDotNetCli
$dotnetExe = Join-Path $dotnetPath "dotnet.exe"
$buildToolsProject = "$RepoRoot\src\buildtools\buildtools.proj"

$argNoRestore = if ($norestore) { " --no-restore" } else { "" }
$argNoIncremental = if ($rebuild) { " --no-incremental" } else { "" }

$args = "build $buildToolsProject -c $bootstrapConfiguration -v $verbosity -f netcoreapp3.0" + $argNoRestore + $argNoIncremental
Exec-Console $dotnetExe $args

Copy-Item "$ArtifactsDir\bin\fslex\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\fslex" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsyacc\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\fsyacc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\AssemblyCheck\$bootstrapConfiguration\netcoreapp3.0" -Destination "$dir\AssemblyCheck" -Force -Recurse

# prepare compiler
$projectPath = "$RepoRoot\proto.proj"
Run-MSBuild $projectPath "/restore /t:Publish /p:TargetFramework=$bootstrapTfm;ProtoTargetFramework=$bootstrapTfm /p:PublishWindowsPdb=false" -logFileName "Bootstrap" -configuration $bootstrapConfiguration
Copy-Item "$ArtifactsDir\bin\fsc\$bootstrapConfiguration\$bootstrapTfm\publish" -Destination "$dir\fsc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsi\$bootstrapConfiguration\$bootstrapTfm\publish" -Destination "$dir\fsi" -Force -Recurse
$protoProject = "$RepoRoot\proto.proj"
$args = "build $protoProject -c $bootstrapConfiguration -v $verbosity -f $bootstrapTfm" + $argNoRestore + $argNoIncremental
Exec-Console $dotnetExe $args

Copy-Item "$ArtifactsDir\bin\fsc\$bootstrapConfiguration\$bootstrapTfm" -Destination "$dir\fsc" -Force -Recurse
Copy-Item "$ArtifactsDir\bin\fsi\$bootstrapConfiguration\$bootstrapTfm" -Destination "$dir\fsi" -Force -Recurse

return $dir
}



4 changes: 2 additions & 2 deletions eng/release/insert-into-vs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
componentBranchName: ''
insertBuildPolicy: 'CloudBuild - Request RPS'
insertBuildPolicy: 'Request Perf DDRITs'
insertTargetBranch: ''
insertTeamEmail: ''
insertTeamName: ''
Expand All @@ -27,7 +27,7 @@ stages:
- name: InsertTeamName
value: ${{ parameters.insertTeamName }}
- name: InsertPayloadName
value: 'F# $(Build.SourceBranchName) $(Build.BuildNumber)'
value: '${{ parameters.insertTeamName }} $(Build.SourceBranchName) $(Build.BuildNumber)'
steps:
- task: DownloadBuildArtifacts@0
displayName: Download Insertion Artifacts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<DefineConstants>$(DefineConstants);CROSS_PLATFORM_COMPILER</DefineConstants>
<DefineConstants>$(DefineConstants);ENABLE_MONO_SUPPORT</DefineConstants>
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup>
<Description>Additional DLL for legacy compat for the F# compiler service.</Description>
<Summary>Additional DLL for legacy compat for the F# compiler service.</Summary>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Authors>F# community contributors</Authors>
<PackageLicenseUrl>https://github.com/fsharp/FSharp.Compiler.Service/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/fsharp/FSharp.Compiler.Service</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F#, compiler, msbuild</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\netfx.props" />
<Import Project="..\..\eng\Versions.props"/> <!-- keep our test deps in line with the overall compiler -->
<PropertyGroup>
Expand Down Expand Up @@ -67,6 +67,9 @@
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\TreeVisitorTests.fs">
<Link>TreeVisitorTests.fs</Link>
</Compile>
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\PatternMatchCompilationTests.fs">
<Link>PatternMatchCompilationTests.fs</Link>
</Compile>
<Compile Include="$(FSharpSourcesRoot)\..\tests\service\ScriptOptionsTests.fs">
<Link>ScriptOptionsTests.fs</Link>
</Compile>
Expand Down
10 changes: 7 additions & 3 deletions fcs/FSharp.Compiler.Service.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29418.71
MinimumVisualStudioVersion = 10.0.40219.1
Expand All @@ -7,8 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{B6B6
build.cmd = build.cmd
build.fsx = build.fsx
build.sh = build.sh
nuget\FSharp.Compiler.Service.MSBuild.v12.nuspec = nuget\FSharp.Compiler.Service.MSBuild.v12.nuspec
nuget\FSharp.Compiler.Service.nuspec = nuget\FSharp.Compiler.Service.nuspec
paket.dependencies = paket.dependencies
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
Expand Down Expand Up @@ -74,6 +72,8 @@ Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Compiler.Service", "
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Compiler.Service.Tests", "FSharp.Compiler.Service.Tests\FSharp.Compiler.Service.Tests.fsproj", "{EE85AAB7-CDA0-4C4E-BDA0-A64DDDD13E3F}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharp.DependencyManager.Nuget", "..\src\fsharp\FSharp.DependencyManager.Nuget\FSharp.DependencyManager.Nuget.fsproj", "{C75A2B88-DA11-4DF7-826F-92E6CDBA47BD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -120,6 +120,10 @@ Global
{EE85AAB7-CDA0-4C4E-BDA0-A64DDDD13E3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE85AAB7-CDA0-4C4E-BDA0-A64DDDD13E3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE85AAB7-CDA0-4C4E-BDA0-A64DDDD13E3F}.Release|Any CPU.Build.0 = Release|Any CPU
{C75A2B88-DA11-4DF7-826F-92E6CDBA47BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C75A2B88-DA11-4DF7-826F-92E6CDBA47BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C75A2B88-DA11-4DF7-826F-92E6CDBA47BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C75A2B88-DA11-4DF7-826F-92E6CDBA47BD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading