2014-10-07 123 views
2

我正在使用Visual Studio Professional 2013.當我不想創建MVC 5項目(使用.NET Framework 4.5.1或4.5)時,我轉到「New Project> Installed >模板> Visual C#> Web「選擇」ASP.NET Web應用程序「(唯一選項),然後單擊確定。但在下一個窗口中,我沒有選擇讓我爲要創建的應用程序選擇一個模板,它只是一個空白的窗口。 Link to the Picture在Visual Studio 2013中沒有MVC 5模板

我試圖重新獲得Visual Studio,但它沒有幫助。

+0

如果mvc模板丟失,請嘗試[this](http://stackoverflow.com/questions/21096746/how-to-add-mvc5-to-visual-studio-2013)。如果缺少_all_模板,請嘗試[this](http://forums.asp.net/t/1250064.aspx?My+visual+studio+templates+dialog+box+is+empty+No+templates+are+displayed+請+幫助+) – markpsmith 2014-10-07 13:37:59

+0

我嘗試了該文章中描述的所有內容,但仍然無法正常工作 – Creeperagent26 2014-10-07 13:40:50

+0

由於任何原因,我沒有Visual Studio 2013命令提示符,但是我有一個Visual Studio 2012命令提示符,即使我從未安裝過2012年版 – Creeperagent26 2014-10-07 13:49:00

回答

5

更新:

你可能嘗試following,刪除:

  • Microsoft.VisualStudio.Web.WindowsAzure.Contracts.dll
  • Microsoft.VisualStudio.Web。 WindowsAzure.Explorer.dll

這是位於: - C:\ Program Files文件(x86)的\微軟的Visual Studio 12.0 \ Common7 \ IDE \ PrivateAssemblies


在Visual Studio 2013,你有一個選擇:

enter image description here

你會選擇你的一個模板,然後在下一屏幕上:

enter image description here

第二個屏幕是您定義Asp.Net項目類型的位置。

+0

這不會回答這個問題,因爲OP沒有請參閱模板列表。 – Nzall 2014-10-07 14:03:44

+0

@NateKerkhofs沒有看到圖像和少量的文字,給了他一個爲我工作的解決方案。 – Greg 2014-10-07 14:13:18

0

希望你已經找到你的模板,但你想要好的模板,你可以檢查http://asptemplatestack.com/Templates/GetAll。它仍處於測試階段,但您可以下載很多MVC模板。它提供了非常好的後端結構。

相關問題