"未将对象引用设置到对象&QUOT的实例;建设我的云项目时 [英] "Object reference not set to an instance of an object" when building my cloud project

查看:1108
本文介绍了"未将对象引用设置到对象&QUOT的实例;建设我的云项目时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我建立我与一群云项目的解决方案,我看到一个或多个错误:未将对象引用设置到对象的实例的输出消息。当我尝试运行云计算项目之一,我得到弹出有生成错误是否要继续和运行上次成功构建。,但有错误列表和相同的错误没有错误:对象裁判......输出错误。

When I build my solution with a bunch of cloud projects, I see one or more "Error: Object reference not set to an instance of an object" messages in the output. When I try to run one of the cloud projects, I get the popup "There were build errors. Do you want to continue and run the last successful build", but there are no errors in the Error List and the same "Error: Object ref..." errors in the output.

当我点击我的云项目包我得到一个消息对象引用不设置到对象的实例,还当我点击右键 - 在云中的项目角色的项目参考>属性。

When I click package on my cloud project I get a messagebox with "Object reference not set to an instance of an object", also when I right click -> properties on the project reference under "Roles" in the cloud project.

如果我使用命令行来构建我的MSBuild的解决方案,我没有得到这个错误。

If I use the command line to build my solution with msbuild, I don't get the error.

我试图重新启动的Visual Studio,以及我的电脑。我也尝试重新安装Azure工具(2.1),然后Visual Studio中。

I tried restarting Visual Studio as well as my PC. I also tried reinstalling Azure Tools (2.1) and then Visual Studio.

我的同事正在根据的Visual Studio 2013同样的问题RC。

My colleague is now getting the same problem on Visual Studio 2013 RC.

有没有人有同样的问题?

Has anyone had the same problem?

我已经搜查,但只找到有问题的人发布的时候,这里的解决方案是手工打包。

I've searched, but only found people with problems when publishing, where the solution is to package manually.

推荐答案

我有同样的问题。右键单击云服务项目,卸载该项目。再次刷新了。

I had the same problem. Right click on the cloud service project, unload the project. Reload it again.

这篇关于"未将对象引用设置到对象&QUOT的实例;建设我的云项目时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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