From b6b7ccff1f464dfecbdd9b5ba15b9afaa94e4776 Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 12 Aug 2026 08:30:26 +0200 Subject: [PATCH] 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 --- samples/ConsoleReferenceServer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/ConsoleReferenceServer/Dockerfile b/samples/ConsoleReferenceServer/Dockerfile index a6d3d2c7da..499de6d7ab 100644 --- a/samples/ConsoleReferenceServer/Dockerfile +++ b/samples/ConsoleReferenceServer/Dockerfile @@ -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/"]