有关程序集引用项目的警告消息 [英] Warning message regarding assembly referrencing a project

查看:79
本文介绍了有关程序集引用项目的警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下警告,但不知道这意味着什么或如何解决.有人可以帮忙吗?

I received the following warning and don't know what it means or how to fix it. Can anyone help?

警告1 程序集'C:\ Users \ mfernandez.AHH \ Documents \ Visual Studio 2010 \ Projects \ STAPNet v12 \ STAPNet v12 \ _Pvt_Extensions \ OfficeIntegration \ Client \ Reference \ OfficeIntegration.Client.dll'引用程序集'Microsoft .LightSwitch.SdkProxy,版本= 10.0.0.0, 文化=中性,PublicKeyToken = 31bf3856ad364e35',在'C:\ Users \ mfernandez.AHH \ Documents \ Visual Studio 2010 \ Projects \ STAPNet v12 \ STAPNet v12 \ _Pvt_Extensions \ ExcelImporter \ Client \ Reference \ Microsoft.LightSwitch.SdkProxy .dll"(已引用 通过项目'客户端')和'C:\ Users \ mfernandez.AHH \ Documents \ Visual Studio 2010 \ Projects \ STAPNet v12 \ STAPNet v12 \ _Pvt_Extensions \ OfficeIntegration \ ClientGen \ Reference \ Microsoft.LightSwitch.SDKProxy.dll'项目"ClientGenerated"). 'C:\ Users \ mfernandez.AHH \ Documents \ Visual 将使用Studio 2010 \ Projects \ STAPNet v12 \ STAPNet v12 \ _Pvt_Extensions \ ExcelImporter \ Client \ Reference \ Microsoft.LightSwitch.SdkProxy.dll'.如果两个程序集都相同,则将引用更改为相同的位置.C:\ Users \ mfernandez.AHH \ Documents \ Visual Studio 2010 \ Projects \ STAPNet v12 \ STAPNet v12 \ _Pvt_Extensions \ OfficeIntegration \ Client \ Reference \ OfficeIntegration.Client.dll

Warning 1 Assembly 'C:\Users\mfernandez.AHH\Documents\Visual Studio 2010\Projects\STAPNet v12\STAPNet v12\_Pvt_Extensions\OfficeIntegration\Client\Reference\OfficeIntegration.Client.dll' references assembly 'Microsoft.LightSwitch.SdkProxy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', which is ambiguous between 'C:\Users\mfernandez.AHH\Documents\Visual Studio 2010\Projects\STAPNet v12\STAPNet v12\_Pvt_Extensions\ExcelImporter\Client\Reference\Microsoft.LightSwitch.SdkProxy.dll' (referenced by project 'Client') and 'C:\Users\mfernandez.AHH\Documents\Visual Studio 2010\Projects\STAPNet v12\STAPNet v12\_Pvt_Extensions\OfficeIntegration\ClientGen\Reference\Microsoft.LightSwitch.SDKProxy.dll' (referenced by project 'ClientGenerated'). 'C:\Users\mfernandez.AHH\Documents\Visual Studio 2010\Projects\STAPNet v12\STAPNet v12\_Pvt_Extensions\ExcelImporter\Client\Reference\Microsoft.LightSwitch.SdkProxy.dll' will be used. If both assemblies are identical, change the references to the same location. C:\Users\mfernandez.AHH\Documents\Visual Studio 2010\Projects\STAPNet v12\STAPNet v12\_Pvt_Extensions\OfficeIntegration\Client\Reference\OfficeIntegration.Client.dll 

MFernandez住房研究分析师

MFernandez Housing Research Analyst

推荐答案

在这里闲逛的一些老专家可能会给出更好的答案.

Some old pros that hang out here could probably give a better answer.

但是,此类物品通常需要您进行清洁.查看其他帖子,或下面列出的帖子.通常的做法是:

But, this type of item often requires you to do a clean.  See other posts, or the one listed below.  The general course of action is: 

关闭并重新启动Visual Studio,重新加载解决方案,清理并重建它.

http://social.msdn.microsoft .com/Forums/zh-CN/lightswitchgeneral/thread/4f3c97f5-59b1-48e9-a944-5068e0737a53

仅希望帮助您的想法,并查看是否有丰富经验的人会注意到您的帖子.

Only hoping to help your thoughts, and to see if any of those with extensive experience will notice your post.

我遇到了一些类似的问题,我只是开始搜索每个错误,然后过一会儿找到解决方案.这些家伙留下了许多精彩的帖子,可让您找到答案.

I've had some similar problems, and I just start googling each error, and then find the solution after a while.  These guys have left an excellent trail of posts that will allow you to find your answer.

祝你好运!


这篇关于有关程序集引用项目的警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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