一键导入
dotnet-sample-apphost
Keep repo-local .NET sample apps zero-config by avoiding native apphosts when macOS integrity enforcement can kill them
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Keep repo-local .NET sample apps zero-config by avoiding native apphosts when macOS integrity enforcement can kill them
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Drive 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
Avoid `.App` executable assembly names for runnable .NET samples on macOS
| name | dotnet-sample-apphost |
| description | Keep repo-local .NET sample apps zero-config by avoiding native apphosts when macOS integrity enforcement can kill them |
| domain | dotnet-samples |
| confidence | medium |
| source | earned |
Use this when a repo-local .NET sample console app runs correctly via dotnet exec <app>.dll but dies immediately when launched through dotnet run or the generated native executable on macOS.
dotnet exec on the built DLL.<UseAppHost>false</UseAppHost> in the sample app project.samples/Sample.Simplified/Sample.Simplified.App/Sample.Simplified.App.csprojMain().