Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/benchmarks/micro/MicroBenchmarks.Common.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project>
<!-- Shared with the autogenerated project -->

<!-- out-of-band packages that are not included in NetCoreApp have TFM-specific versions -->
<Choose>
<When Condition="'$(TargetFramework)' == 'net6.0'">
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<ExtensionsVersion>6.0.0</ExtensionsVersion>
<SystemVersion>6.0.0</SystemVersion>
</PropertyGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net7.0'">
<PropertyGroup>
<LangVersion>11.0</LangVersion>
<ExtensionsVersion>7.0.0</ExtensionsVersion>
<SystemVersion>7.0.0</SystemVersion>
</PropertyGroup>
</When>
<Otherwise>
<!-- when comparing against Full .NET Framework we are usually interested in CLR differences, so net462 belongs to this block -->
<PropertyGroup>
<ExtensionsVersion>7.0.0</ExtensionsVersion>
<SystemVersion>7.0.0</SystemVersion>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>
4 changes: 4 additions & 0 deletions src/benchmarks/micro/MicroBenchmarks.Mono.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Project>
<!-- Shared with the autogenerated project -->
<Import Project="*Common.props" />
</Project>
27 changes: 3 additions & 24 deletions src/benchmarks/micro/MicroBenchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,9 @@
<!-- Allow building with one major version, and running using a sdk with a higher major version -->
<RollForward Condition="'$(BuildingForWasm)' == 'true'">LatestMajor</RollForward>
</PropertyGroup>
<!-- out-of-band packages that are not included in NetCoreApp have TFM-specific versions -->
<Choose>
<When Condition="'$(TargetFramework)' == 'net6.0'">
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<ExtensionsVersion>6.0.0</ExtensionsVersion>
<SystemVersion>6.0.0</SystemVersion>
</PropertyGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net7.0'">
<PropertyGroup>
<LangVersion>11.0</LangVersion>
<ExtensionsVersion>7.0.0</ExtensionsVersion>
<SystemVersion>7.0.0</SystemVersion>
</PropertyGroup>
</When>
<Otherwise>
<!-- when comparing against Full .NET Framework we are usually interested in CLR differences, so net462 belongs to this block -->
<PropertyGroup>
<ExtensionsVersion>7.0.0</ExtensionsVersion>
<SystemVersion>7.0.0</SystemVersion>
</PropertyGroup>
</Otherwise>
</Choose>

<Import Project="$(MSBuildThisFileDirectory)MicroBenchmarks.Common.props" />

<ItemGroup>
<PackageReference Include="Jil" Version="3.0.0-alpha2" />
<PackageReference Include="MessagePack" Version="1.9.11" />
Expand Down