Missing Project/Item Templates

后端 未结 4 795
南方客
南方客 2020-12-03 11:34

I have Visual Studio 2010 and recently both at home and at work have had an issue with missing projects in the Installed Templates. All that projects and the folder called \

相关标签:
4条回答
  • 2020-12-03 12:07

    Make sure the .NET version at top of template list matches your solution's .NET version

    0 讨论(0)
  • 2020-12-03 12:20

    Run devenv.exe /installvstemplates with elevated privileges

    0 讨论(0)
  • 2020-12-03 12:24

    I've just run into this issue and resolved it by doing the following:

    1. I got the following folder and its contents from a colleague's PC \Common7\IDE\ProjectTemplates\CSharp.
    2. Then I copied it to the appropriate location on my PC (C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp)
    3. I ran the command given in the answers above devenv.exe /installvstemplates using the Visual Studio Command Prompt tool with Administrator priviledges.
    0 讨论(0)
  • 2020-12-03 12:25

    I had the same problem, but with the C#code item templates, and I fixed it with the following:

    Tools/Options/Environment/International Settings/Language:
                                  "Same as Windows" instead of "English"
    

    and then restart VS2010.

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