You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.CanInstallPackageAvailableFromBuiltInsWithForce.verified.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
The following template packages will be installed:
2
-
Microsoft.DotNet.Common.ItemTemplates::%VERSION%
2
+
Microsoft.DotNet.Common.ItemTemplates@%VERSION%
3
3
4
4
Installing the template package(s) will override the available template package(s).
5
5
The following template package(s) are already available:
6
6
Microsoft.DotNet.Common.ItemTemplates@%VERSION%
7
7
8
-
Success: Microsoft.DotNet.Common.ItemTemplates::6.0.100 installed the following templates:
8
+
Success: Microsoft.DotNet.Common.ItemTemplates@6.0.100 installed the following templates:
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.CanInstallSameSourceTwice_RemoteNuGet_WhenSourceIsSpecified.verified.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
The following template packages will be installed:
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.CanShowDeprecationMessage_WhenLegacyCommandIsUsed_common.verified.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ For more information, run:
3
3
dotnet new install -h
4
4
5
5
The following template packages will be installed:
6
-
Microsoft.DotNet.Web.ItemTemplates::5.0.0
6
+
Microsoft.DotNet.Web.ItemTemplates@5.0.0
7
7
8
-
Success: Microsoft.DotNet.Web.ItemTemplates::5.0.0 installed the following templates:
8
+
Success: Microsoft.DotNet.Web.ItemTemplates@5.0.0 installed the following templates:
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.CannotInstallMultiplePackageAvailableFromBuiltIns.verified.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,6 @@ The following template package(s) are already available:
3
3
Microsoft.DotNet.Common.ItemTemplates@%VERSION%
4
4
5
5
To install the template package(s) anyway, apply '--force' option:
6
-
dotnet new install Microsoft.DotNet.Common.ItemTemplates::6.0.100 Microsoft.DotNet.Web.ItemTemplates::5.0.0 --force
6
+
dotnet new install Microsoft.DotNet.Common.ItemTemplates@6.0.100 Microsoft.DotNet.Web.ItemTemplates@5.0.0 --force
7
7
8
8
For details on the exit code, refer to https://aka.ms/templating-exit-codes#106
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.CannotInstallPackageAvailableFromBuiltIns.verified.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,6 @@ The following template package(s) are already available:
3
3
Microsoft.DotNet.Common.ItemTemplates@%VERSION%
4
4
5
5
To install the template package(s) anyway, apply '--force' option:
6
-
dotnet new install Microsoft.DotNet.Common.ItemTemplates::6.0.100 --force
6
+
dotnet new install Microsoft.DotNet.Common.ItemTemplates@6.0.100 --force
7
7
8
8
For details on the exit code, refer to https://aka.ms/templating-exit-codes#106
Copy file name to clipboardExpand all lines: test/dotnet-new.IntegrationTests/Approvals/DotnetNewInstallTests.DoNotShowDeprecationMessage_WhenNewCommandIsUsed.verified.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
The following template packages will be installed:
2
-
Microsoft.DotNet.Web.ItemTemplates::5.0.0
2
+
Microsoft.DotNet.Web.ItemTemplates@5.0.0
3
3
4
-
Success: Microsoft.DotNet.Web.ItemTemplates::5.0.0 installed the following templates:
4
+
Success: Microsoft.DotNet.Web.ItemTemplates@5.0.0 installed the following templates:
@@ -181,7 +181,7 @@ public void CanUninstall_NuGet(string commandName)
181
181
.ExitWith(0)
182
182
.And
183
183
.NotHaveStdErr()
184
-
.And.HaveStdOutContaining($"Success: Microsoft.DotNet.Web.ProjectTemplates.5.0::5.0.0 was uninstalled.");
184
+
.And.HaveStdOutContaining($"Success: Microsoft.DotNet.Web.ProjectTemplates.5.0@5.0.0 was uninstalled.");
185
185
186
186
newDotnetNewCommand(_log,commandName)
187
187
.WithCustomHive(home)
@@ -225,7 +225,7 @@ public void CanUninstallSeveralSources_LegacySyntax()
225
225
.ExitWith(0)
226
226
.And
227
227
.NotHaveStdErr()
228
-
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0::([\\d\\.a-z-])+ was uninstalled\\.\\s*$",RegexOptions.Multiline)
228
+
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0@([\\d\\.a-z-])+ was uninstalled\\.\\s*$",RegexOptions.Multiline)
229
229
.And.HaveStdOutContaining($"Success: {basicFSharp} was uninstalled.");
230
230
231
231
newDotnetNewCommand(_log,"-u")
@@ -271,7 +271,7 @@ public void CanUninstallSeveralSources()
271
271
.ExitWith(0)
272
272
.And
273
273
.NotHaveStdErr()
274
-
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0::([\\d\\.a-z-])+ was uninstalled\\.\\s*$",RegexOptions.Multiline)
274
+
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0@([\\d\\.a-z-])+ was uninstalled\\.\\s*$",RegexOptions.Multiline)
275
275
.And.HaveStdOutContaining($"Success: {basicFSharp} was uninstalled.");
276
276
277
277
newDotnetNewCommand(_log,"uninstall")
@@ -294,7 +294,7 @@ public void CanUninstallSeveralSources()
@@ -287,9 +287,9 @@ public void CanApplyUpdates(string testCase)
287
287
.And
288
288
.NotHaveStdErr()
289
289
.And.HaveStdOutContaining("The following template packages will be updated:")
290
-
.And.HaveStdOutContaining("Microsoft.DotNet.Common.ProjectTemplates.5.0::5.0.0 was successfully uninstalled")
291
-
.And.NotHaveStdOutContaining("Microsoft.DotNet.Common.ProjectTemplates.5.0::5.0.0 is already installed and will be replaced with version")
292
-
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0::([\\d\\.a-z-])+ installed the following templates:\\s*$",System.Text.RegularExpressions.RegexOptions.Multiline)
290
+
.And.HaveStdOutContaining("Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.0 was successfully uninstalled")
291
+
.And.NotHaveStdOutContaining("Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.0 is already installed and will be replaced with version")
292
+
.And.HaveStdOutMatching($"^Success: Microsoft\\.DotNet\\.Common\\.ProjectTemplates\\.5\\.0@([\\d\\.a-z-])+ installed the following templates:\\s*$",System.Text.RegularExpressions.RegexOptions.Multiline)
0 commit comments