Skip to content

Commit 6dd137f

Browse files
authored
Merge branch 'dev16.0' into suggested-names-optional
2 parents d51f910 + caf462c commit 6dd137f

File tree

617 files changed

+9717
-3760
lines changed

Some content is hidden

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

617 files changed

+9717
-3760
lines changed

.gitignore

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
# Downloaded packages and build tools.
2-
/lkg
3-
/packages
4-
/Tools
1+
# output location
2+
artifacts/
53

6-
/tests/scripts/current
7-
/release
8-
/debug
9-
/Proto
4+
packages/
105

11-
# auto-generated during the build
12-
global.json
6+
/tests/scripts/current
137

148
# Patches that may have been generated by scripts.
159
# (These aren't generally useful to commit directly; if anything, they should be applied.)
@@ -88,9 +82,6 @@ lib/bootstrap/4.1/policy*
8882
obj/
8983
bin/
9084
aclocal.m4
91-
Debug
92-
Release
93-
Proto
9485
sign_temp
9586
.libs
9687
configure
@@ -114,7 +105,6 @@ ossreadme*.txt
114105
*.cto
115106
*.vstman
116107
project.lock.json
117-
Tools/
118108
Backup/
119109
tests/fsharp/core/array/dont.run.peverify
120110
tests/fsharp/core/innerpoly/dont.run.peverify
@@ -123,7 +113,6 @@ times
123113
/tests/fsharpqa/testenv/bin/System.ValueTuple.dll
124114
source_link.json
125115
.vs/
126-
/VSRelease/net40/bin
127116
System.ValueTuple.dll
128117
tests/fsharpqa/testenv/bin/System.ValueTuple.dll
129118
*/.fake

.vsts-pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- script: $(_command) $(_args)
1818
- task: PublishBuildArtifacts@1
1919
inputs:
20-
PathtoPublish: '$(Build.SourcesDirectory)/tests/TestResults'
20+
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/TestResults'
2121
ArtifactName: 'Linux $(_command) $(_args)'
2222
publishLocation: Container
2323
continueOnError: true
@@ -26,7 +26,7 @@ jobs:
2626
- job: Windows
2727
pool:
2828
vmImage: vs2017-win2016
29-
timeoutInMinutes: 90
29+
timeoutInMinutes: 120
3030
strategy:
3131
maxParallel: 7
3232
matrix:
@@ -55,7 +55,7 @@ jobs:
5555
- script: $(_command) $(_args)
5656
- task: PublishBuildArtifacts@1
5757
inputs:
58-
PathtoPublish: '$(Build.SourcesDirectory)\tests\TestResults'
58+
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\TestResults'
5959
ArtifactName: 'Windows $(_command) $(_args)'
6060
publishLocation: Container
6161
continueOnError: true

.vsts-signed.yaml

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
variables:
2+
- name: PB_PublishBlobFeedUrl
3+
value: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
4+
- group: DotNet-Blob-Feed
5+
- name: PB_PublishBlobFeedKey
6+
value: $(dotnetfeed-storage-access-key-1)
7+
18
jobs:
29
- job: Full_Signed
310
pool:
411
name: VSEng-MicroBuildVS2017
512
timeoutInMinutes: 300
613
variables:
7-
MSBuildConfiguration: 'Release'
14+
BuildConfiguration: 'Release'
815
steps:
916
# Install Signing Plugin
1017
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
@@ -29,22 +36,51 @@ jobs:
2936
displayName: Publish nightly package to MyGet
3037
inputs:
3138
scriptName: 'setup\publish-assets.ps1'
32-
arguments: '-binariesPath $(MSBuildConfiguration) -branchName $(Build.SourceBranch) -apiKey $(FSharp.MyGetApiKey)'
39+
arguments: '-binariesPath artifacts\bin -configuration $(BuildConfiguration) -branchName $(Build.SourceBranch) -apiKey $(FSharp.MyGetApiKey)'
3340
condition: and(succeeded(), contains(variables['PB_PublishType'], 'myget'))
3441

