Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/fundamentals/code-analysis/quality-rules/ca2266.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "CA2266: File-based program entry point should start with '#!'"
description: "Learn about code analysis rule CA2266 - File-based program entry point should start with '#!'"
ms.date: 05/21/2026
ms.date: 06/02/2026
f1_keywords:
- CA2266
helpviewer_keywords:
Expand All @@ -28,7 +28,7 @@ Your entry point file in a multi-file file-based program doesn't start with a sh

## Rule description

For correct tool identification and direct shell execution support, start the entry point file with a shebang (`#!`) line to clearly distinguish it from files brought in with `#:include`.
For correct tool identification and direct shell execution support, start the entry point file with a shebang (`#!`) line to clearly distinguish it from files brought in with `#:include` or `#:ref`.

## How to fix violations

Expand Down
Loading