Update WorkerExtension project generation to net10.0 in SDK#3447
Draft
jviau wants to merge 2 commits into
Draft
Conversation
The generated WorkerExtensions.csproj (v4 apps) now targets net10.0 instead of net8.0. .NET 8 reaches EOL on November 10, 2026. Fixes #3444
Contributor
Author
|
🚫 BLOCKED — do not merge. This PR is blocked pending the rollout of the Functions host. We must wait until the net10 version of the Functions host has rolled out broadly and customers have migrated to it before merging. Rationale: this change makes the SDK generate the Unblock criteria: net10 Functions host rollout complete / customers confirmed migrated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue describing the changes in this PR
resolves #3444
Pull request checklist
release_notes.mdAdditional information
Summary
Updates the SDK's generated
WorkerExtensions.csprojto target net10.0 instead of net8.0 for v4 function apps. .NET 8 reaches end-of-life on November 10, 2026.Changes
sdk/Sdk/ExtensionsCsprojGenerator.cs— the generatedWorkerExtensions.csproj(v4 apps) now defaults tonet10.0.sdk/Sdk/Constants.cs— replaced the unusedNet80constant withNet100 = "net10.0".test/Sdk.Generator.Tests/FunctionMetadata/ExtensionsCsProjGeneratorTests.cs— updated the expected v4 csproj tonet10.0.eng/build/extensionValidationProjectTemplate.txt— CI extension-validation template bumped net8.0 → net10.0 (matches the exact file called out in WorkerExtension still uses .NET 8 #3444).sdk/release_notes.md— added a release note underMicrosoft.Azure.Functions.Worker.Sdk.The v3 path (
netcoreapp3.1) is unchanged.🚫 Blocked
This PR is blocked pending the rollout of the Functions host. We must wait until the net10 version of the Functions host has rolled out broadly and customers have migrated, to ensure the generated extension project (net10) is compatible with the host environment they run on. Merging before then risks generating extension projects that customers' hosts cannot load.
Do not merge until host rollout is confirmed.
Verification
sdk/Sdk/Sdk.csprojcleanly (0 warnings/errors).<TargetFramework>net10.0</TargetFramework>(plus the_VerifyTargetFrameworkguard), while v3 still emitsnetcoreapp3.1.