No templates available when creating a new project in Visual Studio

前端 未结 2 1954
萌比男神i
萌比男神i 2021-02-15 03:16

\"No template information found. See the application log in Event Viewer for more details. To open Event Viewer, click Start, click Control Panel, double-click Administrativ

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-15 03:36

    I used a solution presented to me from other sites. One of them said to reinstall templates. I did the following:

    In the command prompt I typed: cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

    Then I typed: devenv /installvstemplates

    I took a minute but after it completed I opened Visual Studio and tried to create a new project. All my project templates were back in order, including additional templates like Workflow, SharePoint and Silverlight.

    Link to other source

提交回复
热议问题