diff --git a/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/AgentWithHostedMCP.csproj b/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/AgentWithHostedMCP.csproj index 3245501e..8b009bcd 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/AgentWithHostedMCP.csproj +++ b/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/AgentWithHostedMCP.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable @@ -12,10 +12,10 @@ - + - - + + diff --git a/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/Dockerfile b/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/Dockerfile index 776f8104..1da9eec5 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/Dockerfile +++ b/samples/microsoft/hosted-agents/csharp/AgentWithHostedMCP/Dockerfile @@ -1,5 +1,5 @@ # Build the application -FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build WORKDIR /src # Copy files from the current directory on the host to the working directory in the container @@ -10,7 +10,7 @@ RUN dotnet build -c Release --no-restore RUN dotnet publish -c Release --no-build -o /app # Run the application -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS final WORKDIR /app # Copy everything needed to run the app from the "build" stage. diff --git a/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj b/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj index b2f19a26..4d9d2964 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj +++ b/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable @@ -10,10 +10,10 @@ - + - - + + diff --git a/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/Dockerfile b/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/Dockerfile index b494ad22..dfb2f9b9 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/Dockerfile +++ b/samples/microsoft/hosted-agents/csharp/AgentWithTextSearchRag/Dockerfile @@ -1,5 +1,5 @@ # Build the application -FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build WORKDIR /src # Copy files from the current directory on the host to the working directory in the container @@ -10,7 +10,7 @@ RUN dotnet build -c Release --no-restore RUN dotnet publish -c Release --no-build -o /app # Run the application -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS final WORKDIR /app # Copy everything needed to run the app from the "build" stage. diff --git a/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/AgentsInWorkflows.csproj b/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/AgentsInWorkflows.csproj index 325e91d0..3d9552a2 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/AgentsInWorkflows.csproj +++ b/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/AgentsInWorkflows.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable @@ -10,10 +10,10 @@ - + - - + + diff --git a/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/Dockerfile b/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/Dockerfile index 0d3e5757..8ad31043 100644 --- a/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/Dockerfile +++ b/samples/microsoft/hosted-agents/csharp/AgentsInWorkflows/Dockerfile @@ -1,5 +1,5 @@ # Build the application -FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build WORKDIR /src # Copy files from the current directory on the host to the working directory in the container @@ -10,7 +10,7 @@ RUN dotnet build -c Release --no-restore RUN dotnet publish -c Release --no-build -o /app # Run the application -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS final WORKDIR /app # Copy everything needed to run the app from the "build" stage.