Skip to content

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Sep 19, 2025

Customer Impact

Users that invoke a template directly from a local NuGet package (i.e. dotnet new install <path to file>) can't install that package if the path contains :: or @ characters. This is a blocker for Azure Functions experiences in VSCode on macOS.

To fix this, we detect if the user is requesting to install a versioned NuGet template from their feeds, or a specific local file. We only attempt our PackageId/Version splitting logic on the former kind of input.

Risk

Low - this code has been working in .NET 10 since this past spring.

Testing

New automated tests for this scenario work, and we've got evidence of it working for end users running 10.x

@rbhanda rbhanda added this to the 9.0.11 milestone Oct 2, 2025
@baronfel baronfel merged commit 46e5748 into dotnet:release/9.0.3xx Oct 13, 2025
33 of 37 checks passed
@baronfel baronfel deleted the manual-backport-48874-to-release-9.0.3xx branch October 13, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-dotnet new the item is related to dotnet new command needs team triage Requires a full team discussion Partner request requests from partners Servicing-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants