From dba282642cedf0f1fcb9cd4f2d9c2b827c1f5ed4 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 5 Apr 2023 14:55:43 -0700 Subject: [PATCH] Add missing step to native AOT dev workflow instructions (#84381) --- docs/workflow/building/coreclr/nativeaot.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/workflow/building/coreclr/nativeaot.md b/docs/workflow/building/coreclr/nativeaot.md index 401fb8c20f9..f13368867af 100644 --- a/docs/workflow/building/coreclr/nativeaot.md +++ b/docs/workflow/building/coreclr/nativeaot.md @@ -29,6 +29,7 @@ The component that writes out object files (objwriter.dll/libobjwriter.so/libobj Run `build[.cmd|.sh] -c Release` from the repo root to build the NativeAOT toolchain packages. The build will place the toolchain packages at `artifacts\packages\Release\Shipping`. To publish your project using these packages: * Add the package directory to your `nuget.config` file. For example, add `` +* Run `dotnet add package Microsoft.DotNet.ILCompiler -v 8.0.0-dev` to add the local package reference to your project. * Run `dotnet publish --packages pkg -r [win-x64|linux-x64|osx-64] -c [Debug|Release]` to publish your project. `--packages pkg` option restores the package into a local directory that is easy to cleanup once you are done. It avoids polluting the global nuget cache with your locally built dev package. ## High Level Overview -- GitLab