-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
16 lines (16 loc) · 941 Bytes
/
Directory.Build.props
File metadata and controls
16 lines (16 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Project>
<!-- The main purpose of this file is to prevent use of the root Directory.Build.props file,
because Benchmark.NET does not like the build output paths to be redirected. -->
<PropertyGroup Condition="'$(TargetFramework)' == ''">
<IsDotNet10SdkAvailable Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(MSBuildVersion)', '17.15'))">true</IsDotNet10SdkAvailable>
<TargetFrameworks>net9.0;net8.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(IsDotNet10SdkAvailable)' == 'true'">net10.0;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net472</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<PackRelease>false</PackRelease>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
</Project>