diff --git a/.ado/publish.yml b/.ado/publish.yml index 4e322c02..33399a10 100644 --- a/.ado/publish.yml +++ b/.ado/publish.yml @@ -77,6 +77,8 @@ jobs: --runtime ${{ matrixEntry.TargetRuntime }} --no-self-contained --framework $(DotNetMoniker) + -p:PublishAot=true + $(Build.SourcesDirectory)/src/NodeApi/NodeApi.csproj displayName: Build Native AOT binaries env: TargetFrameworks: $(DotNetMoniker)