diff --git a/docs/csharp/language-reference/preprocessor-directives.md b/docs/csharp/language-reference/preprocessor-directives.md index ec1d766d85caa..930ab1fadc953 100644 --- a/docs/csharp/language-reference/preprocessor-directives.md +++ b/docs/csharp/language-reference/preprocessor-directives.md @@ -66,10 +66,18 @@ The `#:` directives that are used in file-based apps include: - `#:sdk`: - The first instance specifies the value for the `` node. Subsequent instances specify the `` node. The version can be omitted. For example: + The first instance specifies the value for the `` node. Subsequent instances specify the `` node. The version can be omitted (i.e. if specified in global.json or included in .NET SDK). For example: ```csharp #:sdk Microsoft.NET.Sdk.Web + #:sdk Aspire.AppHost.Sdk@9.4.1 + ``` + + The two preceding preprocessors is translated into: + + ```xml + + ``` - `#:property`: