Add Opc.Ua.Core.Channels to the reference server Dockerfile restore layer

build-and-push-image (refserver) failed with NETSDK1004: the assets file for
Opc.Ua.Core.Channels was missing. The Dockerfile copies each csproj into the
restore layer by name so that layer caches independently of the sources, and
this PR gave Opc.Ua.Server a reference to the new project without adding it to
that list, so restore never saw it and the later --no-restore publish had no
assets file to read.

Verified locally by building the image end to end with docker build, both the
restore layer on its own and the full publish that CI runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5d026b47-265d-4c97-8715-26e207dfa03c
This commit is contained in:
Marc
2026-08-12 08:30:26 +02:00
co-authored by Copilot
parent c8a8a0959a
commit b6b7ccff1f
@@ -19,6 +19,7 @@ COPY ["src/Opc.Ua.Core.Types/Opc.Ua.Core.Types.csproj", "src/Opc.Ua.Core.Types/"
COPY ["src/Opc.Ua.Core/Opc.Ua.Core.csproj", "src/Opc.Ua.Core/"]
COPY ["src/Opc.Ua.Core.Schema/Opc.Ua.Core.Schema.csproj", "src/Opc.Ua.Core.Schema/"]
COPY ["src/Opc.Ua.Core.Diagnostics/Opc.Ua.Core.Diagnostics.csproj", "src/Opc.Ua.Core.Diagnostics/"]
COPY ["src/Opc.Ua.Core.Channels/Opc.Ua.Core.Channels.csproj", "src/Opc.Ua.Core.Channels/"]
COPY ["src/Opc.Ua.Types/Opc.Ua.Types.csproj", "src/Opc.Ua.Types/"]
COPY ["src/Opc.Ua.Security.Certificates/Opc.Ua.Security.Certificates.csproj", "src/Opc.Ua.Security.Certificates/"]
COPY ["src/Opc.Ua.Client/Opc.Ua.Client.csproj", "src/Opc.Ua.Client/"]