Missing MVC template in Visual Studio 2015

后端 未结 11 1016
再見小時候
再見小時候 2020-11-27 17:43

When I create a new web project with Visual Studio, I only see the templates in the picture below:

The MVC one is missing and so I can only create empty projects.

11条回答
  •  半阙折子戏
    2020-11-27 18:11

    For me, I saw none of the MVC templates (except the bottom two), after installing Update 3 which installed all the Core stuff.

    Solution

    I downloaded most recent core preview...

    It prompted me for "repair" and after it was done, bringing up VS indicated it was "Installing Templates" and they appeared!

    Warning

    Update 3 is a game changer in that the "preferred" way of doing things is to use dotnetcore. For example a console application now uses the new file stucture, other projects such as a Test Project still use the same folder structure as before. But MVC has changed. I'm not even sure what other "Web Developer Tools" work with dotnetcore right now.

提交回复
热议问题