Skip to content

Commit 3db2816

Browse files
Changed dotnet new example (#9309)
Co-authored-by: Joel Verhagen <[email protected]> The syntax has changed in .NET 7. Since .NET 7 is GA'd and is being actively adopted, we'll update NuGet.org to reflect that.
1 parent a65d4cf commit 3db2816

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NuGetGallery/Views/Packages/DisplayPackage.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
{
7373
Id = "dotnet-cli",
7474
CommandPrefix = "> ",
75-
InstallPackageCommands = new [] { string.Format("dotnet new --install {0}::{1}", Model.Id, Model.Version) },
75+
InstallPackageCommands = new [] { string.Format("dotnet new install {0}::{1}", Model.Id, Model.Version) },
7676
AlertLevel = AlertLevel.Info,
77-
AlertMessage = "This package contains a <a href='https://aka.ms/dotnet-new'>.NET Core Template Package</a> you can call from the shell/command line.",
77+
AlertMessage = "This package contains a <a href='https://aka.ms/dotnet-new'>.NET Template Package</a> you can call from the shell/command line.",
7878
}
7979
};
8080
}

0 commit comments

Comments
 (0)