File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
src/Microsoft.Data.SqlClient/src Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 44 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
55 <RootNamespace />
66 </PropertyGroup >
7-
7+
8+ <!-- References ====================================================== -->
89 <ItemGroup >
9- <Reference Include =" System.Configuration" Condition =" '$(TargetFramework)' == 'net462'" />
10- <Reference Include =" System.Transactions" Condition =" '$(TargetFramework)' == 'net462'" />
11- </ItemGroup >
12- <ItemGroup >
10+ <!-- References that apply to all target frameworks -->
11+
12+ <Reference Include =" System.Configuration.ConfigurationManager" />
1313 <PackageReference Include =" Microsoft.Bcl.Cryptography" Version =" $(MicrosoftBclCryptographyVersion)" />
1414 <PackageReference Include =" System.Buffers" Version =" $(SystemBuffersVersion)" />
1515 <PackageReference Include =" System.Memory" Version =" $(SystemMemoryVersion)" />
16- <PackageReference Include =" System.Data.Common" Version =" $(SystemDataCommonVersion)" Condition =" '$(TargetFramework)' == 'net462'" />
1716 <PackageReference Include =" System.Runtime.InteropServices.RuntimeInformation" Version =" $(SystemRuntimeInteropServicesRuntimeInformationVersion)" />
1817 <PackageReference Include =" System.Security.Cryptography.Pkcs" Version =" $(SystemSecurityCryptographyPkcsVersion)" />
1918 </ItemGroup >
19+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
20+ <!-- References that only apply to net462 -->
21+ <Reference Include =" System.Configuration" />
22+ <Reference Include =" System.Transactions" />
23+ <PackageReference Include =" System.Data.Common" Version =" $(SystemDataCommonVersion)" />
24+ </ItemGroup >
25+ <ItemGroup Condition =" '$(TargetFramework)' != 'net462'" >
26+ <!-- References that only apply to netcore -->
27+ <PackageReference Include =" System.Configuration.ConfigurationManager" Version =" $(SystemConfigurationConfigurationManagerVersion)" />
28+ </ItemGroup >
2029</Project >
Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5+ #if NET
6+
57using System ;
68using System . Configuration ;
79
@@ -70,3 +72,5 @@ public string Value
7072 }
7173 }
7274}
75+
76+ #endif
You can’t perform that action at this time.
0 commit comments