Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions samples/on-demand-sandbox/main-app/main-app.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.DurableTask.Client.AzureManaged" VersionOverride="1.25.0-preview.2" />
<PackageReference Include="Microsoft.DurableTask.Client.AzureManaged.Sandboxes" VersionOverride="1.25.0-preview.2" />
<PackageReference Include="Microsoft.DurableTask.Worker.AzureManaged" VersionOverride="1.25.0-preview.2" />
<PackageReference Include="Microsoft.DurableTask.Generators" VersionOverride="2.1.0-preview.2" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
Comment thread
YunchuWang marked this conversation as resolved.

<ItemGroup>
<ProjectReference Include="$(SrcRoot)Client/AzureManaged/Client.AzureManaged.csproj" />
<ProjectReference Include="$(SrcRoot)Client/AzureManaged.Sandboxes/Client.AzureManaged.Sandboxes.csproj" />
<ProjectReference Include="$(SrcRoot)Worker/AzureManaged/Worker.AzureManaged.csproj" />
<ProjectReference Include="$(SrcRoot)Worker/AzureManaged.Sandboxes/Worker.AzureManaged.Sandboxes.csproj" />
<ProjectReference Include="..\shared\shared.csproj" />
<ProjectReference Include="$(SrcRoot)Analyzers/Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(SrcRoot)Generators/Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

</Project>
5 changes: 4 additions & 1 deletion samples/on-demand-sandbox/remote-worker/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions samples/on-demand-sandbox/remote-worker/remote-worker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.DurableTask.Worker.AzureManaged" VersionOverride="1.25.0-preview.2" />
<PackageReference Include="Microsoft.DurableTask.Worker.AzureManaged.Sandboxes" VersionOverride="1.25.0-preview.2" />
</ItemGroup>
Comment thread
YunchuWang marked this conversation as resolved.

<ItemGroup>
<ProjectReference Include="$(SrcRoot)Worker/AzureManaged/Worker.AzureManaged.csproj" />
<ProjectReference Include="$(SrcRoot)Worker/AzureManaged.Sandboxes/Worker.AzureManaged.Sandboxes.csproj" />
<ProjectReference Include="..\shared\shared.csproj" />
<ProjectReference Include="$(SrcRoot)Analyzers/Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

</Project>
Loading