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

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 Branch Lockdown needs team triage Requires a full team discussion Partner request requests from partners Servicing-consider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants