<ArtifactsBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin'))</ArtifactsBinDir>
</PropertyGroup>
- <!-- The NetCoreApp TFM to build and test against. -->
+ <!-- The TFMs to build and test against. -->
<PropertyGroup>
- <NetCoreAppCurrentTargetFrameworkMoniker>.NETCoreApp,Version=v5.0</NetCoreAppCurrentTargetFrameworkMoniker>
- <NetCoreAppCurrent>netcoreapp5.0</NetCoreAppCurrent>
+ <NETCoreAppCurrentVersion>5.0</NETCoreAppCurrentVersion>
+ <NetCoreAppCurrentTargetFrameworkMoniker>.NETCoreApp,Version=v$(NETCoreAppCurrentVersion)</NetCoreAppCurrentTargetFrameworkMoniker>
+ <NetCoreAppCurrent>netcoreapp$(NETCoreAppCurrentVersion)</NetCoreAppCurrent>
<NetFrameworkCurrent>net472</NetFrameworkCurrent>
</PropertyGroup>
Text="'DotNetSourceBuildIntermediatePath' must be specified when 'DotNetBuildFromSource' is true" />
<PropertyGroup>
- <_notSupportedSourceDirectory>$([MSBuild]::NormalizeDirectory('$(DotNetSourceBuildIntermediatePath)', '$(MSBuildProjectName)', '$(TargetGroup)-$(OSGroup)'))</_notSupportedSourceDirectory>
+ <_notSupportedSourceDirectory>$([MSBuild]::NormalizeDirectory('$(DotNetSourceBuildIntermediatePath)', '$(MSBuildProjectName)', '$(TargetFramework)-$(OSGroup)'))</_notSupportedSourceDirectory>
<NotSupportedSourceFile>$(_notSupportedSourceDirectory)$(TargetName).notsupported.cs</NotSupportedSourceFile>
</PropertyGroup>
<_withoutCategories Condition="'$(TestScope)' == '' or '$(TestScope)' == 'innerloop'">$(_withoutCategories);OuterLoop</_withoutCategories>
<_withoutCategories Condition="!$(_withCategories.Contains('failing'))">$(_withoutCategories);failing</_withoutCategories>
- <_targetGroupCategory Condition="'$(TargetsNetCoreApp)' == 'true'">netcoreapp</_targetGroupCategory>
- <_targetGroupCategory Condition="'$(TargetsNetFx)' == 'true'">netfx</_targetGroupCategory>
+ <_targetCategory Condition="'$(TargetsNetCoreApp)' == 'true'">netcoreapp</_targetCategory>
+ <_targetCategory Condition="'$(TargetsNetFx)' == 'true'">netfx</_targetCategory>
- <_withoutCategories>$(_withoutCategories);non$(_targetGroupCategory)tests</_withoutCategories>
+ <_withoutCategories>$(_withoutCategories);non$(_targetCategory)tests</_withoutCategories>
<_withoutCategories Condition="'$(TargetOSCategory)' != ''">$(_withoutCategories);$(TargetOSCategory)</_withoutCategories>
</PropertyGroup>
<PropertyGroup>
<!--
Microsoft.NET.TargetFrameworkInference.targets appends the TargetFramework.
- We do this manually and use the TargetGroup instead.
+ We do this manually and use the Configuration instead.
-->
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<RuntimePath Condition="'$(RuntimePath)' == ''">$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'runtime', '$(BuildConfiguration)'))</RuntimePath>
<RefRootPath>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'ref'))</RefRootPath>
<BuildConfigurationRefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(_bc_TargetGroup)'))</BuildConfigurationRefPath>
- <RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(TargetGroup)'))</RefPath>
+ <RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(TargetFramework)'))</RefPath>
<NetStandard20RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', 'netstandard2.0'))</NetStandard20RefPath>
<NetStandard21RefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', 'netstandard2.1'))</NetStandard21RefPath>
<NetFxRefPath>$([MSBuild]::NormalizeDirectory('$(RefRootPath)', '$(NetFrameworkCurrent)'))</NetFxRefPath>
<Compile Include="Microsoft\Win32\UserPreferenceChangingEventArgs.cs" />
<Compile Include="Microsoft\Win32\UserPreferenceChangingEventHandler.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' != '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<Compile Include="$(CommonPath)System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs">
<Link>Common\System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs</Link>
</Compile>
<Reference Include="System.Threading" />
<Reference Include="System.Threading.Thread" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp2.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<Reference Include="System.ComponentModel.TypeConverter" />
</ItemGroup>
</Project>
\ No newline at end of file
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
<RootNamespace>System.Collections.Immutable</RootNamespace>
<FileAlignment>512</FileAlignment>
- <PackageTargetFramework Condition="'$(TargetGroup)' == 'netstandard1.0'">netstandard1.0;portable-net45+win8+wp8+wpa81</PackageTargetFramework>
+ <PackageTargetFramework Condition="'$(TargetFramework)' == 'netstandard1.0'">netstandard1.0;portable-net45+win8+wp8+wpa81</PackageTargetFramework>
<Configurations>$(NetCoreAppCurrent)-Debug;$(NetCoreAppCurrent)-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.0-Debug;netstandard1.0-Release;netstandard1.3-Debug;netstandard1.3-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Data.SqlClient.Manual.cs" />
<Compile Include="System.Data.SqlClient.NetCoreApp.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp2.1'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.Extensions" />
<Reference Include="System.Data.Common" />
<Reference Include="System.Xml.ReaderWriter" />
<Reference Include="System.Runtime.InteropServices" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Extensions\ref\System.Runtime.Extensions.csproj" />
<ProjectReference Include="..\..\System.Data.Common\ref\System.Data.Common.csproj" />
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);CS1573;nullable</NoWarn>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(OSGroup)' == 'AnyOS'">SR.PlatformNotSupported_DataSqlClient</GeneratePlatformNotSupportedAssemblyMessage>
- <AssemblyVersion Condition="'$(TargetGroup)' == 'netstandard2.0'">4.6.0.0</AssemblyVersion>
+ <AssemblyVersion Condition="'$(TargetFramework)' == 'netstandard2.0'">4.6.0.0</AssemblyVersion>
<DefineConstants Condition="'$(TargetsNetCoreApp)' != 'true'">$(DefineConstants);NETSTANDARD2_0</DefineConstants>
- <DefineConstants Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">$(DefineConstants);FEATURE_TCPKEEPALIVE</DefineConstants>
+ <DefineConstants Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">$(DefineConstants);FEATURE_TCPKEEPALIVE</DefineConstants>
<Nullable>annotations</Nullable>
- <DefineConstants Condition="'$(TargetGroup)' != '$(NetCoreAppCurrent)'">$(DefineConstants);INTERNAL_NULLABLE_ATTRIBUTES</DefineConstants>
+ <DefineConstants Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">$(DefineConstants);INTERNAL_NULLABLE_ATTRIBUTES</DefineConstants>
<Configurations>$(NetCoreAppCurrent)-Debug;$(NetCoreAppCurrent)-Release;$(NetCoreAppCurrent)-Unix-Debug;$(NetCoreAppCurrent)-Unix-Release;$(NetCoreAppCurrent)-Windows_NT-Debug;$(NetCoreAppCurrent)-Windows_NT-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netcoreapp2.1-Unix-Debug;netcoreapp2.1-Unix-Release;netcoreapp2.1-Windows_NT-Debug;netcoreapp2.1-Windows_NT-Release;netstandard2.0-Unix-Debug;netstandard2.0-Unix-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release;</Configurations>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetsNetCoreApp)' == 'true'">
<Compile Include="$(CoreLibSharedDir)System\IO\PathInternal.Windows.cs">
<Link>System\IO\PathInternal.Windows.cs</Link>
</Compile>
- <Compile Include="$(CommonPath)System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs" Condition="'$(TargetGroup)' != '$(NetCoreAppCurrent)'">
+ <Compile Include="$(CommonPath)System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs" Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<Link>Common\System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs</Link>
</Compile>
<Compile Include="$(CoreLibSharedDir)System\Text\ValueStringBuilder.cs">
<Compile Include="SQL\AsyncTest\AsyncTest.cs" />
<Compile Include="SQL\CommandCancelTest\CommandCancelTest.cs" />
<Compile Include="SQL\ConnectionPoolTest\ConnectionPoolTest.cs" />
+ <Compile Include="SQL\ConnectionPoolTest\PoolBlockPeriodTest.netcoreapp.cs" />
<Compile Include="SQL\ConnectivityTests\ConnectivityTest.cs" />
<Compile Include="SQL\DataBaseSchemaTest\ConnectionSchemaTest.cs" />
<Compile Include="SQL\DataReaderTest\DataReaderTest.cs" />
<Compile Include="SQL\RandomStressTest\SqlRandomTypesForSqlServer.cs" />
<Compile Include="SQL\RandomStressTest\RandomStressTest.cs" />
<Compile Include="SQL\SplitPacketTest\SplitPacketTest.cs" />
+ <Compile Include="SQL\SqlFileStreamTest\SqlFileStreamTest.cs" />
<Compile Include="SQL\SqlNotificationTest\SqlNotificationTest.cs" />
<Compile Include="SQL\TransactionTest\TransactionTest.cs" />
<Compile Include="SQL\TransactionTest\TransactionEnlistmentTest.cs" />
<Compile Include="SQL\WeakRefTest\WeakRefTest.cs" />
<Compile Include="SQL\WeakRefTestYukonSpecific\WeakRefTestYukonSpecific.cs" />
<Compile Include="XUnitAssemblyAttributes.cs" />
+ </ItemGroup>
+ <ItemGroup>
<Content Include="DDBasics\DDDataTypesTest\data.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>data.xml</Link>
<None Include="SQL\ParameterTest\SqlParameterTest_DebugMode.bsl" />
<None Include="SQL\ParameterTest\SqlParameterTest_ReleaseMode.bsl" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
- <Compile Include="SQL\ConnectionPoolTest\PoolBlockPeriodTest.netcoreapp.cs" />
- <Compile Include="SQL\SqlFileStreamTest\SqlFileStreamTest.cs" />
- </ItemGroup>
<ItemGroup>
<ProjectReference Include="SQL\UdtTest\UDTs\Address\Address.csproj" />
<ProjectReference Include="SQL\UdtTest\UDTs\Circle\Circle.csproj" />
<CLSCompliant>false</CLSCompliant>
<Nullable>enable</Nullable>
</PropertyGroup>
- <PropertyGroup Condition="'$(TargetGroup)' == 'net45' or '$(TargetGroup)' == '$(NetFrameworkCurrent)'">
+ <PropertyGroup Condition="'$(TargetFramework)' == 'net45' or '$(TargetFramework)' == '$(NetFrameworkCurrent)'">
<DefineConstants>$(DefineConstants);ALLOW_PARTIALLY_TRUSTED_CALLERS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Diagnostics.DiagnosticSource.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' != 'netstandard1.1'">
+ <ItemGroup Condition="'$(TargetFramework)' != 'netstandard1.1'">
<Compile Include="System.Diagnostics.DiagnosticSourceActivity.cs" />
<Reference Include="System.Memory" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'net45' or '$(TargetGroup)' == '$(NetFrameworkCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'net45' or '$(TargetFramework)' == '$(NetFrameworkCurrent)'">
<Reference Include="mscorlib" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'net45'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<Reference Include="System.Runtime" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetFrameworkCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetFrameworkCurrent)'">
<Reference Include="netstandard" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.1' or '$(TargetGroup)' == 'netstandard1.3'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' or '$(TargetFramework)' == 'netstandard1.3'">
<Reference Include="System.Runtime.InteropServices" />
<Reference Include="System.Runtime" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
<Compile Include="System\Diagnostics\HttpHandlerDiagnosticListener.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' != '$(NetFrameworkCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' != '$(NetFrameworkCurrent)'">
<Reference Include="System.Collections" />
<Reference Include="System.Collections.Concurrent" />
<Reference Include="System.Diagnostics.Debug" />
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsNetStandard)' == 'true'">SR.PlatformNotSupported_PerfCounters</GeneratePlatformNotSupportedAssemblyMessage>
<Configurations>net461-Debug;net461-Release;$(NetCoreAppCurrent)-Windows_NT-Debug;$(NetCoreAppCurrent)-Windows_NT-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;$(NetFrameworkCurrent)-Debug;$(NetFrameworkCurrent)-Release;netstandard2.0-Debug;netstandard2.0-Release</Configurations>
</PropertyGroup>
- <ItemGroup Condition="$(TargetGroup.StartsWith('netcoreapp'))">
+ <ItemGroup Condition="'$(TargetsNetCoreApp)' == 'true'">
<Compile Include="System\Diagnostics\DiagnosticsConfiguration.cs" />
<Compile Include="System\Diagnostics\CounterCreationData.cs" />
<Compile Include="System\Diagnostics\CounterCreationDataCollection.cs" />
<Link>Common\Interop\OSX\Interop.Libraries.cs</Link>
</Compile>
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)' and '$(TargetsWindows)' == 'true'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)' and '$(TargetsWindows)' == 'true'">
<Compile Include="$(CommonPath)Interop\Windows\Shell32\Interop.ShellExecuteExW.cs">
<Link>Common\Interop\Windows\Shell32\Interop.ShellExecuteExW.cs</Link>
</Compile>
<Compile Include="StackFrameTests.cs" />
<Compile Include="StackFrameExtensionsTests.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Compile Include="StackTraceSymbolsTests.cs" />
</ItemGroup>
</Project>
\ No newline at end of file
<Reference Include="System.Threading.Thread" />
<Reference Include="System.Xml.ReaderWriter" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Reference Include="System.ComponentModel.Primitives" />
</ItemGroup>
</Project>
<Link>Common\System\IO\PathInternal.Windows.cs</Link>
</Compile>
</ItemGroup>
- <ItemGroup Condition=" '$(TargetsUnix)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)' ">
+ <ItemGroup Condition=" '$(TargetsUnix)' == 'true' And '$(TargetFramework)' == '$(NetCoreAppCurrent)' ">
<Compile Include="System\IO\DriveInfo.Unix.cs" />
<Compile Include="$(CommonPath)Interop\Unix\Interop.Libraries.cs">
<Link>Common\Interop\Unix\Interop.Libraries.cs</Link>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <IsPartialFacadeAssembly Condition="'$(TargetGroup)' == '$(NetFrameworkCurrent)' or '$(TargetGroup)' == 'net46'">true</IsPartialFacadeAssembly>
- <DefineConstants Condition="'$(TargetGroup)'=='netstandard1.3'">$(DefineConstants);netcoreapp</DefineConstants>
+ <IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
+ <DefineConstants Condition="'$(TargetFramework)' == 'netstandard1.3'">$(DefineConstants);netcoreapp</DefineConstants>
<Configurations>net46-Debug;net46-Release;$(NetFrameworkCurrent)-Debug;$(NetFrameworkCurrent)-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.3-Debug;netstandard1.3-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.IO.Packaging.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' != 'netstandard1.3'">
+ <ItemGroup Condition="'$(TargetFramework)' != 'netstandard1.3'">
<Compile Include="System.IO.Packaging.Serialization.cs" />
<Compile Include="System.IO.Packaging.PackUriScheme.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetFrameworkCurrent)' or '$(TargetGroup)' == 'net46'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetFrameworkCurrent)' or '$(TargetFramework)' == 'net46'">
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="WindowsBase" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.3'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<Reference Include="System.Collections" />
<Reference Include="System.IO" />
<Reference Include="System.IO.FileSystem.Primitives" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <RootNamespace>System.IO.Packaging</RootNamespace>
- <AssemblyName>System.IO.Packaging</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <IsPartialFacadeAssembly Condition="'$(TargetGroup)'=='$(NetFrameworkCurrent)' or '$(TargetGroup)'=='net46'">true</IsPartialFacadeAssembly>
- <DefineConstants Condition="'$(TargetGroup)' != 'netstandard1.3'">$(DefineConstants);FEATURE_SERIALIZATION</DefineConstants>
+ <IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
+ <DefineConstants Condition="'$(TargetFramework)' != 'netstandard1.3'">$(DefineConstants);FEATURE_SERIALIZATION</DefineConstants>
<Configurations>net46-Debug;net46-Release;$(NetFrameworkCurrent)-Windows_NT-Debug;$(NetFrameworkCurrent)-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.3-Debug;netstandard1.3-Release</Configurations>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetGroup)'=='netstandard1.3'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<Reference Include="System.Collections" />
<Reference Include="System.Diagnostics.Debug" />
<Reference Include="System.Globalization" />
<Compile Include="System\IO\Packaging\ZipPackagePart.cs" />
<Compile Include="System\IO\Packaging\ZipStreamManager.cs" />
<Compile Include="System\IO\Packaging\ZipWrappingStream.cs" />
- <Compile Condition="'$(TargetGroup)'!='netstandard1.3'" Include="System\IO\Packaging\PackUriHelper.PackUriScheme.cs" />
+ <Compile Condition="'$(TargetFramework)' != 'netstandard1.3'" Include="System\IO\Packaging\PackUriHelper.PackUriScheme.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)'=='$(NetFrameworkCurrent)' or '$(TargetGroup)' == 'net46' ">
+ <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
<Reference Include="mscorlib" />
<Reference Include="WindowsBase" />
</ItemGroup>
<Compile Include="System\Json\JsonValue.cs" />
<Compile Include="System\Json\JavaScriptReader.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
<Reference Include="System.Collections" />
<Reference Include="System.Diagnostics.Debug" />
<Reference Include="System.Globalization" />
<Link>Common\Microsoft\Win32\SafeHandles\SafeCreateHandle.OSX.cs</Link>
</Compile>
</ItemGroup>
- <ItemGroup Condition=" '$(TargetsWindows)' == 'true' AND '$(TargetGroup)' != 'net46' AND '$(TargetGroup)' != 'net461' ">
+ <ItemGroup Condition=" '$(TargetsWindows)' == 'true'">
<Compile Include="$(CommonPath)\System\Net\HttpStatusDescription.cs">
<Link>Common\System\Net\HttpStatusDescription.cs</Link>
</Compile>
- </ItemGroup>
- <ItemGroup Condition=" '$(TargetsWindows)' == 'true'">
<Compile Include="System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Windows.cs" />
<Compile Include="System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs" />
<Compile Include="System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Windows.cs" />
<Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs</Link>
</Compile>
- <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs" Condition=" '$(TargetsUnix)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs" Condition=" '$(TargetsUnix)' == 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs</Link>
</Compile>
- <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Windows.cs" Condition=" '$(TargetsWindows)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Windows.cs" Condition=" '$(TargetsWindows)' == 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Windows.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.cs">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.cs</Link>
</Compile>
- <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.OSX.cs" Condition=" '$(TargetsOSX)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.OSX.cs" Condition=" '$(TargetsOSX)' == 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.OSX.cs</Link>
</Compile>
- <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs" Condition=" '$(TargetsUnix)' == 'true' And '$(TargetsOSX)' != 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs" Condition=" '$(TargetsUnix)' == 'true' and '$(TargetsOSX)' != 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs</Link>
</Compile>
- <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Windows.cs" Condition=" '$(TargetsWindows)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <Compile Include="..\..\src\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Windows.cs" Condition=" '$(TargetsWindows)' == 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Link>ProductionCode\System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Windows.cs</Link>
</Compile>
<Compile Include="$(CommonPath)System\Net\Http\HttpHandlerDefaults.cs">
</Compile>
<Compile Include="DigestAuthenticationTests.cs" />
<Compile Include="Fakes\HttpClientHandler.cs" />
- <Compile Include="Fakes\MacProxy.cs" Condition=" '$(TargetsOSX)' == 'true' And '$(TargetGroup)' == '$(NetCoreAppCurrent)'" />
+ <Compile Include="Fakes\MacProxy.cs" Condition=" '$(TargetsOSX)' == 'true' and '$(TargetFramework)' == '$(NetCoreAppCurrent)'" />
<Compile Include="Headers\AuthenticationHeaderValueTest.cs" />
<Compile Include="Headers\ByteArrayHeaderParserTest.cs" />
<Compile Include="Headers\CacheControlHeaderParserTest.cs" />
<ItemGroup>
<DefaultReferenceExclusions Include="System.Net.NameResolution" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup>
<Compile Include="..\..\src\System\Net\IPHostEntry.cs">
<Link>ProductionCode\System\Net\IPHostEntry.cs</Link>
</Compile>
- </ItemGroup>
- <ItemGroup>
<Compile Include="Fakes\FakeContextAwareResult.cs" />
<Compile Include="NameResolutionPalTests.cs" />
<Compile Include="Fakes\DebugThreadTracking.cs" />
<Compile Include="System\Net\WebSockets\ManagedWebSocketExtensions.cs" />
<Compile Include="System\Net\WebSockets\WebSocketProtocol.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)'!='$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<Compile Include="System\Numerics\BitOperations.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsNetStandard)' == 'true'">
<ItemGroup>
<Compile Include="System.Reflection.Context.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.1'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
<Reference Include="System.Runtime" />
<Reference Include="System.Reflection" />
</ItemGroup>
<Reference Include="System.Reflection.Primitives" />
<Reference Include="System.Resources.ResourceManager" />
<Reference Include="System.Runtime" />
- <Reference Condition="'$(TargetGroup)' != 'netstandard1.0'" Include="System.Runtime.InteropServices" />
+ <Reference Condition="'$(TargetFramework)' != 'netstandard1.0'" Include="System.Runtime.InteropServices" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
<!-- copy the System.Runtime based not supported assembly to netcore50 aot. -->
<PackageDestination Include="lib/netstandard1.0">
<TargetFramework>netstandard1.0</TargetFramework>
<Reference Include="System.Reflection.Primitives" />
<Reference Include="System.Resources.ResourceManager" />
<Reference Include="System.Runtime" />
- <Reference Condition="'$(TargetGroup)' != 'netstandard1.0'" Include="System.Runtime.InteropServices" />
+ <Reference Condition="'$(TargetFramework)' != 'netstandard1.0'" Include="System.Runtime.InteropServices" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
<!-- copy the System.Runtime based not supported assembly to netcore50 aot. -->
<PackageDestination Include="lib/netstandard1.0">
<TargetFramework>netstandard1.0</TargetFramework>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <AssemblyName>System.Reflection.Emit</AssemblyName>
<IsPartialFacadeAssembly Condition="'$(TargetsNetStandard)' != 'true'">true</IsPartialFacadeAssembly>
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsNetStandard)' == 'true'">SR.PlatformNotSupported_RefEmit</GeneratePlatformNotSupportedAssemblyMessage>
<OmitResources>$(IsPartialFacadeAssembly)</OmitResources>
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.InteropServices" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.1'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
<!-- copy the System.Runtime based not supported assembly to netcore50 aot. -->
<PackageDestination Include="lib/netstandard1.1">
<TargetFramework>netstandard1.1</TargetFramework>
<PropertyGroup>
<DocumentationFile>$(MSBuildThisFileDirectory)System.Runtime.CompilerServices.Unsafe.xml</DocumentationFile>
<ProjectGuid>{04BA3E3C-6979-4792-B19E-C797AD607F42}</ProjectGuid>
- <IncludePath>include\$(TargetGroup)</IncludePath>
+ <IncludePath>include\$(TargetFramework)</IncludePath>
<IncludePath Condition="'$(TargetsNetCoreApp)' == 'true'">include\netcoreapp</IncludePath>
<IncludePath Condition="'$(TargetsNetFx)' == 'true'">include\netfx</IncludePath>
<IlasmFlags>$(IlasmFlags) -INCLUDE=$(IncludePath) -DEBUG=$(DebugOptimization)</IlasmFlags>
<ReferenceFromRuntime Include="System.Runtime.InteropServices.WindowsRuntime" />
<ReferenceFromRuntime Include="System.ObjectModel" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<!-- Needed for the compiler to resolve IObservableMap.MapChanged. -->
<ProjectReference Include="..\..\System.Runtime\src\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Extensions\src\System.Runtime.Extensions.csproj">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <DefineConstants Condition="'$(TargetGroup)' != 'net461' and '$(TargetGroup)' != 'net462'">$(DefineConstants);FEATURE_ECPARAMETERS</DefineConstants>
+ <DefineConstants Condition="'$(TargetFramework)' != 'net461' and '$(TargetFramework)' != 'net462'">$(DefineConstants);FEATURE_ECPARAMETERS</DefineConstants>
<!-- FEATURE_DSA_HASHDATA is technically also available on net462+, but it doesn't require being enabled since it is a facade -->
<DefineConstants Condition="'$(TargetsNetCoreApp)' == 'true' or '$(TargetsNetStandard)' == 'true'">$(DefineConstants);FEATURE_DSA_HASHDATA</DefineConstants>
<!-- FEATURE_ECDH_DERIVEFROM is technically also available on net462+, but it doesn't require being enabled since it is a facade -->
<Reference Include="mscorlib" />
<Reference Include="System.Core" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.IO\ref\System.IO.csproj" />
<ProjectReference Include="..\..\System.Runtime.Handles\ref\System.Runtime.Handles.csproj" />
<ItemGroup>
<Compile Include="System.Security.Cryptography.OpenSsl.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Handles\ref\System.Runtime.Handles.csproj" />
<ProjectReference Include="..\..\System.IO\ref\System.IO.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.Algorithms\ref\System.Security.Cryptography.Algorithms.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.Primitives\ref\System.Security.Cryptography.Primitives.csproj" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp3.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.Handles" />
<Reference Include="System.IO" />
<Reference Include="System" />
<Reference Include="System.Security" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.Algorithms\ref\System.Security.Cryptography.Algorithms.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.Csp\ref\System.Security.Cryptography.Csp.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.Primitives\ref\System.Security.Cryptography.Primitives.csproj" />
<ProjectReference Include="..\..\System.Security.Cryptography.X509Certificates\ref\System.Security.Cryptography.X509Certificates.csproj" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp3.0'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<Reference Include="System.Runtime" />
<Reference Include="System.Security.Cryptography.Algorithms" />
<Reference Include="System.Security.Cryptography.Csp" />
<ItemGroup Condition="'$(TargetsNetFx)' != 'true'">
<ProjectReference Include="..\..\System.Security.AccessControl\ref\System.Security.AccessControl.csproj" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Collections.NonGeneric\ref\System.Collections.NonGeneric.csproj" />
<ProjectReference Include="..\..\System.ComponentModel.Primitives\ref\System.ComponentModel.Primitives.csproj" />
<ProjectReference Include="..\..\System.Data.Common\ref\System.Data.Common.csproj" />
<Compile Include="SecurityElementTests.cs" />
<Compile Include="TrustManagerContextTests.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)' And '$(TargetsWindows)' == 'true'">
+ <ItemGroup Condition="'$(TargetsWindows)' == 'true'">
<Compile Include="XamlLoadPermissionTests.cs"/>
</ItemGroup>
</Project>
<Reference Include="mscorlib" />
<Reference Include="System" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Security.Claims\ref\System.Security.Claims.csproj" />
<ProjectReference Include="..\..\System.Security.Principal\ref\System.Security.Principal.csproj" />
<ItemGroup Condition="'$(TargetsNetCoreApp)' == 'true'">
<Compile Include="System.ServiceModel.Syndication.netcoreapp.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.Collections\ref\System.Collections.csproj" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Serialization.Primitives\ref\System.Runtime.Serialization.Primitives.csproj" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configurations>$(NetCoreAppCurrent)-Debug;$(NetCoreAppCurrent)-Release;$(NetFrameworkCurrent)-Debug;$(NetFrameworkCurrent)-Release</Configurations>
- <DefineConstants Condition="'$(TargetGroup)'!='net472'">$(DefineConstants);BUILDING_INBOX_LIBRARY</DefineConstants>
+ <DefineConstants Condition="'$(TargetsNetFx)' != 'true'">$(DefineConstants);BUILDING_INBOX_LIBRARY</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Compile Include="Utf8JsonWriterTests.cs" />
</ItemGroup>
<ItemGroup>
- <Compile Include="..\src\System\Text\Json\BitStack.cs" Link="BitStack.cs" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
- <Compile Include="$(CommonPath)System\Buffers\ArrayBufferWriter.cs">
- <Link>CommonTest\System\Buffers\ArrayBufferWriter.cs</Link>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
- </ItemGroup>
- <ItemGroup>
<Compile Include="JsonArrayTests.cs" />
<Compile Include="JsonBooleanTests.cs" />
<Compile Include="JsonElementWithNodeParentTests.cs" />
<Compile Include="JsonObjectTests.cs" />
<Compile Include="JsonStringTests.cs" />
</ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\src\System\Text\Json\BitStack.cs" Link="BitStack.cs" />
+ </ItemGroup>
+ <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
+ <Compile Include="$(CommonPath)System\Buffers\ArrayBufferWriter.cs">
+ <Link>CommonTest\System\Buffers\ArrayBufferWriter.cs</Link>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
+ </ItemGroup>
</Project>
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.Runtime.Extensions\ref\System.Runtime.Extensions.csproj" />
<ProjectReference Include="..\..\System.Collections.NonGeneric\ref\System.Collections.NonGeneric.csproj" />
- </ItemGroup>
- <!-- Required for CompileToAssembly API -->
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <!-- Required for CompileToAssembly API -->
<ProjectReference Include="..\..\System.Reflection.Emit.ILGeneration\ref\System.Reflection.Emit.ILGeneration.csproj" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Text.RegularExpressions</AssemblyName>
- <DefineConstants Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">$(DefineConstants);FEATURE_COMPILED</DefineConstants>
- <DefineConstants Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">$(DefineConstants);FEATURE_COMPILEAPIS</DefineConstants>
+ <DefineConstants>$(DefineConstants);FEATURE_COMPILED</DefineConstants>
+ <DefineConstants>$(DefineConstants);FEATURE_COMPILEAPIS</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Configurations>$(NetCoreAppCurrent)-Debug;$(NetCoreAppCurrent)-Release</Configurations>
<Nullable>enable</Nullable>
<Compile Include="System\Text\RegularExpressions\RegexRunnerFactory.cs" />
<Compile Include="System\Text\RegularExpressions\RegexTree.cs" />
<Compile Include="System\Text\RegularExpressions\RegexWriter.cs" />
+ <!-- Files that enable compiled feature -->
+ <Compile Include="System\Text\RegularExpressions\CompiledRegexRunnerFactory.cs" />
+ <Compile Include="System\Text\RegularExpressions\CompiledRegexRunner.cs" />
+ <Compile Include="System\Text\RegularExpressions\RegexCompiler.cs" />
+ <Compile Include="System\Text\RegularExpressions\RegexLWCGCompiler.cs" />
<!-- Common or Common-branched source files -->
<Compile Include="$(CommonPath)System\NotImplemented.cs">
<Link>Common\System\NotImplemented.cs</Link>
</Compile>
<Compile Include="System\Text\ValueStringBuilder.Reverse.cs" />
</ItemGroup>
- <!-- Files that enable compiled feature -->
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
- <Compile Include="System\Text\RegularExpressions\CompiledRegexRunnerFactory.cs" />
- <Compile Include="System\Text\RegularExpressions\CompiledRegexRunner.cs" />
- <Compile Include="System\Text\RegularExpressions\RegexCompiler.cs" />
- <Compile Include="System\Text\RegularExpressions\RegexLWCGCompiler.cs" />
- </ItemGroup>
<ItemGroup>
<Reference Include="System.Buffers" />
<Reference Include="System.Collections" />
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.Extensions" />
<Reference Include="System.Threading" />
- </ItemGroup>
- <!-- References required for compiled feature -->
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <!-- References required for compiled feature -->
<Reference Include="System.Reflection.Emit.ILGeneration" />
<Reference Include="System.Reflection.Emit.Lightweight" />
<Reference Include="System.Reflection.Primitives" />
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<Reference Include="System.Runtime" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="../../System.Runtime/ref/System.Runtime.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<ItemGroup>
<Compile Include="System.Threading.Tasks.Dataflow.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard1.0' Or '$(TargetGroup)' == 'netstandard1.1'">
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0' Or '$(TargetFramework)' == 'netstandard1.1'">
<Reference Include="System.Runtime" />
<Reference Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="System.Windows.Extensions.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<ProjectReference Include="..\..\System.ComponentModel.TypeConverter\ref\System.ComponentModel.TypeConverter.csproj" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="..\..\System.ComponentModel.EventBasedAsync\ref\System.ComponentModel.EventBasedAsync.csproj" />
<ItemGroup>
<!-- identity project, runtime specific projects are included through netcoreapp.rids.props -->
- <Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetGroup)'=='$(NetCoreAppCurrent)'" />
+ <Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'" />
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove(dir.traversal.targets))" />
<PropertyGroup>
<TargetFrameworkName>netcoreapp</TargetFrameworkName>
- <TargetFrameworkVersion>5.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>$(NETCoreAppCurrentVersion)</TargetFrameworkVersion>
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
<RefBinDir>$(NETCoreAppPackageRefPath)</RefBinDir>
<LibBinDir>$(NETCoreAppPackageRuntimePath)</LibBinDir>
<ItemGroup>
<!-- identity project, runtime specific projects are included through netcoreapp.rids.props -->
- <Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetGroup)'=='$(NetCoreAppCurrent)'" />
+ <Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'" />
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove(dir.traversal.targets))" />
</ItemGroup>
<!-- This is to make sure that nothing unintended gets restored for netcoreapp. -->
- <ItemGroup Condition="'$(TargetGroup)' != '$(NetCoreAppCurrent)'">
+ <ItemGroup Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<!-- runtime dependency: System.Diagnostics.PerformanceCounters netcoreapp2.0,net461 -->
<PackageReference Include="System.Memory" Version="4.5.2" Condition="'$(TargetFramework)' == 'netcoreapp2.0' or '$(TargetsNetfx)' == 'true' or ('$(TargetsNetStandard)' == 'true' and '$(NETStandardVersion)' >= 1.1)" />
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" Condition="'$(TargetsNetStandardLowerThan21)' == 'true' or '$(TargetsNetfx)' == 'true'" />
<PackageReference Include="System.Memory" Condition="'$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46'">
<Version>4.5.2</Version>
</PackageReference>
- <PackageReference Include="System.Numerics.Vectors" Condition="'$(TargetGroup)' == 'net461' or '$(TargetGroup)' == '$(NetFrameworkCurrent)'">
+ <PackageReference Include="System.Numerics.Vectors" Condition="'$(TargetFramework)' == 'net461' or '$(TargetFramework)' == '$(NetFrameworkCurrent)'">
<Version>4.5.0</Version>
</PackageReference>
<PackageReference Include="$(NETStandardSupportPackageId)" Condition="'$(AddNetStandardSupportPackage)' == 'true'">
<Import Project="Directory.Build.props" />
<PropertyGroup>
- <ApiCompatTarget>$(TargetGroup)</ApiCompatTarget>
+ <ApiCompatTarget>$(TargetFramework)</ApiCompatTarget>
<ApiCompatTarget Condition="'$(TargetsNetCoreApp)' == 'true'">netcoreapp</ApiCompatTarget>
<ApiCompatResponseFile>$(IntermediateOutputPath)/apicompat.rsp</ApiCompatResponseFile>
<ApiCompatBaselineFile>$(MSBuildThisFileDirectory)ApiCompatBaseline.$(ApiCompatTarget).netfx461.txt</ApiCompatBaselineFile>
<WriteLinesToFile File="$(ApiCompatResponseFile)" Lines="$(ApiCompatArgs)" Overwrite="true" />
<Exec Command="$(_ApiCompatCommand) "@(NetFxReference -> '$(NetFxRefPath)%(Identity).dll')" $(BaselineApiCompatArgs) @"$(ApiCompatResponseFile)" > $(ApiCompatBaselineFile)"
- Condition="'$(TargetGroup)' == '$(NetCoreAppCurrent)' and '$(BaselineApiCompat)' == 'true'"
+ Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)' and '$(BaselineApiCompat)' == 'true'"
CustomErrorRegularExpression="^[a-zA-Z]+ :"
StandardOutputImportance="Low"
IgnoreExitCode="true"
<Output TaskParameter="ExitCode" PropertyName="ApiCompatExitCode" />
</Exec>
- <Error Condition="'$(ApiCompatExitCode)' != '0'" Text="ApiCompat failed comparing net472 to $(ApiCompatTarget)" />
+ <Error Condition="'$(ApiCompatExitCode)' != '0'" Text="ApiCompat failed comparing $(NetFrameworkCurrent) to $(TargetFramework)" />
<!--
<PropertyGroup>
<IsRuntimeAssembly>true</IsRuntimeAssembly>
- <!-- Use runtime assemblies for the TargetGroup, using build configuration OSGroup -->
- <RefPath>$(ArtifactsBinDir)runtime/$(TargetGroup)-$(_bc_OSGroup)-$(_bc_ConfigurationGroup)-$(ArchGroup)/</RefPath>
+ <!-- Use runtime assemblies for the TargetFramework, using build configuration OSGroup -->
+ <RefPath>$(ArtifactsBinDir)runtime/$(TargetFramework)-$(_bc_OSGroup)-$(_bc_ConfigurationGroup)-$(ArchGroup)/</RefPath>
<CoreCLROSGroup>$(_bc_OSGroup)</CoreCLROSGroup>
<CoreCLRConfiguration>$(_bc_ConfigurationGroup)</CoreCLRConfiguration>
</PropertyGroup>