Skip to content

Commit

Permalink
Move version from FX.Tests to Directory.Packages.props
Browse files Browse the repository at this point in the history
To fix this restore error:
```
/__w/FX/FX/src/FX.Tests/FX.Tests.csproj : error NU1008: Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: FSharp.Core. [/__w/FX/FX/FX.sln]
```
  • Loading branch information
knocte committed Feb 5, 2024
1 parent 5d8ad06 commit 2097481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
<PackageVersion Include="Giraffe.Razor" Version="1.3.0" />
<PackageVersion Include="Microsoft.AspNetCore.WebSockets" Version="2.1.1" />
<PackageVersion Include="TaskBuilder.fs" Version="2.1.0" />
<PackageVersion Include="FSharp.Core" Version="8.0.101" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/FX.Tests/FX.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="StackExchange.Redis" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="FSharp.Core" Version="8.0.101" />
<PackageReference Include="FSharp.Core" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Class1.cs" />
Expand Down

0 comments on commit 2097481

Please sign in to comment.