No templates available when creating a new project in Visual Studio

前端 未结 2 1947
萌比男神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:27

    Start Menu --> Microsoft Visual Studio 2008 --> Visual Studio Tools. Right-click over the Visual Studio Command Prompt shortcut and make sure you select Run as Administrator. Once the VS Command Prompt comes up, execute the command without Quot,

    1. "devenv /installvstemplates"

    2. "devenv /resetsettings"

      And that worked out.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题