Skip to content

question #54740

Description

@Wfvole

Type of issue

Code does not work

Description

#!/usr/bin/env dotnet
#:package Spectre.Console@*

AnsiConsole.MarkupLine("[bold green]Hello[/] from a file-based app!");

Page URL

https://learn.microsoft.com/zh-cn/dotnet/csharp/fundamentals/program-structure/preprocessor-directives

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/fundamentals/program-structure/preprocessor-directives.md

Document Version Independent Id

4a6e18d2-69d2-d6dd-fea7-fb614eb25608

Platform Id

bf13d333-e490-aaf5-2c38-45eedcadd810

Article author

@BillWagner

Metadata

  • ID: 90811e19-baf6-0f55-7863-f42b10bd0513
  • PlatformId: bf13d333-e490-aaf5-2c38-45eedcadd810
  • Service: dotnet-csharp
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions