|
6 | 6 | <RootNamespace>System.Numerics</RootNamespace> |
7 | 7 | <DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile> |
8 | 8 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
9 | | - <IsPartialFacadeAssembly Condition="'$(TargetGroup)'=='netfx' OR '$(TargetGroup)'=='net46'">true</IsPartialFacadeAssembly> |
| 9 | + <IsTargetingNetFx Condition="'$(TargetGroup)'=='netfx' OR '$(TargetGroup)'=='net46'">true</IsTargetingNetFx> |
| 10 | + <IsTargetingNetCoreApp Condition="'$(TargetGroup)'=='netcoreapp'">true</IsTargetingNetCoreApp> |
| 11 | + <IsPartialFacadeAssembly Condition="'$(IsTargetingNetFx)'=='true' OR '$(IsTargetingNetCoreApp)'=='true'">true</IsPartialFacadeAssembly> |
10 | 12 | <PackageTargetFramework Condition="'$(TargetGroup)' == 'netstandard1.0'">netstandard1.0;portable-net45+win8+wp8+wpa81</PackageTargetFramework> |
11 | 13 | </PropertyGroup> |
12 | 14 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46-Debug|AnyCPU'" /> |
13 | 15 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46-Release|AnyCPU'" /> |
14 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" /> |
15 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" /> |
| 16 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" /> |
| 17 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" /> |
| 18 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" /> |
| 19 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" /> |
16 | 20 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Windows_NT-Debug|AnyCPU'" /> |
17 | 21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Windows_NT-Release|AnyCPU'" /> |
18 | 22 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" /> |
|
26 | 30 | <Compile Include="$(CommonPath)\System\Numerics\Hashing\HashHelpers.cs"> |
27 | 31 | <Link>Common\System\Numerics\Hashing\HashHelpers.cs</Link> |
28 | 32 | </Compile> |
| 33 | + <Compile Include="$(CommonPath)\CoreLib\System\Runtime\CompilerServices\IntrinsicAttribute.cs"> |
| 34 | + <Link>System\Runtime\CompilerServices\IntrinsicAttribute.cs</Link> |
| 35 | + </Compile> |
| 36 | + </ItemGroup> |
| 37 | + <!-- On .NET Core, Vector<T> is in System.Private.CoreLib --> |
| 38 | + <ItemGroup Condition="'$(IsTargetingNetCoreApp)' != 'true'"> |
29 | 39 | <Compile Include="$(CommonPath)\CoreLib\System\Numerics\ConstantHelper.cs"> |
30 | 40 | <AutoGen>True</AutoGen> |
31 | 41 | <DesignTime>True</DesignTime> |
32 | 42 | <DependentUpon>ConstantHelper.tt</DependentUpon> |
33 | 43 | <Link>System\Numerics\ConstantHelper.cs</Link> |
34 | 44 | </Compile> |
35 | | - <Compile Include="$(CommonPath)\CoreLib\System\Runtime\CompilerServices\IntrinsicAttribute.cs"> |
36 | | - <Link>System\Runtime\CompilerServices\IntrinsicAttribute.cs</Link> |
37 | | - </Compile> |
38 | 45 | <Compile Include="$(CommonPath)\CoreLib\System\Numerics\Register.cs"> |
39 | 46 | <AutoGen>True</AutoGen> |
40 | 47 | <DesignTime>True</DesignTime> |
|
52 | 59 | </Compile> |
53 | 60 | </ItemGroup> |
54 | 61 | <!-- Carry a copy of MathF where not available --> |
55 | | - <ItemGroup Condition="'$(IsPartialFacadeAssembly)' == 'true' OR $(TargetGroup.StartsWith('netstandard'))"> |
| 62 | + <ItemGroup Condition="'$(IsTargetingNetFx)' == 'true' OR $(TargetGroup.StartsWith('netstandard'))"> |
56 | 63 | <Compile Include="$(CommonPath)\System\MathF.netstandard.cs"> |
57 | 64 | <Link>System\MathF.netstandard.cs</Link> |
58 | 65 | </Compile> |
59 | 66 | </ItemGroup> |
60 | 67 | <!-- Portable version only --> |
61 | | - <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true'"> |
| 68 | + <ItemGroup Condition="'$(IsTargetingNetFx)' != 'true'"> |
62 | 69 | <Compile Include="System\Numerics\Matrix3x2.cs" /> |
63 | 70 | <Compile Include="System\Numerics\Matrix4x4.cs" /> |
64 | 71 | <Compile Include="System\Numerics\Plane.cs" /> |
|
70 | 77 | <Compile Include="System\Numerics\Vector4.cs" /> |
71 | 78 | <Compile Include="System\Numerics\Vector4_Intrinsics.cs" /> |
72 | 79 | </ItemGroup> |
73 | | - <ItemGroup Condition="'$(IsPartialFacadeAssembly)' == 'true'"> |
| 80 | + <ItemGroup Condition="'$(IsTargetingNetFx)' == 'true'"> |
74 | 81 | <Reference Include="mscorlib" /> |
75 | 82 | <Reference Include="System.Numerics" /> |
76 | 83 | </ItemGroup> |
|
93 | 100 | <LastGenOutput>Vector.cs</LastGenOutput> |
94 | 101 | <Link>System\Numerics\Vector.tt</Link> |
95 | 102 | </Content> |
| 103 | + </ItemGroup> |
| 104 | + <ItemGroup Condition="'$(IsTargetingNetCoreApp)' == 'true'"> |
| 105 | + <ReferenceFromRuntime Include="System.Private.CoreLib" /> |
| 106 | + </ItemGroup> |
| 107 | + <ItemGroup Condition="'$(IsTargetingNetCoreApp)' != 'true'"> |
96 | 108 | <Reference Include="System.Diagnostics.Tools" /> |
97 | 109 | <Reference Include="System.Globalization" /> |
98 | 110 | <Reference Include="System.Resources.ResourceManager" /> |
|
0 commit comments