Skip to content

Commit

Permalink
WIP workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Feb 2, 2024
1 parent 0e834f5 commit 848b564
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- Workaround for Central Package Management taken from
https://github.com/NuGet/Home/issues/11949 and
https://github.com/microsoft/MSBuildSdks/blob/22cee25ad037827b54b75b6ee1c59a5bc75a744f/src/CentralPackageVersions/Sdk/Sdk.targets#L70-L76 -->
<Project>
<ItemGroup Condition=" '$(EnableCentralPackageVersions)' != 'false' ">
<PackageReference Update="FSharp.Core"
Condition="'$(MSBuildProjectExtension)' == '.fsproj' And '$(DisableImplicitFSharpCoreReference)' != 'true' And '$(UpdateImplicitFSharpCoreReference)' != 'false'"
IsImplicitlyDefined="true" />
</ItemGroup>
</Project>

0 comments on commit 848b564

Please sign in to comment.