添加在Azure中移动业务新的控制器时的Visual Studio 2015年冻结 [英] Visual Studio 2015 freezes when adding a new Controller in Azure Mobile Service

查看:100
本文介绍了添加在Azure中移动业务新的控制器时的Visual Studio 2015年冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每次右键单击控制器文件夹,然后单击添加 - >控制器,VS 2015年冻结。我最新的运行赢得10,VS是最新的,所有的包都是最新的。我尝试过不同的地点,检查的文件的权限和各种其他有趣的东西。怪异的是,它只是冻结在一个蓝色的移动服务项目。如果我做一个Web API项目或MVC项目我可以添加控制器就好了。

Every time I right click the Controller folder and click add -> Controller, VS 2015 freezes. I am running on the latest win 10, VS is up to date and all the packages are the latest. I've tried different locations, checking permissions on the files and all types of other fun stuff. The weird part is that it only freezes on an azure mobile services project. If I do a web api project or mvc project I can add the controller just fine.

任何想法?

推荐答案

我也被现在有这个问题了几天,我只是设法重新安装实体框架包使用的NuGet控制台来解决这个问题:

I also was having this issue for a few days now and I just managed to solve it by re-installing the Entity Framework package using the nuget console:

更新封装的EntityFramework -reinstall

Update-Package EntityFramework -reinstall

这篇关于添加在Azure中移动业务新的控制器时的Visual Studio 2015年冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