|
2 | 2 | <PropertyGroup>
|
3 | 3 | <AssemblyName>Microsoft.Data.SqlClient</AssemblyName>
|
4 | 4 | <TargetFrameworks>net8.0;net6.0</TargetFrameworks>
|
5 |
| - <TargetFrameworks Condition="$(ReferenceType)=='NetStandard' AND $(TargetNetStandardVersion)=='netstandard2.1'">netstandard2.1</TargetFrameworks> |
6 | 5 | <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(OSGroup)' == 'AnyOS'">Microsoft.Data.SqlClient is not supported on this platform.</GeneratePlatformNotSupportedAssemblyMessage>
|
7 | 6 | <OSGroup Condition="'$(OSGroup)' == ''">$(OS)</OSGroup>
|
8 | 7 | <TargetsWindows Condition="'$(OSGroup)'=='Windows_NT'">true</TargetsWindows>
|
9 | 8 | <TargetsUnix Condition="'$(OSGroup)'=='Unix'">true</TargetsUnix>
|
10 | 9 | <!-- Allow explicit addition of the Compile files instead of all project files to be included by Default -->
|
11 | 10 | <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
12 | 11 | <TargetGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETCoreApp'">netcoreapp</TargetGroup>
|
13 |
| - <TargetGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETStandard'">netstandard</TargetGroup> |
14 | 12 | <Configurations>Debug;Release;</Configurations>
|
15 | 13 | <Platforms>AnyCPU;x64;x86</Platforms>
|
16 | 14 | <IntermediateOutputPath>$(ObjFolder)$(Configuration).$(Platform)\$(AssemblyName)\netcore\</IntermediateOutputPath>
|
|
535 | 533 | <Link>Microsoft\Data\ProviderBase\DbReferenceCollection.cs</Link>
|
536 | 534 | </Compile>
|
537 | 535 | </ItemGroup>
|
538 |
| - <ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true'"> |
| 536 | + <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true'"> |
539 | 537 | <Compile Include="Microsoft.Data.SqlClient.TypeForwards.cs" />
|
540 | 538 | </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'"> |
557 | 540 | <Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\AlwaysEncryptedEnclaveProviderUtils.cs">
|
558 | 541 | <Link>Microsoft\Data\SqlClient\AlwaysEncryptedEnclaveProviderUtils.cs</Link>
|
559 | 542 | </Compile>
|
|
951 | 934 | <Compile Include="Microsoft\Data\SqlClient\SNI\SspiClientContextStatus.cs" />
|
952 | 935 | </ItemGroup>
|
953 | 936 | <!-- 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'"> |
955 | 938 | <Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs">
|
956 | 939 | <Link>Common\Interop\Unix\Interop.Libraries.cs</Link>
|
957 | 940 | </Compile>
|
|
1003 | 986 | <LogicalName>Microsoft.Data.SqlClient.SqlMetaData.xml</LogicalName>
|
1004 | 987 | </EmbeddedResource>
|
1005 | 988 | </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> |
1019 | 989 | <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
|
1020 | 990 | <PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
|
1021 | 991 | <PackageReference Include="System.Runtime.Caching" Version="$(SystemRuntimeCachingVersion)" />
|
|
0 commit comments