|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks> |
| 4 | + <TargetFrameworks>$(SilkTargetFramework)</TargetFrameworks> |
5 | 5 | <Nullable>enable</Nullable>
|
6 | 6 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
7 | 7 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
8 | 8 | <WarningsAsErrors>true</WarningsAsErrors>
|
9 | 9 | <LangVersion>9.0</LangVersion>
|
10 |
| - |
| 10 | + |
| 11 | + <!-- TODO sort this out! --> |
11 | 12 | <DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0'">$(DefineConstants);SSE</DefineConstants>
|
12 | 13 | <DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);BTEC_INTRINSICS;MATHF</DefineConstants>
|
13 | 14 | <DefineConstants Condition="'$(TargetFramework)' == 'net5.0'">$(DefineConstants);POH;AdvSIMD</DefineConstants>
|
|
16 | 17 | </PropertyGroup>
|
17 | 18 |
|
18 | 19 | <ItemGroup>
|
19 |
| - <PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.3"> |
| 20 | + <PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.0" /> |
| 21 | + <PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.1"> |
20 | 22 | <PrivateAssets>all</PrivateAssets>
|
21 | 23 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
22 | 24 | </PackageReference>
|
23 |
| - </ItemGroup> |
24 |
| - |
25 |
| - <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
26 |
| - <PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" /> |
27 |
| - </ItemGroup> |
28 |
| - |
29 |
| - <ItemGroup Condition="'$(TargetFramework)' != 'net5.0'"> |
30 | 25 | <PackageReference Include="Ultz.Bcl.Half" Version="1.0.0" />
|
31 | 26 | </ItemGroup>
|
32 |
| - |
33 |
| - <ItemGroup> |
34 |
| - <Compile Update="Scalar.As.cs"> |
35 |
| - <DesignTime>True</DesignTime> |
36 |
| - <AutoGen>True</AutoGen> |
37 |
| - <DependentUpon>Scalar.As.tt</DependentUpon> |
38 |
| - </Compile> |
39 |
| - </ItemGroup> |
40 |
| - |
41 |
| - <ItemGroup> |
42 |
| - <None Update="Scalar.As.tt"> |
43 |
| - <Generator>TextTemplatingFileGenerator</Generator> |
44 |
| - <LastGenOutput>Scalar.As.cs</LastGenOutput> |
45 |
| - </None> |
46 |
| - </ItemGroup> |
47 |
| - |
| 27 | + |
48 | 28 | <ItemGroup>
|
49 |
| - <Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> |
| 29 | + <AdditionalFiles Include="PublicAPI.Shipped.txt" /> |
| 30 | + <AdditionalFiles Include="PublicAPI.Unshipped.txt" /> |
50 | 31 | </ItemGroup>
|
51 |
| - |
52 |
| - <Import Project="..\..\..\build\props\common.props" /> |
53 | 32 | </Project>
|
0 commit comments