From 493a0ba613367233019141541807c1a9fba1f652 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Thu, 30 Apr 2026 13:41:44 -0400 Subject: [PATCH] build: copy Server appsettings.json to publish output Microsoft.NET.Sdk doesn't auto-include appsettings.json the way Web SDK does, so dotnet publish was leaving it behind. Without it next to the EXE the Windows-service-mode host can't find Node + ConfigDb config and the install scripts had to copy it by hand. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/ZB.MOM.WW.OtOpcUa.Server/ZB.MOM.WW.OtOpcUa.Server.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ZB.MOM.WW.OtOpcUa.Server/ZB.MOM.WW.OtOpcUa.Server.csproj b/src/ZB.MOM.WW.OtOpcUa.Server/ZB.MOM.WW.OtOpcUa.Server.csproj index 70a6035..fe9880c 100644 --- a/src/ZB.MOM.WW.OtOpcUa.Server/ZB.MOM.WW.OtOpcUa.Server.csproj +++ b/src/ZB.MOM.WW.OtOpcUa.Server/ZB.MOM.WW.OtOpcUa.Server.csproj @@ -51,6 +51,10 @@ + + + +