Skip to content
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions build/Common.prod.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">false</EnablePackageValidation>
</PropertyGroup>

<PropertyGroup Label="TrimAndAotCompatibility"
Condition="'$(IsAotCompatible)' == '' AND $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<!-- Note: Production libraries are marked AOT (and trim) compatible for .NET
targets greater than net7.0. This enables the trim, AOT, and single-file
analyzers for those targets. -->
Comment thread
martincostello marked this conversation as resolved.
Outdated
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>

<PropertyGroup Label="PackageProperties">
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/open-telemetry/opentelemetry-dotnet</RepositoryUrl>
Expand Down