Skip to content

Commit c0bf43a

Browse files
committed
Update csproj
1 parent 798ac4e commit c0bf43a

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

+3-33
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
<PropertyGroup>
33
<AssemblyName>Microsoft.Data.SqlClient</AssemblyName>
44
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
5-
<TargetFrameworks Condition="$(ReferenceType)=='NetStandard' AND $(TargetNetStandardVersion)=='netstandard2.1'">netstandard2.1</TargetFrameworks>
65
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(OSGroup)' == 'AnyOS'">Microsoft.Data.SqlClient is not supported on this platform.</GeneratePlatformNotSupportedAssemblyMessage>
76
<OSGroup Condition="'$(OSGroup)' == ''">$(OS)</OSGroup>
87
<TargetsWindows Condition="'$(OSGroup)'=='Windows_NT'">true</TargetsWindows>
98
<TargetsUnix Condition="'$(OSGroup)'=='Unix'">true</TargetsUnix>
109
<!-- Allow explicit addition of the Compile files instead of all project files to be included by Default -->
1110
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
1211
<TargetGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETCoreApp'">netcoreapp</TargetGroup>
13-
<TargetGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETStandard'">netstandard</TargetGroup>
1412
<Configurations>Debug;Release;</Configurations>
1513
<Platforms>AnyCPU;x64;x86</Platforms>
1614
<IntermediateOutputPath>$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)\netcore\</IntermediateOutputPath>
@@ -535,25 +533,10 @@
535533
<Link>Microsoft\Data\ProviderBase\DbReferenceCollection.cs</Link>
536534
</Compile>
537535
</ItemGroup>
538-
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true'">
536+
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true'">
539537
<Compile Include="Microsoft.Data.SqlClient.TypeForwards.cs" />
540538
</ItemGroup>
541-
<ItemGroup Condition="'$(OSGroup)' != 'AnyOS' AND '$(TargetGroup)' == 'netstandard' AND '$(TargetFramework)' == 'netstandard2.0'">
542-
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\EnclaveDelegate.NotSupported.cs">
543-
<Link>Microsoft\Data\SqlClient\EnclaveDelegate.NotSupported.cs</Link>
544-
</Compile>
545-
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlEnclaveAttestationParameters.NotSupported.cs">
546-
<Link>Microsoft\Data\SqlClient\SqlEnclaveAttestationParameters.NotSupported.cs</Link>
547-
</Compile>
548-
</ItemGroup>
549-
<ItemGroup Condition="'$(OSGroup)' != 'AnyOS' AND '$(TargetFramework)' == 'netstandard2.0'">
550-
<Compile Include="Microsoft\Data\SqlClient\SNI\SNIStreams.Task.cs" />
551-
<Compile Include="Microsoft\Data\SqlClient\SNI\SslOverTdsStream.NetStandard.cs" />
552-
<Compile Include="Microsoft\Data\SqlClient\SqlAuthenticationProviderManager.NetStandard.cs" />
553-
<Compile Include="Microsoft\Data\SqlClient\SqlDelegatedTransaction.NetStandard.cs" />
554-
<Compile Include="Microsoft\Data\SqlClient\TdsParser.NetStandard.cs" />
555-
</ItemGroup>
556-
<ItemGroup Condition="'$(OSGroup)' != 'AnyOS' AND '$(TargetFramework)' != 'netstandard2.0'">
539+
<ItemGroup Condition="'$(OSGroup)' != 'AnyOS'">
557540
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AlwaysEncryptedEnclaveProviderUtils.cs">
558541
<Link>Microsoft\Data\SqlClient\AlwaysEncryptedEnclaveProviderUtils.cs</Link>
559542
</Compile>
@@ -951,7 +934,7 @@
951934
<Compile Include="Microsoft\Data\SqlClient\SNI\SspiClientContextStatus.cs" />
952935
</ItemGroup>
953936
<!-- Unix dependencies for Integrated Authentication (SSPI) and MANAGED_SNI build before .NET 7.0-->
954-
<ItemGroup Condition="'$(TargetsWindows)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND ($(TargetGroup)=='netstandard' OR '$(TargetFramework)' == 'net6.0')">
937+
<ItemGroup Condition="'$(TargetsWindows)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND '$(TargetFramework)' == 'net6.0'">
955938
<Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs">
956939
<Link>Common\Interop\Unix\Interop.Libraries.cs</Link>
957940
</Compile>
@@ -1003,19 +986,6 @@
1003986
<LogicalName>Microsoft.Data.SqlClient.SqlMetaData.xml</LogicalName>
1004987
</EmbeddedResource>
1005988
</ItemGroup>
1006-
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
1007-
<PackageReference Condition="'$(TargetsWindows)' == 'true' and '$(IsUAPAssembly)' != 'true'" Include="Microsoft.Win32.Registry" Version="$(MicrosoftWin32RegistryVersion)" />
1008-
<PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" />
1009-
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="$(SystemDiagnosticsDiagnosticSourceVersion)" />
1010-
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
1011-
<PackageReference Include="System.Runtime.Loader" Version="$(SystemRuntimeLoaderVersion)" />
1012-
<PackageReference Include="System.Security.Cryptography.Cng" Version="$(SystemSecurityCryptographyCngVersion)" />
1013-
<PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesVersion)" />
1014-
<PackageReference Include="System.Text.Encodings.Web" Version="$(SystemTextEncodingsWebVersion)" />
1015-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
1016-
<PackageReference Include="System.Security.Permissions" Version="$(SystemSecurityPermissionsVersion)" />
1017-
<PackageReference Include="System.Runtime.Caching" Version="$(SystemRuntimeCachingVersion)" />
1018-
</ItemGroup>
1019989
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
1020990
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
1021991
<PackageReference Include="System.Runtime.Caching" Version="$(SystemRuntimeCachingVersion)" />

0 commit comments

Comments
 (0)