Fix template package version separator in test baselines and assertions#51782
Merged
marcpopMSFT merged 3 commits intodarc-main-25319f2a-bdb3-4d70-a139-7a9acdfbdccefrom Nov 17, 2025
Merged
Conversation
Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update source code from dotnet/dotnet
Fix template package version separator in test baselines
Nov 17, 2025
Member
|
dotnet-new.IntegrationTests_net10.0_x64.xml |
Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Contributor
Author
Confirmed. I've fixed all 25 instances:
All |
Copilot
AI
changed the title
Fix template package version separator in test baselines
Fix template package version separator in test baselines and assertions
Nov 17, 2025
marcpopMSFT
approved these changes
Nov 17, 2025
dc69651
into
darc-main-25319f2a-bdb3-4d70-a139-7a9acdfbdcce
3 of 5 checks passed
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.
The templating repository changed the version separator format from
::to@for displaying template package identifiers (e.g.,Microsoft.DotNet.Common.ProjectTemplates.5.0::5.0.0→Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.0).Changes
Updated 7 test verification baseline files in
test/dotnet-new.IntegrationTests/Approvals/to use@separator instead of::DotnetNewInstallTests.CannotInstallPackageAvailableFromBuiltIns.verified.txt,CannotInstallSameSourceTwice_NuGet.verified.txt,CanInstallSameSourceTwice_RemoteNuGet_WhenSourceIsSpecified.verified.txt,CanShowDeprecationMessage_WhenLegacyCommandIsUsed_common.verified.txt,DoNotShowDeprecationMessage_WhenNewCommandIsUsed.verified.txt,CanInstallPackageAvailableFromBuiltInsWithForce.verified.txt,CannotInstallMultiplePackageAvailableFromBuiltIns.verified.txtUpdated 3 test code files with assertion patterns to use
@separator instead of::DotnetNewInstallTests.cs: 14 pattern replacementsDotnetNewUninstallTests.cs: 3 pattern replacementsDotnetNewUpdateTests.cs: 1 pattern replacementExample changes:
Total: 25 replacements across 10 files to align with the new templating format.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.