解決方式如來源
from:
ASP.NET MVC - menus missing Add Controller and Scaffolded Item?
http://awesomebitsnbytes.blogspot.com/2015/01/aspnet-mvc-menus-missing-add-controller.html?spref=bl
Reinstall Microsoft Visual Studio Asp.net MVC 5 Scaffolding extension
http://stackoverflow.com/questions/19835385/reinstall-microsoft-visual-studio-asp-net-mvc-5-scaffolding-extension
解釋如下:
A.刪掉 HKEY_USERS\<SID>\Software\Microsoft\VisualStudio\12.0\ExtensionManager
B.刪掉C:\Users\mylogin\AppData\Local\Microsoft\VisualStudio\12.0
C.刪掉C:\Users\mylogin\AppData\Roaming\Microsoft\VisualStudio\12.0
D.從原始安裝光碟當中,uninstall然後install下面這兩個msi
AspNetWebFrameworksTools_VS12_ENU.msi
webtoolsextensionsvs2013.msi
至於那些要修改專案的guid的,可以忽略了
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
沒有留言:
張貼留言