diff --git a/samples/on-demand-sandbox/main-app/main-app.csproj b/samples/on-demand-sandbox/main-app/main-app.csproj index 72878b23..4c3d4f57 100644 --- a/samples/on-demand-sandbox/main-app/main-app.csproj +++ b/samples/on-demand-sandbox/main-app/main-app.csproj @@ -10,16 +10,14 @@ + + + + - - - - - - diff --git a/samples/on-demand-sandbox/remote-worker/Containerfile b/samples/on-demand-sandbox/remote-worker/Containerfile index 99267aa4..f303200f 100644 --- a/samples/on-demand-sandbox/remote-worker/Containerfile +++ b/samples/on-demand-sandbox/remote-worker/Containerfile @@ -4,7 +4,9 @@ FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src ARG TARGETARCH -COPY . /src/durabletask-dotnet +COPY samples/Directory.Build.props samples/Directory.Packages.props /src/durabletask-dotnet/samples/ +COPY Directory.Build.props Directory.Packages.props global.json nuget.config /src/durabletask-dotnet/ +COPY samples/on-demand-sandbox /src/durabletask-dotnet/samples/on-demand-sandbox WORKDIR /src/durabletask-dotnet/samples/on-demand-sandbox/remote-worker RUN case "$TARGETARCH" in \ @@ -18,6 +20,7 @@ RUN case "$TARGETARCH" in \ --self-contained false \ -o /app/publish \ --configfile /src/durabletask-dotnet/nuget.config \ + /p:SignAssembly=false \ /p:DebugSymbols=false \ /p:DebugType=None \ && find /app/publish -type f \( -name '*.xml' -o -name '*.pdb' \) -delete diff --git a/samples/on-demand-sandbox/remote-worker/remote-worker.csproj b/samples/on-demand-sandbox/remote-worker/remote-worker.csproj index 9a9a6aca..772c0455 100644 --- a/samples/on-demand-sandbox/remote-worker/remote-worker.csproj +++ b/samples/on-demand-sandbox/remote-worker/remote-worker.csproj @@ -10,13 +10,12 @@ + + - - -