Skip to content

Commit 4dd97c4

Browse files
authored
Enable NativeAOT analyzers (microsoft#1534)
1 parent 0a34c76 commit 4dd97c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/csharp/Microsoft.ML.OnnxRuntimeGenAI.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1717
<SignAssembly>true</SignAssembly>
1818
<AssemblyOriginatorKeyFile>onnxruntime-genai.snk</AssemblyOriginatorKeyFile>
19+
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
1920

2021
<!--internal build related properties-->
2122
<SrcRoot>$(ProjectDir)..\..\src</SrcRoot>

0 commit comments

Comments
 (0)