No templates available when creating a new project in Visual Studio

前端 未结 3 1670
小鲜肉
小鲜肉 2021-02-15 02:54

\"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

相关标签:
3条回答
  • 2021-02-15 03:24

    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:28

    Run Following command and it will restore templates. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE>devenv /installvstemplates

    0 讨论(0)
  • 2021-02-15 03:34

    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)
提交回复
热议问题