明明已經灌好 Visual Studio 2008

但是為什麼在  [檔案] \ [新增] \ [檔案]

看到的 Template只有少少的一點點??  (如下圖)

VS2008_fewTemplates 

正常的應該是要呈現如下:

VS2008_manyTemplates 

 

目前處理此問題的解決方式如下:

 ■ Run devenv /installvstemplates from the Microsoft Visual Studio 9.0\Common7\IDE folder 

     *This command is suppose dot reinstall all of the Visual Studio provided templates

 ■ Run devenv /setup from the Microsoft Visual Studio 9.0\Common7\IDE 

     *This command is supposed to force VS to "sweep" your template folders and load  them into VS

 或是在命令提示字元中,巡覽至包含 devenv.exe 的目錄,並輸入 "devenv /setup"

 與產品一起安裝的範本,其預設位置是在:

  • <VisualStudioInstallDir>\Common7\IDE\ItemTemplates\語言\LCID\\

  • <VisualStudioInstallDir>\Common7\IDE\ProjectTemplates\語言\LCID\

--

 參考文章:Visual Studio 2008 Custom Item Templates Not Showing Up

 參考文章:尋找並組織專案範本和項目範本

arrow
arrow
    全站熱搜

    ⒶⓂⓎ 發表在 痞客邦 留言(0) 人氣()