依赖关系的警告(WAT150)部署Azure项目时, [英] Dependency warning (WAT150) when deploying Azure project

查看:599
本文介绍了依赖关系的警告(WAT150)部署Azure项目时,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MVC3项目,我已经迁移到Azure的Web角色,它工作正常。但有一件事是真的窃听我:当我发布/包的项目部署我得到这个错误:

I have an MVC3 project I have migrated to an Azure Web Role and it works fine. But there's one thing that's really bugging me: When I publish/package the project for deployment I get this error:

警告WAT150:项目''是依赖于以下组件:C:\ Program Files文件(x86)的\微软SQL Server精简版\ V4.0 \桌面\ System.Data.SqlServerCe.dll。此装配不包。为了确保该角色开始,添加该组件作为一个参考项目和本地属性设置复制到正确的。

Warning WAT150: The project '' is dependent on the following assembly C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Desktop\System.Data.SqlServerCe.dll. This assembly is not in the package. To make sure that the role starts, add this assembly as a reference to the project and set the Copy Local property to true.

所有我能找到的关于谷歌是如何增加的依赖性。不过,我删除它,我不能找出这种依赖是越来越回升。它不会造成任何问题,比光栅对我的神经就像在黑板上的指甲等。我将不胜感激,如果有人可以点我在正确的方向。

All I can find on google is how to ADD the dependency. However, I removed it, and I can't find out where this dependency is getting picked up. It isn't causing any problems, other than grating on my nerves like nails on a chalkboard. I would be grateful if someone could point me in the right direction.

推荐答案

尝试重新建立的Azure部署项目设置为正常或超过你的MSBuild设置。这应该显示哪些引用不能得到解决。

Try rebuilding the Azure deployment project with your MSBuild settings set to "normal" or above. This should show what references can't be resolved.

在Visual Studio中,选择工具|选项​​,然后项目和解决方案/生成和运行。设置MSBuild项目生成输出的详细程度至少正常。

In Visual Studio, choose Tools | Options, then Projects and Solutions / Build and Run. Set the "MSBuild project build output verbosity" to at least Normal.

这应该通过创建一个从MSBuild的跟踪输出更多的帮助,并帮助你看到丢失的引用被拾起。

This should help by creating much more trace output from MSBuild, and help you see where the missing references are being picked up.

这篇关于依赖关系的警告(WAT150)部署Azure项目时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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