Skip to content

Commit e50ac64

Browse files
Update command for dotnet new --install
`dotnet new --install' is deprecated. Use 'dotnet new install' instead.
1 parent acc2bda commit e50ac64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/developer/visualstudio/installation/maui-template-missing-vs-2022-professional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To install the MAUI template, follow these steps:
2222

2323
1. Open the Command Prompt.
2424
1. Run the command `dotnet workload install maui` to install the MAUI workload if it's not installed. This command installs the necessary components and dependencies for MAUI development.
25-
1. After the MAUI workload is installed, run the command `dotnet new --install Microsoft.Maui.Templates` to install the MAUI templates. This command fetches and installs the latest templates for creating MAUI projects.
25+
1. After the MAUI workload is installed, run the command `dotnet new install Microsoft.Maui.Templates` to install the MAUI templates. This command fetches and installs the latest templates for creating MAUI projects.
2626

2727
Once the templates are installed, you can see the .NET MAUI template available in Visual Studio when creating a new project.
2828

0 commit comments

Comments
 (0)