Fix Launcher packaging for net8/x64; doc + gitignore updates

build.bat was broken by the contract extraction: it staged the loose Launcher
.cs files into temp folders and published from there, but the projects now have
a ProjectReference to ..\Contract\Tesla.Contract.csproj which cannot resolve from
a temp dir. Publish the projects IN PLACE instead, and target net8 / win-x64
(self-contained single-file) to match the runtime/arch uplift. The resulting
TeslaLauncher\ package (Service\ + Agent\ + install.bat) installs on a pod with
no .NET runtime prerequisite.

- Launcher/README.md: correct net6->net8, x86->x64, BinaryFormatter->framed JSON,
  and note wire types now come from ../Contract.
- Launcher/.gitignore: ignore the TeslaLauncher-*.zip deployment package.
- Console/.gitignore: ignore the published TeslaConsole-app\ package + its zip
  (framework-dependent net48 console build for running against a test pod).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-06-30 08:30:13 -05:00
co-authored by Claude Opus 4.8
parent b9d8027cf6
commit a7aafaa9e9
4 changed files with 69 additions and 107 deletions
+4
View File
@@ -2,6 +2,10 @@
[Bb]in/
[Oo]bj/
# Packaged runnable console (dotnet publish output) + its zip
/TeslaConsole-app/
/TeslaConsole-app*.zip
# IDE / OS
.vs/
.vscode/