简体   繁体   English

Visual Studio 2015:创建Azure移动应用程序时,“对象引用未设置为对象的实例”

[英]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: 我已经尝试过的事情:

  • Repairing Visual Studio, multiple times 多次修复Visual Studio
  • Deleting all user settings 删除所有用户设置
  • Reinstalling Android SDK API 19,20,21,22,23 重新安装Android SDK API 19、20、21、22、23

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.

相关问题 适用于Visual Studio的Azure流分析工具:执行聚合查询时出错-“对象引用未设置为对象的实例” - Azure Stream Analytics tools for Visual Studio: Error when executing aggregated queries - “Object reference not set to an instance of an object” 安装 ASP.NET 和 Web Tools 2015 后出现 Visual Studio 错误“未将对象引用设置为对象的实例” - Visual Studio error "Object reference not set to an instance of an object" after install of ASP.NET and Web Tools 2015 Visual Studio 2017-TFS 2017-“对象引用未设置为对象的实例” - Visual Studio 2017 - TFS 2017 - “Object reference not set to an instance of an object” 对象引用未设置为Visual Studio 2013上的对象错误的实例 - Object reference not set to an instance of an object error on Visual Studio 2013 Visual Studio - 单击解决方案 - >属性时出错(对象引用未设置为对象的实例) - Visual Studio - Error when clicking on Solution -> Properties (Object reference not set to an instance of an object) 在visual studio 2013中打开cshtml文件时,对象引用未设置为对象的实例 - Object reference not set to an instance of an object when opening cshtml files in visual studio 2013 当我尝试添加参考时,Visual Studio 得到这个:Instance object set as constant - Visual studio when i try to add reference get this : Instance object set as constant MySQL for Visual Studio / Visual Studio 2017数据源向导的问题。 你调用的对象是空的 - Issue with MySQL for Visual Studio / Visual Studio 2017 Datasource Wizard. Object reference not set to an instance of an object 使用Visual Studio设计器-“对象引用未设置为对象的实例”(Visual Studio 2008) - Using the Visual Studio designer - “Object reference not set to an instance of an object” (Visual Studio 2008) Visual Basic-对象引用未设置为对象的实例 - Visual Basic - Object reference not set to an instance of an object
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM