-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Create New WinUI Project #6767
Comments
Did you install the VSIX ? |
They are neither required nor able to be installed on Visual Studio 17.1.0, but I did attempt to install the Windows App SDK (1.0 Stable) C# Visual Studio 2022 extension to no avail. The error message given stated it was already installed. |
When I do a trace, the WinUI templates that I installed are read from my VS 2020 installation directory + \COMMON7\IDE\EXTENSIONS...\ProjectTemplates\VC\1033 WinUI.Desktop.CppWinRT.PackagedApp WinUI.Desktop.Cs.ClassLibrary |
Are you also on Visual Studio 17.1.0? The documentation explicitly states that the extension only needs to be installed on earlier versions, which leads me to suspect that this issue is related to the release of 17.1.0.
I also wonder whether you had already installed the extension prior to upgrading and, if so, at which version of Visual Studio, and what version of the extension? |
When I open the C# VS 2022 VSIX Installer with Microsoft Visual Studio Version Selector, I see the following error message:
I also see the same versions listed in "Manage Extensions" for both of those extensions, and WinUI appears in the new project templates now, but none of these were listed previously even though I had already tried installing |
For VS 17.1, you can install the template via VS installer. You can try to install or uninstall and see if there's still problem. |
This issue is about that process not working as intended. |
@evelynwu-msft FYI |
Same issue. clean windows 11 & vs 17.1 install |
Same issue with Windows 11 & VS 17.2.1. Installing the VSIX manually fails stating a newer version of the product is already installed. |
Same issue. Windows 11 & VS 17.2.6. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Describe the bug
In Visual Studio 17.1.0, WinUI does not appear in the drop down menu of new project templates. I suspect this is because some tool, workload, component, or feature needs to be installed that is not documented here.
Steps to reproduce the bug
Expected behavior
I expected WinUI to appear in the drop down menu of project types and Blank App, Packaged (WinUI 3 in Desktop) to appear in the list of project templates, but both are absent.
Screenshots
No response
NuGet package version
No response
Windows app type
Device form factor
No response
Windows version
No response
Additional context
I installed Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019, and 2022 for x64 from here as suggested by Microsoft customer support and rebooted. There was no change in symptoms.
The text was updated successfully, but these errors were encountered: