-
Notifications
You must be signed in to change notification settings - Fork 310
Enable central package management in repo #3333
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
402553f
Switch to Central Package Management
cheenamalhotra 08fd276
Additional changes
cheenamalhotra 26b84ec
EOF
cheenamalhotra b136264
Handle NU1009
cheenamalhotra 89522cd
Enable pinning, fix version
cheenamalhotra 3959e6f
Disable implicit framework reference.
cheenamalhotra 9c64193
Fix line break
cheenamalhotra 580323e
Ref fx assemblies
cheenamalhotra 49e1298
try again
cheenamalhotra f9f0172
Fix source
cheenamalhotra 58e91c8
Fix package version for MDS test package
cheenamalhotra 2ddb065
Merge branch 'main' into dev/cheena/central-package-mgmnt
cheenamalhotra dc931f8
Merge branch 'main' into dev/cheena/central-package-mgmnt
benrr101 a958c7a
Fix dependencies
cheenamalhotra 89bed36
Merge branch 'main' into dev/cheena/central-package-mgmnt
cheenamalhotra 049c67c
Fix project builds
cheenamalhotra a89ee55
Remove version attribute
cheenamalhotra e05c05e
Merge branch 'main' into dev/cheena/central-package-mgmnt
cheenamalhotra fdc94f8
Fix Common project
cheenamalhotra c077cb2
Fix version refs
cheenamalhotra 6ef5a1b
Fix .NET 9 deps
cheenamalhotra c7f677c
Fix
cheenamalhotra e0197bc
Update packages
cheenamalhotra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,68 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | ||
</PropertyGroup> | ||
<!-- NetFx project dependencies --> | ||
<ItemGroup> | ||
<PackageVersion Include="Microsoft.Data.SqlClient.SNI" Version="6.0.2" /> | ||
<PackageVersion Include="System.Buffers" Version="4.5.1" /> | ||
<PackageVersion Include="System.Memory" Version="4.5.5" /> | ||
<PackageVersion Include="System.Text.Encodings.Web" Version="8.0.0" /> | ||
<PackageVersion Include="System.Text.Json" Version="8.0.5" /> | ||
<PackageVersion Include="System.Data.Common" Version="4.3.0" /> | ||
</ItemGroup> | ||
<!-- NetFx and NetCore project dependencies --> | ||
<ItemGroup> | ||
<PackageVersion Include="Azure.Identity" Version="1.13.2" /> | ||
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.7.1" /> | ||
<PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.7.1" /> | ||
<PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
</ItemGroup> | ||
<!-- NetCore project dependencies --> | ||
<ItemGroup> | ||
<PackageVersion Include="Microsoft.Data.SqlClient.SNI.runtime" Version="6.0.2" /> | ||
<PackageVersion Include="Microsoft.SqlServer.Server" Version="1.0.0" /> | ||
</ItemGroup> | ||
<!-- AKV Provider project dependencies --> | ||
<ItemGroup> | ||
<PackageVersion Include="Azure.Core" Version="[1.44.1,2.0.0)" /> | ||
<PackageVersion Include="Azure.Security.KeyVault.Keys" Version="[4.7.0,5.0.0)" /> | ||
</ItemGroup> | ||
<!-- Test Project Dependencies --> | ||
<ItemGroup> | ||
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" /> | ||
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" /> | ||
<PackageVersion Include="Microsoft.DotNet.RemoteExecutor" Version="10.0.0-beta.25164.6" /> | ||
<PackageVersion Include="Microsoft.DotNet.XUnitExtensions" Version="10.0.0-beta.25164.6" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> | ||
<PackageVersion Include="Microsoft.SqlServer.SqlManagementObjects" Version="172.76.0" /> | ||
<PackageVersion Include="Microsoft.SqlServer.Types" Version="160.1000.6" /> | ||
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" /> | ||
<PackageVersion Include="Microsoft.Win32.Registry" Version="5.0.0" /> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="System.Data.Odbc" Version="8.0.1" /> | ||
<PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" /> | ||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="8.0.1" /> | ||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="6.0.0" /> | ||
<PackageVersion Include="xunit" Version="2.9.2" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" /> | ||
<PackageVersion Include="xunit.runner.console" Version="2.9.2" /> | ||
</ItemGroup> | ||
|
||
<!-- Target framework specific dependencies --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'"> | ||
<PackageVersion Include="Microsoft.Bcl.Cryptography" Version="9.0.5" /> | ||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.5" /> | ||
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="9.0.5" /> | ||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.5" /> | ||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.5" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' != 'net9.0'"> | ||
<PackageVersion Include="Microsoft.Bcl.Cryptography" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" /> | ||
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" /> | ||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" /> | ||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" /> | ||
</ItemGroup> | ||
</Project> |
This file contains hidden or 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
6 changes: 6 additions & 0 deletions
6
src/Microsoft.Data.SqlClient/add-ons/Directory.Packages.props
This file contains hidden or 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,6 @@ | ||
<Project> | ||
<Import Project="..\..\Directory.Packages.props" /> | ||
<ItemGroup Condition="$(ReferenceType) == 'Package'"> | ||
<PackageVersion Include="Microsoft.Data.SqlClient" Version="$(TestMicrosoftDataSqlClientVersion)" /> | ||
</ItemGroup> | ||
</Project> |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.