We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dotnet new
1 parent 48463b2 commit 85856f2Copy full SHA for 85856f2
aspnetcore/grpc/native-aot.md
@@ -30,10 +30,10 @@ AOT compilation happens when the app is published. Native AOT is enabled with th
30
31
[!code-xml[](~/grpc/native-aot/Server.csproj?highlight=5)]
32
33
- Native AOT can also be enabled by specifying the `-aot` option with the ASP.NET Core gRPC template:
+ Native AOT can also be enabled by specifying the `--aot` option with the ASP.NET Core gRPC template:
34
35
```dotnetcli
36
- dotnet new grpc -aot
+ dotnet new grpc --aot
37
```
38
39
2. Publish the app for a specific [runtime identifier (RID)](/dotnet/core/rid-catalog) using `dotnet publish -r <RID>`.
0 commit comments