Skip to content

Commit e869710

Browse files
committed
fix: Fixed possible warning for IsAotCompatible.
1 parent 8c424cf commit e869710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenAI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</ItemGroup>
8383

8484
<PropertyGroup Label="Trimmable" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
85-
<IsAotCompatible>true</IsAotCompatible>
85+
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
8686
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
8787
<IsTrimmable>true</IsTrimmable>
8888
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>

0 commit comments

Comments
 (0)