[英]Visual Studio 2015: “Object reference not set to an instance of an object” when creating Azure Mobile App
I am using Visual Studio 2015 Enterprise. 我正在使用Visual Studio 2015企业版。 The error occours when I try to create an Azure Mobile App.
当我尝试创建Azure移动应用程序时出现错误。
I go to File > New > Project > ASP.NET Web Application . 我转到文件 > 新建 > 项目 > ASP.NET Web应用程序 。 Then I try to create an Azure Mobile App and get the "Object reference not set to an instance of an object" error.
然后,我尝试创建一个Azure移动应用程序并得到“对象引用未设置为对象实例”错误。 See screenshot of error here
在此处查看错误的屏幕截图
Things I've already tried: 我已经尝试过的事情:
Any idea how to fix this VS error? 任何想法如何解决此VS错误?
I'm also on Visual Studio 2015 Enterprise with Azure SDK 2.9 (make sure you are using the latest and greatest Azure SDK). 我也在使用带有Azure SDK 2.9的Visual Studio 2015 Enterprise(请确保您使用的是最新和最好的Azure SDK)。 This works for me, so it's definitely something with your visual studio version.
这对我有用,因此在Visual Studio版本中肯定是有用的。
An alternative for you is to create a regular MVC app and add Mobile Apps SDK to it. 您的另一种选择是创建一个常规的MVC应用并向其中添加Mobile Apps SDK。 I wrote a blog post on this here: https://shellmonger.com/2016/05/06/30-days-of-zumo-v2-azure-mobile-apps-day-17-asp-net-backend-introduction/
我在这里写了一篇博客文章: https : //shellmonger.com/2016/05/06/30-days-of-zumo-v2-azure-mobile-apps-day-17-asp-net-backend-introduction /
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.