Csharp File Based Apps

Use this skill whenever the user is working with C# file-based apps on the latest .NET, including single-file C# programs run with `dotnet run file.cs`, `dotnet file.cs`, or stdin, `#:` directives such as `#:package`, `#:property`, `#:project`, `#:sdk`, and `#:include`, converting utility scripts into file-based apps, packaging them as .NET tools, publishing with Native AOT, or troubleshooting cache, launch profile, and folder layout issues. Trigger even when the user only says "single-file C# app", "projectless C# script", or asks how to run a .cs file directly without creating a .csproj.

tsubakimoto c876a67 2 files · 12.5 KB Updated

File contents

tsubakimoto/skills/tree/main/csharp-file-based-apps commit c876a6729c

Frequently asked questions

npx skillmds@latest add tsubakimoto/csharp-file-based-apps