-
Notifications
You must be signed in to change notification settings - Fork 241
Central package management (CPM) #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
e7bf9ab
784eabd
a7d8a9a
8df027a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open question: do you want to keep the lock files? My intention was that they will make this PR a lot more review-able, but I'm fine with not using them.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm happy to have them |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> | ||
| <RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreLockedMode> | ||
| </PropertyGroup> | ||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| <CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're doing both CPM and transitive pinning here. See https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management for details. |
||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" /> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" Condition="$(Configuration) == 'Release'"/> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open question: do we need Response from @madelson (copypasting from #186 (comment)):
|
||
| <PackageVersion Include="Azure.Storage.Blobs" Version="12.13.1" /> | ||
| <PackageVersion Include="Nullable" Version="1.3.1" Condition="'$(TargetFramework)' != 'netstandard2.1'" /> | ||
| <PackageVersion Include="MySqlConnector" Version="2.3.5" /> | ||
| <PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="3.21.100" Condition="'$(TargetFramework)' == 'netstandard2.1'" /> | ||
| <PackageVersion Include="Oracle.ManagedDataAccess" Version="21.10.0" Condition="'$(TargetFramework)' == 'net462'"/> | ||
| <PackageVersion Include="Npgsql" Version="5.0.4" /> | ||
| <PackageVersion Include="StackExchange.Redis" Version="2.7.20" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient" Version="2.1.7" /> | ||
| <PackageVersion Include="nunit" Version="3.12.0" /> | ||
| <PackageVersion Include="nunit3testadapter" Version="3.15.1" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.SDK" Version="16.4.0" /> | ||
| <PackageVersion Include="MedallionShell.StrongName" Version="1.6.1" /> | ||
| <PackageVersion Include="System.Data.SqlClient" Version="4.8.6" /> | ||
| <PackageVersion Include="Moq" Version="4.13.1" /> | ||
| <PackageVersion Include="System.Threading.AccessControl" Version="5.0.0" Condition="'$(TargetFramework)' != 'net461'" /> | ||
| <PackageVersion Include="ZooKeeperNetEx" Version="3.4.12.4" /> | ||
| <PackageVersion Include="IsExternalInit" Version="1.0.3" /> | ||
| <PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net461'" /> | ||
| <PackageVersion Include="System.ValueTuple" Version="4.5.0" Condition="'$(TargetFramework)' == 'net461'" /> | ||
| </ItemGroup> | ||
| </Project> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created this file so that it's easy to tell the difference what CPM did to lock files.