-
Notifications
You must be signed in to change notification settings - Fork 317
[6.1] Dependency Cleanup #3843
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
base: release/6.1
Are you sure you want to change the base?
[6.1] Dependency Cleanup #3843
Changes from all commits
b1eb044
e942a0b
bfaef22
b3dae93
1f7a52f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,69 +1,82 @@ | ||
| <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.Data.Common" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Text.Encodings.Web" Version="8.0.0" /> | ||
| </ItemGroup> | ||
| <!-- NetFx and NetCore project dependencies --> | ||
| <ItemGroup> | ||
| <PackageVersion Include="Azure.Identity" Version="1.14.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.47.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> | ||
| <PropertyGroup> | ||
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| <CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- 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="Microsoft.Extensions.Hosting" Version="9.0.5" /> | ||
| <PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.5" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="9.0.5" /> | ||
| <PackageVersion Include="System.Text.Json" 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="Microsoft.Extensions.Hosting" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Text.Json" Version="8.0.5" /> | ||
| </ItemGroup> | ||
| <!-- Driver .NET Framework Dependencies --> | ||
|
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. Same changes here as the test |
||
| <ItemGroup Condition="'$(TargetFramework)' == 'net462'"> | ||
| <PackageVersion Include="Azure.Core" Version="1.50.0" /> | ||
| <PackageVersion Include="Azure.Identity" Version="1.17.0" /> | ||
| <PackageVersion Include="Azure.Security.KeyVault.Keys" Version="4.8.0" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient.SNI" Version="6.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" /> | ||
| <PackageVersion Include="Microsoft.Identity.Client" Version="4.76.0" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.7.1" /> | ||
| <PackageVersion Include="System.Buffers" Version="4.6.1" /> | ||
| <PackageVersion Include="System.Data.Common" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" /> | ||
| <PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.7.1" /> | ||
| <PackageVersion Include="System.Memory" Version="4.6.3" /> | ||
| <PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Text.Json" Version="8.0.6" /> | ||
| <PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Driver .NET Standard 2.0 Dependencies --> | ||
| <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
| <PackageVersion Include="Azure.Core" Version="1.50.0" /> | ||
| <PackageVersion Include="Azure.Identity" Version="1.17.0" /> | ||
| <PackageVersion Include="Azure.Security.KeyVault.Keys" Version="4.8.0" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient.SNI.runtime" Version="6.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" /> | ||
| <PackageVersion Include="Microsoft.Identity.Client" Version="4.76.0" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.SqlServer.Server" Version="1.0.0" /> | ||
| <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" /> | ||
| <PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.7.1" /> | ||
| <PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Text.Json" Version="8.0.6" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Driver .NET 8.0 Dependencies --> | ||
| <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> | ||
| <PackageVersion Include="Azure.Core" Version="1.50.0" /> | ||
| <PackageVersion Include="Azure.Identity" Version="1.17.0" /> | ||
| <PackageVersion Include="Azure.Security.KeyVault.Keys" Version="4.8.0" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient.SNI.runtime" Version="6.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" /> | ||
| <PackageVersion Include="Microsoft.Identity.Client" Version="4.76.0" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.SqlServer.Server" Version="1.0.0" /> | ||
| <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.1" /> | ||
| <PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" /> | ||
|
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 previously weren't explicitly depending on However This is now breaking dotnet CLI project-based restores for the add-on and test projects, since they employ a bunch of properties to choose target frameworks: The above shows the failure. The restore of the MDS project is incorrectly choosing v8.0.1 when it tries to restore the ManualTests project for .NET 8 or 9. It should be choosing v6.0.1, but the Builds via I'm not sure what we want to do about this. If I upgrade to v8.0.1 for all targets, the problem goes away. I tried to modify the add-ons and test projects to fix things, but nothing was working for me. |
||
| <PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.7.1" /> | ||
| <PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" /> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Driver .NET 9.0 Dependencies --> | ||
| <ItemGroup Condition="'$(TargetFramework)' == 'net9.0'"> | ||
| <PackageVersion Include="Azure.Core" Version="1.50.0" /> | ||
| <PackageVersion Include="Azure.Identity" Version="1.17.0" /> | ||
| <PackageVersion Include="Azure.Security.KeyVault.Keys" Version="4.8.0" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient.SNI.runtime" Version="6.0.2" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.11" /> | ||
| <PackageVersion Include="Microsoft.Identity.Client" Version="4.76.0" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.7.1" /> | ||
| <PackageVersion Include="Microsoft.SqlServer.Server" Version="1.0.0" /> | ||
| <PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.11" /> | ||
| <PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" /> | ||
| <PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.7.1" /> | ||
| <PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Pkcs" Version="9.0.11" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -28,25 +28,43 @@ | |||
| <Reference Include="System.Data" /> | ||||
| <Reference Include="System.Xml" /> | ||||
| <Reference Include="System.Runtime.Caching" /> | ||||
| <Reference Include="System.EnterpriseServices" /> | ||||
paulmedynski marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
| <Reference Include="System.Transactions" /> | ||||
| <Reference Include="System.EnterpriseServices" /> | ||||
| </ItemGroup> | ||||
| <ItemGroup> | ||||
| <PackageReference Include="Azure.Core" /> | ||||
| <PackageReference Include="Azure.Identity" /> | ||||
| <PackageReference Include="Microsoft.Bcl.Cryptography" /> | ||||
| <PackageReference Include="Microsoft.Data.SqlClient.SNI"> | ||||
| <PrivateAssets>All</PrivateAssets> | ||||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
| </PackageReference> | ||||
| <PackageReference Include="Microsoft.Extensions.Caching.Memory" /> | ||||
| <PackageReference Include="Microsoft.Identity.Client" /> | ||||
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" /> | ||||
| <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> | ||||
| <PackageReference Include="System.Buffers" /> | ||||
| <!-- | ||||
| We must reference System.Data.Common explicitly because we use its | ||||
| IDbColumnSchemaGenerator type that isn't included in .NET Framework | ||||
| 4.6.2 or 4.7. This avoids downstream apps from having to include it | ||||
| themselves if they happen to target those older .NET Framework versions. | ||||
| --> | ||||
| <PackageReference Include="System.Data.Common" /> | ||||
|
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. Not used directly, likely an old transient vulnerability fix.
Member
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. It was added with PR: https://github.com/dotnet/SqlClient/pull/2967/files#diff-d6cdac7c9f92790e995dce24e966c09119385fdc076757b8f70b08bd14dde23fR47 since in .NET Framework v4.6.2 the type referenced by us from this namespace (IDbColumnSchemaGenerator) is not available directly in BCL and downloading this package with NuGet is required for applications to work. I would not recommend removing this dependency due to that reason.
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. Is this a case where testing using .NET Framework Runtime 4.6.2 would have produced an error? But testing with .NET Framework Runtime 4.8.1 (which is what we do) doesn't? |
||||
| <PackageReference Include="System.Diagnostics.DiagnosticSource" /> | ||||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" /> | ||||
| <PackageReference Include="System.Memory" /> | ||||
| <!-- | ||||
| Although System.Security.Cryptography.Pkcs is included in all .NET | ||||
| Framework versions we target, the latest implementations of the types we | ||||
| use are found in the NuGet package, so we reference it explicitly. | ||||
| --> | ||||
| <PackageReference Include="System.Security.Cryptography.Pkcs" /> | ||||
|
Member
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. This package is referenced in Line 9 in deb8c31
I would recommend we keep this explicit reference included.
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 only use the I'm not sure why we would need to explicitly depend on it for .NET Framework.
Member
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 need to consider runtimes that our customers would target, and not those that we target to build the driver. Otherwise our DLLs will reference type from runtime (expecting them to be available in client env), whereas in future .NET Framework runtimes if its not available and is package provided, it would throw exception failing to resolve the type. System.Data.Common, e.g. is a MUST have reference, cannot be skipped.
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. I've added the System.Security.Cryptography.Pkcs package back for all MDS targets. System.Data.Common has been added for .NET Framework 4.6.2.
Contributor
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 don't think I fully understand this argument. Couldn't any type be moved out to a standalone package at any time? Why would we treat this type differently from any other that can be referenced via package? The SignedCms type is available via runtime or package for .NET Framework. It's only package exclusive for .NET Standard and .NET. Presumably they added package support for .NET Framework to help people who were multitargeting. But in general, doesn't it complicate our dependency graph to include packages we don't need? Especially if we're not pruning any dependencies. I'd have less of an issue if we did enable pruning.
Contributor
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. After some investigation, I've learned that the .NET Framework DLLs for Pkcs are metadata only and type-forward to the GAC. We take a negligible package size hit to get the metadata. With that in mind, it does feel simpler to unconditionally include the package reference. For this reason and the reasons you mentioned above, @cheenamalhotra, I think our standard should be to always unconditionally include package references for namespaces that are available via package for .NET Framework. |
||||
| <PackageReference Include="System.Text.Encodings.Web" /> | ||||
| <PackageReference Include="System.Text.Json" /> | ||||
| <!-- | ||||
| We must reference System.Text.RegularExpressions to avoid a transitive | ||||
| vulnerability from System.Data.Common 4.3.0. | ||||
| --> | ||||
| <PackageReference Include="System.Text.RegularExpressions" /> | ||||
| </ItemGroup> | ||||
| <Import Project="$(ToolsDir)targets\TrimDocsForIntelliSense.targets" /> | ||||
| </Project> | ||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -92,17 +92,6 @@ | |||
| <PropertyGroup> | ||||
| <DefineConstants>$(DefineConstants);NETFRAMEWORK;</DefineConstants> | ||||
| </PropertyGroup> | ||||
| <ItemGroup> | ||||
paulmedynski marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
| <Reference Include="System" /> | ||||
| <Reference Include="System.Configuration" /> | ||||
| <Reference Include="System.Runtime.Serialization" /> | ||||
| <Reference Include="System.Security" /> | ||||
| <Reference Include="System.Data" /> | ||||
| <Reference Include="System.Xml" /> | ||||
| <Reference Include="System.Runtime.Caching" /> | ||||
| <Reference Include="System.Transactions" /> | ||||
| <Reference Include="System.EnterpriseServices" /> | ||||
| </ItemGroup> | ||||
| <!-- Contains common items shared between NetFx and NetCore --> | ||||
| <ItemGroup> | ||||
| <Compile Include="$(CommonSourceRoot)Interop\Common\Sni\SniErrors.cs"> | ||||
|
|
@@ -954,21 +943,51 @@ | |||
| <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||||
| </EmbeddedResource> | ||||
| </ItemGroup> | ||||
| <ItemGroup> | ||||
| <Reference Include="System" /> | ||||
| <Reference Include="System.Configuration" /> | ||||
| <Reference Include="System.Runtime.Serialization" /> | ||||
| <Reference Include="System.Security" /> | ||||
| <Reference Include="System.Data" /> | ||||
| <Reference Include="System.Xml" /> | ||||
| <Reference Include="System.Runtime.Caching" /> | ||||
| <Reference Include="System.Transactions" /> | ||||
| <Reference Include="System.EnterpriseServices" /> | ||||
cheenamalhotra marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
| </ItemGroup> | ||||
| <ItemGroup> | ||||
| <PackageReference Include="Azure.Core" /> | ||||
| <PackageReference Include="Azure.Identity" /> | ||||
| <PackageReference Include="Microsoft.Bcl.Cryptography" /> | ||||
| <PackageReference Include="Microsoft.Data.SqlClient.SNI"> | ||||
| <PrivateAssets>All</PrivateAssets> | ||||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
| </PackageReference> | ||||
| <PackageReference Include="Microsoft.Extensions.Caching.Memory" /> | ||||
| <PackageReference Include="Microsoft.Identity.Client" /> | ||||
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" /> | ||||
| <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> | ||||
| <PackageReference Include="System.Buffers" /> | ||||
| <!-- | ||||
| We must reference System.Data.Common explicitly because we use its | ||||
| IDbColumnSchemaGenerator type that isn't included in .NET Framework | ||||
| 4.6.2 or 4.7. This avoids downstream apps from having to include it | ||||
| themselves if they happen to target those older .NET Framework versions. | ||||
| --> | ||||
| <PackageReference Include="System.Data.Common" /> | ||||
| <PackageReference Include="System.Diagnostics.DiagnosticSource" /> | ||||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" /> | ||||
| <PackageReference Include="System.Memory" /> | ||||
| <!-- | ||||
| Although System.Security.Cryptography.Pkcs is included in all .NET | ||||
| Framework versions we target, the latest implementations of the types we | ||||
| use are found in the NuGet package, so we reference it explicitly. | ||||
| --> | ||||
| <PackageReference Include="System.Security.Cryptography.Pkcs" /> | ||||
| <PackageReference Include="System.Text.Encodings.Web" /> | ||||
|
Member
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. Removing Line 8 in deb8c31
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. I have added System.IdentityModel.Tokens.Jwt for all MDS targets. |
||||
| <PackageReference Include="System.Text.Json" /> | ||||
| <!-- | ||||
| We must reference System.Text.RegularExpressions to avoid a transitive | ||||
| vulnerability from System.Data.Common 4.3.0. | ||||
| --> | ||||
| <PackageReference Include="System.Text.RegularExpressions" /> | ||||
| </ItemGroup> | ||||
| <Import Project="$(CommonSourceRoot)tools\targets\GenerateResourceStringsSource.targets" /> | ||||
| <Import Project="$(NetFxSource)tools\targets\GenerateThisAssemblyCs.targets" /> | ||||
|
|
||||
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.
$(TF)is the correct way to specify the target framework for add-ons and tests when usingbuild.proj.