I can't seem to find a Web Form item when adding trying to add a new item in my ASP.NET web application project in Visual studio 17.0.1. Any help?
It was solved by modifying the installation in Visual Studio Installer and installing the ".NET Framework project and item templates" component under the "Individual components" tab.
I saw this problem in "Visual Studio 2022 preview" too. It was solved by modifying and installing the ".NET Framework project and item templates" (in Visual Studio Installer):
Messing with the VS installer didn't work for me, but I found a partial work-around. It seems only the "direct menu" version of the Web Form creator still works. But it's only available in a Web Form Solution. Projects of type "Web Site" and other project/solution types may now lack it.
Open an existing Web Form Solution, or create a dummy Web Form Solution, create the page sets, and then copy them into your non-Web-Form projects.
To do this, right-click the Solution name, select Add, then Web Form.
© 2022 - 2024 — McMap. All rights reserved.