Skip to content

File based apps document has incorrect shebang recommendation #52993

@jhudsoncedaron

Description

@jhudsoncedaron

Type of issue

Code doesn't work

Description

This document: https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps

Reads: #!/usr/bin/env dotnet

Should read #!/usr/bin/env -S dotnet --

I originally thought it was busted in the code due to not finding a working invocation, but no, the one thing I didn't think of works. You can see some of the things I tried and wasted time on here: dotnet/sdk#53810 (comment)

Page URL

https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/sdk/file-based-apps.md

Document Version Independent Id

d03da876-f782-a111-02b5-b87b2cedad11

Platform Id

bd9ae45e-1b55-0e01-0514-29c5f6c34d94

Article author

gewarren

Metadata

  • ID: 646ac25f-6d99-4dfe-e8b3-d7de28a502ae
  • PlatformId: bd9ae45e-1b55-0e01-0514-29c5f6c34d94
  • Service: dotnet-fundamentals

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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