davidortinau/sentencestudio/aspire-maui-bundle-shim
Claude Code and agent skill by davidortinau/sentencestudio
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install davidortinau/sentencestudio/aspire-maui-bundle-shimSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Skill: Aspire.Hosting.Maui bundle-name shim (MSBuild post-build)
When to use
A .NET MAUI project orchestrated by Aspire silently fails to launch (resource state goes to Exited / Failed, no console logs, exit code 1) and the project's <ApplicationTitle> differs from $(MSBuildProjectName).
Cause: Aspire.Hosting.Maui (≤ 13.3.0-preview) computes the bundle path as bin/$(Configuration)/$(TargetFramework)/<rid>/$(MSBuildProjectName).app and calls open -a on it. The MAUI build actually produces $(ApplicationTitle).app, so the file isn't found.
Fix (Mac Catalyst)
Add this target to the MAUI project's csproj:
Key facts
$(_AppBundleName)is set by the Xamarin/MAUI Shared SDK target
_GenerateBundleName and reflects the actual produced bundle name.
- For Mac Catalyst,
$(OutputPath)is already
bin/$(Config)/net10.0-maccatalyst/$(RuntimeIdentifier)/. Appending $(RuntimeIdentifier) again produces a doubled-RID path and the Exists() guard silently skips the Exec. Always check with dotnet build -v:diag and grep for the target name.
ln -sfnis idempotent — safe on rebuild.- Survives
dotnet cleanbecause the target is part of the normal Build chain.
iOS / other Apple platforms
Same pattern applies; gate the target on the appropriate TFM. iOS device builds may need the symlink in the Payload/ IPA directory instead of the plain .app directory — verify per-platform path before extending blindly.
Remove when
Aspire.Hosting.Maui exposes a bundle-name override API. Track upstream; delete the target and its XML comment when available.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/skills/aspire-maui-bundle-shim/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/davidortinau/sentencestudio/aspire-maui-bundle-shim)