35-
# Publish packages to Azure Blob Storage
42+
# Package publish
43+
- task: CmdLine@1
44+
displayName: Restore package publishing
45+
inputs:
46+
filename: '.nuget\NuGet.exe'
47+
arguments: 'restore packages.config -PackagesDirectory packages -Source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json'
48+
condition: and(succeeded(), contains(variables['PB_PublishType'], 'blob'))
3649
- task: MSBuild@1
3750
displayName: Publish packages to Azure Blob Storage
3851
inputs:
3952
solution: PublishToBlob.proj
40-
msbuildArguments: '/t:Build /p:ExpectedFeedUrl=$(PB_PublishBlobFeedUrl) /p:AccountKey=$(PB_PublishBlobFeedKey) /p:ManifestBranch=$(SourceBranch) /p:ManifestCommit=$(SourceVersion) /p:ManifestBuildId=$(OfficialBuildId)'
53+
msbuildArguments: '/t:Build /p:Configuration=$(BuildConfiguration) /p:ExpectedFeedUrl=$(PB_PublishBlobFeedUrl) /p:AccountKey=$(PB_PublishBlobFeedKey) /p:ManifestRepouri=$(Build.Repository.Uri) /p:ManifestBranch=$(Build.SourceBranch) /p:ManifestCommit=$(Build.SourceVersion) /p:ManifestBuildId=$(Build.BuildNumber) /bl:$(Build.SourcesDirectory)/artifacts/log/$(BuildConfiguration)/pub/publish.binlog'
54+
condition: and(succeeded(), contains(variables['PB_PublishType'], 'blob'))
55+
- task: PublishBuildArtifacts@1
56+
displayName: Publish publishing bin log
57+
inputs:
58+
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/$(BuildConfiguration)/pub'
59+
ArtifactName: 'Publish_bin_log'
60+
publishLocation: Container
61+
continueOnError: true
62+
condition: and(succeeded(), contains(variables['PB_PublishType'], 'blob'))
63+
- task: CopyFiles@2
64+
displayName: Gather Asset Manifests
65+
inputs:
66+
SourceFolder: '$(Build.SourcesDirectory)/artifacts/log/$(BuildConfiguration)/AssetManifest'
67+
TargetFolder: '$(Build.StagingDirectory)/AssetManifests'
68+
continueOnError: true
69+
condition: and(succeeded(), contains(variables['PB_PublishType'], 'blob'))
70+
- task: PublishBuildArtifacts@1
71+
displayName: Push Asset Manifests
72+
inputs:
73+
PathtoPublish: '$(Build.StagingDirectory)/AssetManifests'
74+
PublishLocation: Container
75+
ArtifactName: AssetManifests
76+
continueOnError: true
4177
condition: and(succeeded(), contains(variables['PB_PublishType'], 'blob'))
4278

4379
# Create static drop
4480
- task: PublishBuildArtifacts@1
4581
displayName: Create static drop
4682
inputs:
47-
PathtoPublish: '$(MSBuildConfiguration)'
83+
PathtoPublish: 'artifacts'
4884
ArtifactName: '$(Build.BuildNumber)'
4985
publishLocation: FilePath
5086
TargetPath: '$(DropRoot)\$(Build.DefinitionName)\$(Build.SourceBranchName)'
@@ -58,7 +94,7 @@ jobs:
5894
inputs:
5995
SymbolsPath: '$(DropRoot)\$(Build.DefinitionName)\$(Build.SourceBranchName)\$(Build.BuildNumber)\Symbols'
6096
SearchPattern: '**\*.dll;**\*.exe;**\*.pdb'
61-
SymbolsFolder: '$(Build.SourcesDirectory)\$(MSBuildConfiguration)'
97+
SymbolsFolder: '$(Build.SourcesDirectory)\artifacts\SymStore'
6298
TreatNotIndexedAsWarning: true
6399
SymbolsProduct: '$(Build.DefinitionName)'
64100
SymbolsVersion: '$(Build.BuildNumber)'
@@ -69,7 +105,7 @@ jobs:
69105
- task: ms-vseng.MicroBuildTasks.4305a8de-ba66-4d8b-b2d1-0dc4ecbbf5e8.MicroBuildUploadVstsDropFolder@1
70106
displayName: Upload VSTS Drop
71107
inputs:
72-
DropFolder: '$(Build.SourcesDirectory)\$(MSBuildConfiguration)\insertion'
108+
DropFolder: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\Insertion'
73109
condition: and(succeeded(), contains(variables['PB_PublishType'], 'vsts'))
74110

75111
# Execute cleanup tasks
@@ -91,6 +127,14 @@ jobs:
91127
displayName: Publish symbols to SymWeb
92128
inputs:
93129
symbolServiceURI: 'https://microsoft.artifacts.visualstudio.com/DefaultCollection'
94-
sourcePath: '$(DropRoot)\$(Build.DefinitionName)\$(Build.SourceBranchName)\$(Build.BuildNumber)\Symbols'
130+
sourcePath: '$(DropRoot)\$(Build.DefinitionName)\$(Build.SourceBranchName)\$(Build.BuildNumber)\SymStore'
95131
usePat: false
96132
condition: and(succeeded(), contains(variables['PB_PublishType'], 'symweb'))
133+
134+
- template: /eng/common/templates/job/publish-build-assets.yml
135+
parameters:
136+
dependsOn:
137+
- Full_Signed
138+
pool:
139+
vmImage: vs2017-win2016
140+
enablePublishBuildArtifacts: true

DEVGUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ components installed in that VS installation. You can revert this step by disab
167167
For **Debug**, uninstall then reinstall:
168168

169169
VSIXInstaller.exe /u:"VisualFSharp"
170-
VSIXInstaller.exe debug\net40\bin\VisualFSharpFull.vsix
170+
VSIXInstaller.exe artifacts\bin\VisualFSharpFull\Debug\net46\VisualFSharpFull.vsix
171171

172172
For **Release**, uninstall then reinstall:
173173

174174
VSIXInstaller.exe /u:"VisualFSharp"
175-
VSIXInstaller.exe release\net40\bin\VisualFSharpFull.vsix
175+
VSIXInstaller.exe artifacts\bin\VisualFSharpFull\Release\net46\VisualFSharpFull.vsix
176176

177177
Restart Visual Studio, it should now be running your freshly-built Visual F# IDE Tools with updated F# Interactive.
178178

@@ -237,7 +237,7 @@ If you change error messages you may need to update FSComp.fs in `src\buildfroms
237237
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.
238238

239239
.\build net40
240-
copy /y src\fsharp\FSharp.Compiler.Private\obj\release\net40\FSComp.* src\buildfromsource\FSharp.Compiler.Private\
240+
copy /y artifacts\obj\FSharp.Compiler.Private\Release\net46\FSComp.* src\buildfromsource\FSharp.Compiler.Private\
241241

242242
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
243243

FSharpBuild.Directory.Build.props

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,34 @@
1010
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
1111
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
1212
<FSharpSourcesRoot>$(RepoRoot)src</FSharpSourcesRoot>
13-
<ToolsRoot>$(RepoRoot)Tools</ToolsRoot>
14-
<ProtoOutputPath Condition="'$(OS)' != 'Unix'">$(RepoRoot)Proto\net40\bin</ProtoOutputPath>
15-
<ProtoOutputPath Condition="'$(OS)' == 'Unix'">$(RepoRoot)Proto\coreclr\bin</ProtoOutputPath>
13+
<ArtifactsDir>$(RepoRoot)artifacts</ArtifactsDir>
14+
<ToolsRoot>$(ArtifactsDir)\toolset</ToolsRoot>
15+
<ArtifactsBinDir>$(ArtifactsDir)\bin</ArtifactsBinDir>
16+
<ArtifactsObjDir>$(ArtifactsDir)\obj</ArtifactsObjDir>
17+
<ArtifactsPackagesDir>$(ArtifactsDir)\packages</ArtifactsPackagesDir>
18+
<BaseOutputPath>$(ArtifactsBinDir)\$(MSBuildProjectName)</BaseOutputPath>
19+
<BaseIntermediateOutputPath>$(ArtifactsObjDir)\$(MSBuildProjectName)</BaseIntermediateOutputPath>
20+
<SymStoreDirectory>$(ArtifactsDir)\SymStore</SymStoreDirectory>
21+
<ProtoOutputPath Condition="'$(OS)' != 'Unix'">$(ArtifactsBinDir)\fsc\Proto\net472</ProtoOutputPath>
22+
<ProtoOutputPath Condition="'$(OS)' == 'Unix'">$(ArtifactsBinDir)/fsc/Proto/netcoreapp2.1</ProtoOutputPath>
1623
<ValueTupleImplicitPackageVersion>4.4.0</ValueTupleImplicitPackageVersion>
1724
</PropertyGroup>
1825

1926
<!-- nuget -->
2027
<PropertyGroup>
28+
<!-- Point to artifacts folder as an additional nuget package source -->
29+
<RestoreAdditionalProjectSources Condition = "Exists('$(ArtifactsPackagesDir)') and '$(RestoreAdditionalProjectSources)' != ''">$(RestoreAdditionalProjectSources);$(ArtifactsPackagesDir)</RestoreAdditionalProjectSources>
30+
<RestoreAdditionalProjectSources Condition = "Exists('$(ArtifactsPackagesDir)') and '$(RestoreAdditionalProjectSources)' == ''">$(ArtifactsPackagesDir)</RestoreAdditionalProjectSources>
31+
2132
<!-- default NuGet package restore location -->
2233
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(NUGET_PACKAGES)</NuGetPackageRoot>
2334
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' == 'Windows_NT'">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
2435
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' != 'Windows_NT'">$(HOME)/.nuget/packages/</NuGetPackageRoot>
36+
2537
<!-- ensure there is a trailing slash -->
2638
<NuGetPackageRoot Condition="!HasTrailingSlash('$(NuGetPackageRoot)') AND '$(OS)' == 'Windows_NT'">$(NuGetPackageRoot)\</NuGetPackageRoot>
2739
<NuGetPackageRoot Condition="!HasTrailingSlash('$(NuGetPackageRoot)') AND '$(OS)' != 'Windows_NT'">$(NuGetPackageRoot)/</NuGetPackageRoot>
40+
2841
<!-- ensure all NuGet packages come from the `$(NuGetPackageRoot)` variable -->
2942
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
3043
</PropertyGroup>
@@ -44,6 +57,7 @@
4457
<StrongNames>true</StrongNames>
4558
<DelaySign>true</DelaySign>
4659
</PropertyGroup>
60+
4761
<PropertyGroup Condition="'$(MonoPackaging)' == 'true'">
4862
<AssemblyOriginatorKeyFile>$(FSharpSourcesRoot)\fsharp\test.snk</AssemblyOriginatorKeyFile>
4963
<DelaySign>false</DelaySign>

FSharpBuild.Directory.Build.targets

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -34,42 +34,7 @@
3434
</CreateItem>
3535
</Target>
3636

37-
<Target Name="ComputeFinalOutputPaths">
38-
<!--
39-
Ideally we'd set <OutputPath> to `$(Configuration)\[net40|coreclr]\bin`, but the calculation of `[net40|coreclr]`
40-
depends on the `$(TargetFramework)` variable which is set by the individual project files, but by the time we have
41-
that value (e.g., in this file) it's too late; some targets, particularly from the VsSDK have already used the
42-
values of $(OutputPath)/$(OutDir).
43-
44-
The fix is to not set `$(Outputpath)` and simply copy stuff there after the fact.
45-
-->
46-
47-
<PropertyGroup>
48-
<TargetDotnetProfile Condition="$(TargetFramework.StartsWith('netstandard')) or $(TargetFramework.StartsWith('netcoreapp'))">coreclr</TargetDotnetProfile>
49-
<TargetDotnetProfile Condition="$(TargetFramework.StartsWith('net4'))">net40</TargetDotnetProfile>
50-
<ActualOutputPath Condition="'$(Language)' != 'VB'">$(MSBuildProjectDirectory)\$(OutputPath)</ActualOutputPath>
51-
<ActualOutputPath Condition="'$(Language)' == 'VB'">$(OutputPath)</ActualOutputPath>
52-
<FinalOutputPath>$(RepoRoot)$(Configuration)\$(TargetDotnetProfile)\bin</FinalOutputPath>
53-
<FinalIntermediateOutputPath>$(RepoRoot)$(Configuration)\$(TargetDotnetProfile)\obj</FinalIntermediateOutputPath>
54-
</PropertyGroup>
55-
</Target>
56-
57-
<Target Name="HACK_CopyOutputsToTheProperLocation"
58-
AfterTargets="AfterBuild"
59-
DependsOnTargets="ComputeFinalOutputPaths"
60-
Condition="'$(DisableOutputPathCopying)' != 'true'">
61-
62-
<ItemGroup>
63-
<OutputFilesToCopy Include="$(ActualOutputPath)**" />
64-
<IntermediateFilesToCopy Include="$(IntermediateOutputPath)\**" />
65-
</ItemGroup>
66-
67-
<Message Text="Copying build artifacts to $(FinalOutputPath)" />
68-
<MakeDir Directories="$(FinalOutputPath);$(FinalIntermediateOutputPath)" />
69-
<Copy SourceFiles="@(OutputFilesToCopy)" DestinationFolder="$(FinalOutputPath)\%(RecursiveDir)" />
70-
<Copy SourceFiles="@(IntermediateFilesToCopy)" DestinationFolder="$(FinalIntermediateOutputPath)\%(RecursiveDir)" />
71-
</Target>
72-
37+
<Import Project="build\targets\NGenOrCrossGen.targets" />
7338
<Import Project="build\targets\ConvertPortablePdbs.targets" />
7439
<Import Project="build\targets\GenerateAssemblyAttributes.targets" />
7540
<Import Project="build\targets\GenerateInternalsVisibleTo.targets" />

FSharpTests.Directory.Build.props

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,43 @@
11
<Project>
22

3-
<!-- SDK targets override -->
4-
<PropertyGroup Condition=" '$(FSharpTestCompilerVersion)' == 'net40' ">
5-
<_FSharpCompilerPath>$(MSBuildThisFileDirectory)$(Configuration)/net40/bin</_FSharpCompilerPath>
6-
3+
<PropertyGroup Condition="'$(FSharpTestCompilerVersion)' == 'net40'">
74
<DisableAutoSetFscCompilerPath>true</DisableAutoSetFscCompilerPath>
85

9-
<FscToolPath>$(_FSharpCompilerPath)</FscToolPath>
6+
<FscToolPath>$(MSBuildThisFileDirectory)artifacts\bin\fsc\$(Configuration)\net472</FscToolPath>
107
<FscToolExe>fsc.exe</FscToolExe>
118
<DotnetFscCompilerPath></DotnetFscCompilerPath>
129

13-
<FsiToolPath>$(_FSharpCompilerPath)</FsiToolPath>
10+
<FsiToolPath>$(MSBuildThisFileDirectory)artifacts\bin\fsi\$(Configuration)\net472</FsiToolPath>
1411
<FsiToolExe>fsi.exe</FsiToolExe>
1512
<DotnetFsiCompilerPath></DotnetFsiCompilerPath>
1613
</PropertyGroup>
1714

18-
<!-- SDK targets override -->
19-
<PropertyGroup Condition=" '$(FSharpTestCompilerVersion)' == 'coreclr' ">
20-
<_FSharpCompilerPath>$(MSBuildThisFileDirectory)$(Configuration)/coreclr/bin</_FSharpCompilerPath>
21-
15+
<PropertyGroup Condition="'$(FSharpTestCompilerVersion)' == 'coreclr'">
2216
<DisableAutoSetFscCompilerPath>true</DisableAutoSetFscCompilerPath>
23-
<FscToolPath>$(MSBuildThisFileDirectory)Tools/dotnet20</FscToolPath>
17+
18+
<FscToolPath>$(MSBuildThisFileDirectory)artifacts\toolset\dotnet</FscToolPath>
2419
<FscToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FscToolExe>
2520
<FscToolExe Condition="'$(OS)' == 'Unix'">dotnet</FscToolExe>
26-
<DotnetFscCompilerPath>$(_FSharpCompilerPath)/fsc.exe</DotnetFscCompilerPath>
21+
<DotnetFscCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsc\$(Configuration)\netcoreapp2.1\fsc.exe</DotnetFscCompilerPath>
2722

28-
<FsiToolPath>$(MSBuildThisFileDirectory)Tools/dotnet20</FsiToolPath>
23+
<FsiToolPath>$(MSBuildThisFileDirectory)artifacts\toolset\dotnet</FsiToolPath>
2924
<FsiToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FsiToolExe>
3025
<FsiToolExe Condition="'$(OS)' == 'Unix'">dotnet</FsiToolExe>
31-
<DotnetFsiCompilerPath>$(_FSharpCompilerPath)/fsi.exe</DotnetFsiCompilerPath>
26+
<DotnetFsiCompilerPath>$(MSBuildThisFileDirectory)artifacts\bin\fsi\$(Configuration)\netcoreapp2.1\fsi.exe</DotnetFsiCompilerPath>
3227
</PropertyGroup>
3328

3429
<!-- SDK targets override -->
3530
<PropertyGroup>
36-
<FSharpTargetsPath>$(_FSharpCompilerPath)/Microsoft.FSharp.Targets</FSharpTargetsPath>
37-
<FSharpPropsShim>$(_FSharpCompilerPath)/Microsoft.FSharp.NetSdk.props</FSharpPropsShim>
38-
<FSharpTargetsShim>$(_FSharpCompilerPath)/Microsoft.FSharp.NetSdk.targets</FSharpTargetsShim>
39-
<FSharpOverridesTargetsShim>$(_FSharpCompilerPath)/Microsoft.FSharp.Overrides.NetSdk.targets</FSharpOverridesTargetsShim>
40-
</PropertyGroup>
31+
<_FSharpBuildTargetFramework Condition="'$(FSharpTestCompilerVersion)' == 'net40'">net472</_FSharpBuildTargetFramework>
32+
<_FSharpBuildTargetFramework Condition="'$(FSharpTestCompilerVersion)' == 'coreclr'">netstandard2.0</_FSharpBuildTargetFramework>
33+
<_FSharpBuildBinPath>$(MSBuildThisFileDirectory)artifacts\bin\FSharp.Build\$(Configuration)\$(_FSharpBuildTargetFramework)</_FSharpBuildBinPath>
4134

35+
<FSharpBuildAssemblyFile>$(_FSharpBuildBinPath)\FSharp.Build.dll</FSharpBuildAssemblyFile>
4236

43-
<!-- We are running under netcore so even though we will use the fsc compiler we can't use the desktop version of the fsharp.build tasks -->
44-
<PropertyGroup>
45-
<FSharpBuildAssemblyFile Condition = " '$(DOTNET_HOST_PATH)' != '' ">$(MSBuildThisFileDirectory)$(Configuration)\coreclr\bin\FSharp.Build.dll</FSharpBuildAssemblyFile>
46-
<FSharpBuildAssemblyFile Condition = " '$(DOTNET_HOST_PATH)' == '' ">$(MSBuildThisFileDirectory)$(Configuration)\net40\bin\FSharp.Build.dll</FSharpBuildAssemblyFile>
37+
<FSharpTargetsPath>$(_FSharpBuildBinPath)/Microsoft.FSharp.Targets</FSharpTargetsPath>
38+
<FSharpPropsShim>$(_FSharpBuildBinPath)/Microsoft.FSharp.NetSdk.props</FSharpPropsShim>
39+
<FSharpTargetsShim>$(_FSharpBuildBinPath)/Microsoft.FSharp.NetSdk.targets</FSharpTargetsShim>
40+
<FSharpOverridesTargetsShim>$(_FSharpBuildBinPath)/Microsoft.FSharp.Overrides.NetSdk.targets</FSharpOverridesTargetsShim>
4741
</PropertyGroup>
48-
</Project>
42+
43+
</Project>

0 commit comments

Comments
 (0)