简体   繁体   中英

Installing a new dotnet 5 template doesn't work

I was trying to install dotnet 5 template for UnoApp and even though it worked on one machine other one seems to just print a list of current templates when I use dotnet new --install Uno.ProjectTemplates.Dotnet::3.5.0-dev.270 command. I use the same OS on both machines (windows 10) and also the same version of dotnet (5.0.301)

Installing the Uno Platform templates is generally done through the Visual Studio extension , and can also be done through the dotnet new templates:

dotnet new -i Uno.ProjectTemplates.Dotnet

The command line you use is installing a pretty old version of preview templates. This one installs the latest stable.

Same (nothing) happened! List all template but doesn't install anything.

网络

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM