Skip to content

Add net11.0 to FrameworkConstants.CommonFrameworks #14759

@zivkan

Description

@zivkan

NuGet Product Used

NuGet SDK

Product Version

all

Worked before?

No response

Impact

None

Repro Steps & Context

NuGetFramework.Parse has some logic to use a static instance of common frameworks, reducing memory allocations when the same framework is parsed multiple times.

Now that the dotnet/runtime repo is targeting net11.0 in the main branch, it's a good opportunity to add this perf benefit.

Verbose Logs

Metadata

Metadata

Assignees

Labels

Functionality:SDKThe NuGet client packages published to nuget.orgPriority:2Issues for the current backlog.Type:Bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions