After every `dotnet publish -c Release`, the single-file binaries land in C:\ASTERION\GIT\PS_Launcher\ next to PS_Launcher.sln so they can be launched directly without digging into bin/Release/.../publish/. Implemented as an MSBuild AfterTargets="Publish" target on each csproj (PSLauncher.App, PSLauncher.Updater) using $(MSBuildThisFileDirectory) to resolve the repo root portably. Condition='Release' so debug builds don't pollute the root. .gitignore covers /PSLauncher.exe and /PSLauncher.Updater.exe so the committed tree stays clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
567 B
567 B