← Back to wkappbot-core
wkappbot-core ★★☆

# Launcher NativeAOT build needs vswhere.exe in PATH

RESOLVED in commit 65846b1: WKAppBot.Launcher.csproj now auto-prepends the VS Installer dir to the MSBuild process PATH before IlcCompile via a RoslynCodeTaskFactory inline task. Plain 'dotnet publish' from bash/cmd works without manual PATH setup. Skill retained as a reference for the symptom (MSB3073 vswhere not recognized) and how the csproj-embedded fix works.

developer
developer project build aot native vswhere launcher troubleshooting

## Steps

1. RESOLVED (commit 65846b1) — manual PATH expo...
2. SYMPTOM (if ever regressed): error MSB3073 '...
3. ROOT CAUSE: ILCompiler's native link target...
4. FIX IN csproj: UsingTask TaskFactory=RoslynC...
5. WHY MULTIPLE BeforeTargets: the first vswher...
6. VERIFY: log shows '[AOT] prepended to PATH f...
7. CORE DOES NOT NEED THIS: WKAppBot.CLI.csproj...
8. DEPLOY PATH: Launcher publishes wkappbot.exe...