|
3 | 3 | <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
4 | 4 | <TargetFrameworks>net6.0;netstandard2.0;netstandard2.1</TargetFrameworks>
|
5 | 5 | <TargetFrameworks Condition="$(ReferenceType)=='NetStandard' AND $(TargetNetStandardVersion)=='netstandard2.1'">netstandard2.1</TargetFrameworks>
|
| 6 | + <OSGroup Condition="'$(OSGroup)' == ''">$(OS)</OSGroup> |
| 7 | + <TargetsWindows Condition="'$(OSGroup)'=='Windows_NT'">true</TargetsWindows> |
| 8 | + <TargetsUnix Condition="'$(OSGroup)'=='Unix'">true</TargetsUnix> |
6 | 9 | <IntermediateOutputPath>$(ObjFolder)$(Configuration)\$(AssemblyName)\ref\</IntermediateOutputPath>
|
7 | 10 | <OutputPath>$(BinFolder)$(Configuration)\$(AssemblyName)\ref\</OutputPath>
|
8 | 11 | <DocumentationFile>$(OutputPath)\$(TargetFramework)\Microsoft.Data.SqlClient.xml</DocumentationFile>
|
|
24 | 27 | <Compile Include="Microsoft.Data.SqlClient.cs" />
|
25 | 28 | <Compile Include="Microsoft.Data.SqlClient.Manual.cs" />
|
26 | 29 | </ItemGroup>
|
27 |
| - <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'"> |
| 30 | + <ItemGroup Condition="'$(TargetGroup)' == 'netstandard'"> |
| 31 | + <PackageReference Condition="'$(TargetsWindows)' == 'true' and '$(IsUAPAssembly)' != 'true'" Include="Microsoft.Win32.Registry" Version="$(MicrosoftWin32RegistryVersion)" /> |
| 32 | + <PackageReference Include="System.Runtime.Loader" Version="$(SystemRuntimeLoaderVersion)" /> |
28 | 33 | <PackageReference Include="System.Security.Cryptography.Cng" Version="$(SystemSecurityCryptographyCngVersion)" />
|
29 | 34 | </ItemGroup>
|
| 35 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 36 | + <PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" /> |
| 37 | + </ItemGroup> |
| 38 | + <ItemGroup Condition="'$(TargetsWindows)' == 'true' and '$(IsUAPAssembly)' != 'true'"> |
| 39 | + <Reference Include="Microsoft.Win32.Registry" /> |
| 40 | + </ItemGroup> |
| 41 | + <ItemGroup Condition="'$(OSGroup)' != 'AnyOS' AND '$(IsUAPAssembly)' == 'true'"> |
| 42 | + <Reference Include="System.Collections.NonGeneric" /> |
| 43 | + <Reference Include="System.Memory" /> |
| 44 | + </ItemGroup> |
30 | 45 | <ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
|
31 | 46 | <Compile Include="Microsoft.Data.SqlClient.NetStandard.cs" />
|
32 | 47 | </ItemGroup>
|
| 48 | + <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'"> |
| 49 | + <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="$(SystemDiagnosticsDiagnosticSourceVersion)" /> |
| 50 | + </ItemGroup> |
33 | 51 | <ItemGroup>
|
| 52 | + <PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" /> |
| 53 | + <PackageReference Include="System.Security.Permissions" Version="$(SystemSecurityPermissionsVersion)" /> |
| 54 | + <PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" /> |
| 55 | + <PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesVersion)" /> |
| 56 | + <PackageReference Include="System.Text.Encodings.Web" Version="$(SystemTextEncodingsWebVersion)" /> |
| 57 | + <PackageReference Include="Microsoft.Data.SqlClient.SNI.runtime" Version="$(MicrosoftDataSqlClientSNIRuntimeVersion)" /> |
| 58 | + <!-- Enable the project reference for debugging purposes. --> |
| 59 | + <!-- <ProjectReference Include="$(SqlServerSourceCode)\Microsoft.SqlServer.Server.csproj" /> --> |
| 60 | + <PackageReference Include="Microsoft.SqlServer.Server" Version="$(MicrosoftSqlServerServerVersion)" /> |
| 61 | + <PackageReference Include="Azure.Identity" Version="$(AzureIdentityVersion)" /> |
34 | 62 | <PackageReference Include="Microsoft.Identity.Client" Version="$(MicrosoftIdentityClientVersion)" />
|
| 63 | + <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="$(MicrosoftIdentityModelProtocolsOpenIdConnectVersion)" /> |
| 64 | + <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="$(MicrosoftIdentityModelJsonWebTokensVersion)" /> |
| 65 | + <PackageReference Include="System.Runtime.Caching" Version="$(SystemRuntimeCachingVersion)" /> |
35 | 66 | </ItemGroup>
|
36 | 67 | </Project>
|
0 commit comments