Skip to content

Commit edd4857

Browse files
committed
Disable FSharp.Core implicit reference to fix a warning
1 parent 03de84b commit edd4857

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Directory.Build.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<LangVersion>6.0</LangVersion>
6+
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
67
<NoWarn>$(NoWarn);NU1504;NU1701</NoWarn>
78
<TreatWarningsAsErrors Condition="'$(Configuration)' != 'Debug'">true</TreatWarningsAsErrors>
89
</PropertyGroup>

Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ItemGroup Label="Common">
99
<PackageReference Update="FParsec" Version="1.1.1" />
1010
<!--<PackageReference Update="FSharp.Core" Version="4.7.2">-->
11-
<PackageReference Update="FSharp.Core" Version="6.0.*">
11+
<PackageReference Include="FSharp.Core" Version="6.0.*">
1212
<ExcludeAssets>contentFiles</ExcludeAssets>
1313
</PackageReference>
1414
<PackageReference Update="Microsoft.Extensions.Http" Version="$(MicrosoftExtensionsVersion)" />

0 commit comments

Comments
 (0)