Fix platform benchmarks TFM (#2868)
This commit is contained in:
parent
1a43e67542
commit
80b30b21ee
|
|
@ -1,19 +1,17 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
<TargetFramework Condition="'$(BenchmarksTargetFramework)' != ''">$(BenchmarksTargetFramework)</TargetFramework>
|
<TargetFramework Condition="'$(BenchmarksTargetFramework)' != ''">$(BenchmarksTargetFramework)</TargetFramework>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<!-- Prevent the SDK from validating the supported tfm. Can be removed when a new SDK supporting netcoreapp2.2 is available. -->
|
|
||||||
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Utf8Json" Version="$(Utf8JsonPackageVersion)" />
|
<PackageReference Include="Utf8Json" Version="$(Utf8JsonPackageVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- These references are used when running locally -->
|
<!-- These references are used when running locally -->
|
||||||
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
||||||
<ProjectReference Include="..\..\src\Kestrel\Kestrel.csproj" />
|
<ProjectReference Include="..\..\src\Kestrel\Kestrel.csproj" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue