-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuget Centralized Package Management
In order to have version numbers for all projects in a single file (and this way avoiding the problem of depending on more than one version for the same package).
- Loading branch information
Showing
6 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageVersion Include="StackExchange.Redis" Version="2.0.513" /> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="NUnit" Version="3.9.0" /> | ||
<PackageVersion Include="NUnit3TestAdapter" Version="3.9.0" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="15.8.0" /> | ||
<PackageVersion Include="Microsoft.AspNetCore.App" Version="2.1.34" /> | ||
<PackageVersion Include="Giraffe" Version="3.1.0" /> | ||
<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" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters