forked from richlander/dotnet-inspect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
17 lines (17 loc) · 1.04 KB
/
Copy pathDirectory.Build.props
File metadata and controls
17 lines (17 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project>
<PropertyGroup>
<!--
The official non-AOT "any" fallback package targets the LTS floor (net10.0) so
it installs and runs on machines that only have the LTS runtime. Everything else
(dev, test, and the RID-specific Native AOT packages) uses the latest runtime so
daily development dogfoods it and surfaces runtime bugs early. The "any" package
is the only managed-runtime artifact we ship, so it is the only one that needs the
conservative floor. Keyed on OfficialBuild + non-AOT (rather than a CLI override)
so an accidental `dotnet pack -r any` can't silently ship a net11.0 fallback. See
issue #240.
-->
<DefaultTargetFramework Condition="'$(DefaultTargetFramework)' == '' and '$(OfficialBuild)' == 'true' and '$(PublishAot)' == 'false'">net10.0</DefaultTargetFramework>
<DefaultTargetFramework Condition="'$(DefaultTargetFramework)' == ''">net$(NETCoreAppMaximumVersion)</DefaultTargetFramework>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
</PropertyGroup>
</Project>