Update package display format from package::version to package@version - #9415
Merged
marcpopMSFT merged 4 commits intoOct 16, 2025
Merged
Conversation
âĶpackage@version Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update templating text to use @ instead of :: symbol
Update package display format from package::version to package@version
Oct 10, 2025
Member
|
@copilot can you fix these three tests for the change in the :: output to @?
|
âĶTests Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Author
Fixed the three tests to expect
Commit: Will be included in the progress report. |
marcpopMSFT
approved these changes
Oct 14, 2025
Member
|
I looked through all instances of :: in the sources and this covers all the ones I would expect to update for this. I don't know how to test the template repo and am relying on the automated tests. |
MiYanni
approved these changes
Oct 16, 2025
MiYanni
left a comment
Member
There was a problem hiding this comment.
I can't verify if any of these changes are correct. But if it doesn't cause problems in the SDK repo, then it is likely fine. But we'd have to wait for this to flow there to verify that.
mmitche
pushed a commit
to dotnet/sdk
that referenced
this pull request
Apr 2, 2026
âĶtemplating-text-symbol Update package display format from package::version to package@version Commit migrated from dotnet/templating@0266032
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.
InstallRequest.DisplayNameto use @ instead of ::NuGetManagedTemplatePackage.DisplayNameto use @ instead of ::Summary of Changes
Updated all package identifier and version display formatting from the legacy
package::versionformat to the new recommendedpackage@versionformat across:Core Properties:
InstallRequest.DisplayNamein Microsoft.TemplateEngine.AbstractionsNuGetManagedTemplatePackage.DisplayNamein Microsoft.TemplateEngine.EdgeException Messages:
PackageNotFoundExceptionconstructorDownloadExceptionconstructors (3 overloads)Logging Messages:
NugetApiPackageManager.cs(5 locations)PackageManager.cstest helper (3 locations)Console Output:
AdditionalDataExtensions.csin TemplateDiscovery toolsPackSourceChecker.csin TemplateDiscovery tools (12 locations)Tests:
NuGetInstallerTests.cs(4 test assertions)TemplateDiscoveryTests.cs(6 test assertions)Total: 10 files modified, 37 changes across the codebase. All references consistently updated to use the @ symbol instead of :: for package@version formatting.
Original prompt
Fixes #9414
ðĄ You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.