Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 2cfad18

Browse files
committed
This updates the F# compiler to the latest nuget published build.
1 parent 31a5765 commit 2cfad18

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

build/DependencyVersions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<CLI_MSBuild_Version>15.3.0-preview-000246-05</CLI_MSBuild_Version>
66
<CLI_Roslyn_Version>2.3.0-beta2-61716-09</CLI_Roslyn_Version>
77
<CLI_DiaSymNative_Version>1.6.0-beta2-25304</CLI_DiaSymNative_Version>
8-
<CLI_FSharp_Version>1.0.0-rc-170511-0</CLI_FSharp_Version>
8+
<CLI_FSharp_Version>4.2.0-rc-170531-0</CLI_FSharp_Version>
99
<CLI_NETSDK_Version>2.0.0-preview2-20170531-2</CLI_NETSDK_Version>
1010
<CLI_NuGet_Version>4.3.0-preview2-4082</CLI_NuGet_Version>
1111
<CLI_WEBSDK_Version>2.0.0-rel-20170518-512</CLI_WEBSDK_Version>

src/tool_fsharp/tool_fsc.csproj

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.NetCore.App" Version="$(CLI_SharedFrameworkVersion)" />
15-
<PackageReference Include="Microsoft.FSharp.Core.netcore" Version="$(CLI_FSharp_Version)" />
16-
<PackageReference Include="Microsoft.FSharp.Compiler.netcore" Version="$(CLI_FSharp_Version)" />
15+
<PackageReference Include="Microsoft.FSharp.Compiler" Version="$(CLI_FSharp_Version)" />
1716
</ItemGroup>
1817

1918
<ItemGroup>
@@ -35,25 +34,9 @@
3534
SectionName="%(AssetsToRemoveFromDeps.SectionName)"
3635
AssetPath="%(AssetsToRemoveFromDeps.Identity)" />
3736

38-
<Copy SourceFiles="$(PublishDir)/runtimes/any/native/default.win32manifest;
39-
$(PublishDir)/runtimes/any/native/Microsoft.FSharp.Targets;
40-
$(PublishDir)/runtimes/any/native/Microsoft.Portable.FSharp.Targets;
41-
$(PublishDir)/runtimes/any/native/Microsoft.FSharp.NetSdk.props;
42-
$(PublishDir)/runtimes/any/native/Microsoft.FSharp.NetSdk.targets;
43-
$(PublishDir)/runtimes/any/native/FSharp.Core.optdata;
44-
$(PublishDir)/runtimes/any/native/FSharp.Core.sigdata;
45-
$(PublishDir)/runtimes/any/native/FSharp.Core.xml;
46-
$(PublishDir)/$(TargetName).runtimeconfig.json;
37+
<Copy SourceFiles="$(PublishDir)/$(TargetName).runtimeconfig.json;
4738
$(PublishDir)/$(TargetName).deps.json;"
48-
DestinationFiles="$(PublishDir)/default.win32manifest;
49-
$(PublishDir)/Microsoft.FSharp.Targets;
50-
$(PublishDir)/Microsoft.Portable.FSharp.Targets;
51-
$(PublishDir)/Microsoft.FSharp.NetSdk.props;
52-
$(PublishDir)/Microsoft.FSharp.NetSdk.targets;
53-
$(PublishDir)/FSharp.Core.optdata;
54-
$(PublishDir)/FSharp.Core.sigdata;
55-
$(PublishDir)/FSharp.Core.xml;
56-
$(PublishDir)/fsc.runtimeconfig.json;
39+
DestinationFiles="$(PublishDir)/fsc.runtimeconfig.json;
5740
$(PublishDir)/fsc.deps.json;"/>
5841
</Target>
5942

test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ public class GivenThatIWantANewAppWithSpecifiedType : TestBase
2323
[InlineData("C#", "web", false)]
2424
[InlineData("C#", "mvc", false)]
2525
[InlineData("C#", "webapi", false)]
26-
// Uncomment the test below once https://github.com/dotnet/netcorecli-fsc/issues/92 is fixed.
27-
//[InlineData("F#", "console", false)]
28-
//[InlineData("F#", "classlib", false)]
29-
//[InlineData("F#", "mstest", false)]
30-
//[InlineData("F#", "xunit", false)]
31-
//[InlineData("F#", "mvc", true)]
26+
[InlineData("F#", "console", false)]
27+
[InlineData("F#", "classlib", false)]
28+
[InlineData("F#", "mstest", false)]
29+
[InlineData("F#", "xunit", false)]
30+
[InlineData("F#", "mvc", true)]
3231
public void TemplateRestoresAndBuildsWithoutWarnings(
3332
string language,
3433
string projectType,

0 commit comments

Comments
 (0)