一键导入
macos-apphost-naming
Avoid `.App` executable assembly names for runnable .NET samples on macOS
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Avoid `.App` executable assembly names for runnable .NET samples on macOS
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | macos-apphost-naming |
| description | Avoid `.App` executable assembly names for runnable .NET samples on macOS |
| domain | dotnet-samples |
| confidence | medium |
| source | earned while fixing Sample.Simplified startup |
macOS treats .app names specially. For runnable .NET projects, an executable assembly name that ends with .App can make dotnet run fail even though the underlying program and tests are otherwise healthy.
.App for console apps and samples that developers launch with dotnet rundotnet run --no-build and asserts a zero exit code plus a recognizable success stringsamples/Sample.Simplified/Sample.Simplified.App/Sample.Simplified.App.csproj
RootNamespace as Sample.Simplified.AppAssemblyName to Sample.Simplified.Demosamples/Sample.Simplified/Sample.Simplified.Tests/EndToEnd/StartupSmokeTests.csSomething.App and relying only on in-process unit tests; that misses the launch failure path that dotnet run exercises on macOSDrive package defaults, release packaging, and website version display from one MSBuild property
Validate every meaningful workflow_dispatch input combination before approving release-pipeline changes
Keep mixed validation/release GitHub workflow dispatch inputs from misrouting validation runs
Validate NuGet release artifacts before publish and ensure both package and symbol payloads are release-correct
Ship an Astro docs site to GitHub Pages with SEO, validation, and custom-domain safety checks
Keep repo-local .NET sample apps zero-config by avoiding native apphosts when macOS integrity enforcement can kill them