I have now tried to deploy an asp.net MVC application on both MVC4 and MVC5. Whenever I get to the settings for the publish there is no option to: "Update Database" and therefore no option to "Configure database updates".
我现在尝试在MVC4和MVC5上部署asp.net MVC应用程序。每当我进入发布的设置时,都没有选项:“更新数据库”,因此没有选项“配置数据库更新”。
Is there something that I have missed out in the tiresome and complicated set of hoops that I have to jump through to get an asp.net MVC application deployed? I have tried on and off for the past few months to get an MVC application deployed but I never seem to manage to get the User database part correct. I have got all other parts working. I moved onto MVC 5 because it is said that the user authentication has been updated. It is still not working and I am getting the same problem.
是否有一些我错过了在厌倦和复杂的环抱中的东西,我必须跳过来获得部署的asp.net MVC应用程序?在过去的几个月里,我尝试过部署MVC应用程序,但我似乎从来没有设法让用户数据库部分正确。我有其他所有部分都在工作。我转到了MVC 5,因为据说用户身份验证已经更新。它仍然无法正常工作,我遇到了同样的问题。
By all means tell me if there is another post about this topic. I have tried to find a similar post on SO but have had no success.
请务必告诉我是否有关于此主题的其他帖子。我试图在SO上找到类似的帖子,但没有成功。
1 个解决方案
#1
0
This appears to be irrelevant with regards to deploying with MVC 5. The problem is in the fact that asp.net have not written individual instructions for Visual Studio 2013/ MVC 5. The system for the member database is different for MVC 5 and therefore this step is not needed.
这似乎与使用MVC 5进行部署无关。问题在于asp.net没有为Visual Studio 2013 / MVC 5编写单独的指令。成员数据库的系统对于MVC 5是不同的,因此这个不需要步骤。
#1
0
This appears to be irrelevant with regards to deploying with MVC 5. The problem is in the fact that asp.net have not written individual instructions for Visual Studio 2013/ MVC 5. The system for the member database is different for MVC 5 and therefore this step is not needed.
这似乎与使用MVC 5进行部署无关。问题在于asp.net没有为Visual Studio 2013 / MVC 5编写单独的指令。成员数据库的系统对于MVC 5是不同的,因此这个不需要步骤。