[英]Can't find .NET MAUI in the list of VS
I want to create a new project by using .NET MAUI, In Microsoft tutorial they said the Prerequisites is The latest preview of Visual Studio 2022 17.1
, after installing the last preview version with .NET MAUI
, I couldn't find the project from the list.我想使用 .NET MAUI 创建一个新项目,在 Microsoft 教程中,他们说先决条件是The latest preview of Visual Studio 2022 17.1
的最新预览版,在使用.NET MAUI
安装最后一个预览版后,我无法从列表中找到该项目。
This what I did这就是我所做的
Can some give me ad advise to go around this problem.有人可以围绕这个问题给我关于 go 的广告建议。
Thanks谢谢
Not sure why this sometimes happens, what fixes it is to install the templates manually at this time.不知道为什么有时会发生这种情况,此时手动安装模板的方法是什么。 From an (elevated) command prompt run: dotnet new --install Microsoft.Maui.Templates
从(提升的)命令提示符运行: dotnet new --install Microsoft.Maui.Templates
That should succeed and the templates should then be visible in Visual Studio as well.这应该会成功,然后模板也应该在 Visual Studio 中可见。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.