Skip to content

Commit 157f1db

Browse files
authored
Reverts #3122 (b8ef22b). (#3143)
This is no longer needed #3122 (comment).
1 parent fc94759 commit 157f1db

File tree

3 files changed

+31
-42
lines changed

3 files changed

+31
-42
lines changed

src/benchmarks/micro/MicroBenchmarks.Common.props

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/benchmarks/micro/MicroBenchmarks.Mono.props

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/benchmarks/micro/MicroBenchmarks.csproj

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,37 @@
2020
<!-- Allow building with one major version, and running using a sdk with a higher major version -->
2121
<RollForward Condition="'$(BuildingForWasm)' == 'true'">LatestMajor</RollForward>
2222
</PropertyGroup>
23-
24-
<Import Project="$(MSBuildThisFileDirectory)MicroBenchmarks.Common.props" />
25-
23+
<!-- out-of-band packages that are not included in NetCoreApp have TFM-specific versions -->
24+
<Choose>
25+
<When Condition="'$(TargetFramework)' == 'net6.0'">
26+
<PropertyGroup>
27+
<LangVersion>10.0</LangVersion>
28+
<ExtensionsVersion>6.0.0</ExtensionsVersion>
29+
<SystemVersion>6.0.0</SystemVersion>
30+
</PropertyGroup>
31+
</When>
32+
<When Condition="'$(TargetFramework)' == 'net7.0'">
33+
<PropertyGroup>
34+
<LangVersion>11.0</LangVersion>
35+
<ExtensionsVersion>7.0.0</ExtensionsVersion>
36+
<SystemVersion>7.0.0</SystemVersion>
37+
</PropertyGroup>
38+
</When>
39+
<When Condition="'$(TargetFramework)' == 'net8.0'">
40+
<PropertyGroup>
41+
<LangVersion>preview</LangVersion>
42+
<ExtensionsVersion>8.0.*-*</ExtensionsVersion>
43+
<SystemVersion>8.0.*-*</SystemVersion>
44+
</PropertyGroup>
45+
</When>
46+
<Otherwise>
47+
<!-- when comparing against Full .NET Framework we are usually interested in CLR differences, so net462 belongs to this block -->
48+
<PropertyGroup>
49+
<ExtensionsVersion>7.0.0</ExtensionsVersion>
50+
<SystemVersion>7.0.0</SystemVersion>
51+
</PropertyGroup>
52+
</Otherwise>
53+
</Choose>
2654
<ItemGroup>
2755
<PackageReference Include="Jil" Version="3.0.0-alpha2" />
2856
<PackageReference Include="MessagePack" Version="1.9.11" />

0 commit comments

Comments
 (0)