From d02195313f29381584cc7dcdae94bc93ed52d8fb Mon Sep 17 00:00:00 2001 From: Cory Hall <43035978+corymhall@users.noreply.github.com> Date: Wed, 27 May 2026 09:38:27 -0400 Subject: [PATCH] Restore .NET SDK target framework to net6.0 (#872) ## Summary - Restore the generated .NET SDK project target framework from `net8.0` to `net6.0`. - Keep the change scoped to the framework bump introduced by #857. ## Testing - `dotnet build sdk/dotnet/Pulumi.DockerBuild.csproj --source https://api.nuget.org/v3/index.json` Note: a plain `dotnet build sdk/dotnet/Pulumi.DockerBuild.csproj` first failed during restore because user-level NuGet sources point at missing local worktree paths. The command above restricts restore to nuget.org; the SDK build also needs the transient `sdk/dotnet/version.txt` that the repo's `sdk/dotnet` generation target creates before building. Co-authored-by: Codex --- sdk/dotnet/Pulumi.DockerBuild.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/dotnet/Pulumi.DockerBuild.csproj b/sdk/dotnet/Pulumi.DockerBuild.csproj index f2079f6..f6b646e 100644 --- a/sdk/dotnet/Pulumi.DockerBuild.csproj +++ b/sdk/dotnet/Pulumi.DockerBuild.csproj @@ -11,7 +11,7 @@ logo.png 0.1.0-alpha.0+dev - net8.0 + net6.0 enable