<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PackageConfigurations>
+ netcoreapp2.1;
netstandard;
net461;
- netcoreapp;
</PackageConfigurations>
<BuildConfigurations>
$(PackageConfigurations)
+ netcoreapp;
netfx;
</BuildConfigurations>
</PropertyGroup>
<Compile Include="System.Data.SqlClient.cs" />
<Compile Include="System.Data.SqlClient.Manual.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
+ <ItemGroup Condition="'$(TargetsNETCoreApp)' == 'true'">
<Compile Include="System.Data.SqlClient.NetCoreApp.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
+ <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp2.1'">
+ <Reference Include="System.Runtime" />
+ <Reference Include="System.Runtime.Extensions" />
+ <Reference Include="System.Data.Common" />
+ <Reference Include="System.Collections.NonGeneric" />
+ <Reference Include="System.ComponentModel.Primitives" />
+ <Reference Include="System.Xml.ReaderWriter" />
+ <Reference Include="System.Runtime.InteropServices" />
+ </ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Extensions\ref\System.Runtime.Extensions.csproj" />
netstandard1.3;
netstandard;
net461-Windows_NT;
- netcoreapp;
- netcoreapp-Unix;
- netcoreapp-Windows_NT;
+ netcoreapp2.1;
+ netcoreapp2.1-Unix;
+ netcoreapp2.1-Windows_NT;
uap10.0.16299-Windows_NT;
uap-Windows_NT;
</PackageConfigurations>
<BuildConfigurations>
$(PackageConfigurations)
+ netcoreapp;
+ netcoreapp-Unix;
+ netcoreapp-Windows_NT;
netfx-Windows_NT;
</BuildConfigurations>
</PropertyGroup>
+++ /dev/null
-<!-- Not a bug. sni.dll is a native component that ships as part of the package. -->
-kernel32.dll!LoadLibraryExW
-sni.dll!GetSniMaxComposedSpnLength
-sni.dll!SNIAddProviderWrapper
-sni.dll!SNICheckConnectionWrapper
-sni.dll!SNICloseWrapper
-sni.dll!SNIGetInfoWrapper
-sni.dll!SNIGetLastError
-sni.dll!SNIInitialize
-sni.dll!SNIOpenSyncExWrapper
-sni.dll!SNIOpenWrapper
-sni.dll!SNIPacketAllocateWrapper
-sni.dll!SNIPacketGetDataWrapper
-sni.dll!SNIPacketRelease
-sni.dll!SNIPacketResetWrapper
-sni.dll!SNIPacketSetData
-sni.dll!SNIQueryInfo
-sni.dll!SNIReadAsyncWrapper
-sni.dll!SNIReadSyncOverAsync
-sni.dll!SNIRemoveProviderWrapper
-sni.dll!SNISecGenClientContextWrapper
-sni.dll!SNISecInitPackage
-sni.dll!SNISetInfoWrapper
-sni.dll!SNITerminate
-sni.dll!SNIWaitForSSLHandshakeToCompleteWrapper
-sni.dll!SNIWriteAsyncWrapper
-sni.dll!SNIWriteSyncOverAsync
-sni.dll!UnmanagedIsTokenRestricted
-sspicli.dll!AcceptSecurityContext
-sspicli.dll!AcquireCredentialsHandleW
-sspicli.dll!ApplyControlToken
-sspicli.dll!CompleteAuthToken
-sspicli.dll!DecryptMessage
-sspicli.dll!DeleteSecurityContext
-sspicli.dll!EncryptMessage
-sspicli.dll!EnumerateSecurityPackagesW
-sspicli.dll!FreeContextBuffer
-sspicli.dll!FreeCredentialsHandle
-sspicli.dll!InitializeSecurityContextW
-sspicli.dll!QueryContextAttributesW
-sspicli.dll!QuerySecurityContextToken
-sspicli.dll!SetContextAttributesW
-sspicli.dll!SspiEncodeStringsAsAuthIdentity
-sspicli.dll!SspiFreeAuthIdentity
\ No newline at end of file
<AssemblyVersion Condition="'$(TargetGroup)' == 'netstandard1.3'">4.1.0.0</AssemblyVersion>
<Configurations>net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;netstandard-Unix-Debug;netstandard-Unix-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release;netstandard1.2-Debug;netstandard1.2-Release;netstandard1.3-Debug;netstandard1.3-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uap10.0.16299-Windows_NT-Debug;uap10.0.16299-Windows_NT-Release</Configurations>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetGroup)' == 'netcoreapp' OR '$(IsUAPAssembly)' == 'true' ">
+ <ItemGroup Condition="'$(TargetGroup)' == 'netstandard' OR '$(TargetsNetCoreApp)' == 'true' OR '$(IsUAPAssembly)' == 'true' ">
<Compile Include="System.Data.SqlClient.TypeForwards.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND '$(TargetGroup)' == 'netcoreapp'">
+ <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND '$(TargetsNetCoreApp)' == 'true'">
<Compile Include="System\Data\SqlClient\PoolBlockingPeriod.cs" />
</ItemGroup>
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' AND '$(OSGroup)' != 'AnyOS'">
<Compile Include="System\Data\SqlClient\SqlCredential.cs" />
</ItemGroup>
<!-- SqlFileStream Unix Netcoreapp only -->
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' AND '$(TargetsUnix)' == 'true'">
+ <ItemGroup Condition="'$(TargetsNetCoreApp)' == 'true' AND '$(TargetsUnix)' == 'true'">
<Compile Include="System\Data\SqlClient\SqlFileStream.Unsupported.cs" />
</ItemGroup>
<!-- SqlFileStream Windows Netcoreapp only -->
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' AND '$(TargetsWindows)' == 'true'">
+ <ItemGroup Condition="'$(TargetsNetCoreApp)' == 'true' AND '$(TargetsWindows)' == 'true'">
<Compile Include="$(CommonPath)\CoreLib\Interop\Windows\kernel32\Interop.FileTypes.cs">
<Link>Common\CoreLib\Interop\Windows\kernel32\Interop.FileTypes.cs</Link>
</Compile>
</Compile>
<Compile Include="System\Data\SqlClient\SqlFileStream.Windows.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND '$(TargetGroup)' == 'netcoreapp'">
+ <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true' AND '$(OSGroup)' != 'AnyOS' AND '$(TargetsNetCoreApp)' == 'true'">
<Compile Include="System\Data\Common\DbConnectionStringCommon.NetCoreApp.cs" />
<Compile Include="System\Data\ProviderBase\DbConnectionPool.NetCoreApp.cs" />
<Compile Include="System\Data\SqlClient\SqlConnectionString.NetCoreApp.cs" />
<Compile Include="System\Data\SqlClient\SqlConnectionStringBuilder.NetCoreApp.cs" />
</ItemGroup>
<!-- Manage the SNI toggle for Windows netstandard and UWP -->
- <ItemGroup Condition="('$(TargetGroup)' == 'netstandard' OR '$(TargetGroup)' == 'netcoreapp') AND '$(TargetsWindows)' == 'true'">
+ <ItemGroup Condition="('$(TargetGroup)' == 'netstandard' OR '$(TargetsNetCoreApp)' == 'true') AND '$(TargetsWindows)' == 'true'">
<!-- Manage the SNI toggle for Windows netstandard and UWP -->
<Compile Include="System\Data\SqlClient\TdsParserStateObjectFactory.Windows.cs" />
+ <AdditionalFiles Include="$(MSBuildProjectDirectory)/*.analyzerdata.windows" />
</ItemGroup>
<ItemGroup Condition="'$(IsUAPAssembly)' == 'true'">
<Compile Include="System\Data\SqlClient\TdsParserStateObjectFactory.Managed.cs" />
<Reference Include="System.Net.Primitives" />
<Reference Include="System.Net.NameResolution" />
</ItemGroup>
- <ItemGroup Condition="('$(OSGroup)' != 'AnyOS' AND '$(IsUAPAssembly)' == 'true') OR '$(TargetGroup)' == 'netcoreapp'">
+ <ItemGroup Condition="('$(OSGroup)' != 'AnyOS' AND '$(IsUAPAssembly)' == 'true') OR '$(TargetsNetCoreApp)' == 'true'">
<Reference Include="System.Transactions.Local" />
<Reference Include="System.Collections.NonGeneric" />
</ItemGroup>
<LogicalName>System.Data.SqlClient.SqlMetaData.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
+ <ItemGroup Condition="'$(TargetsNetCoreApp)' == 'true'">
<Reference Include="System.Runtime.Extensions" />
<Reference Include="System.Data.Common" />
<Reference Include="System.ComponentModel.Primitives" />