Linux 程序集绑定警告

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3677119/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-03 23:17:00  来源:igfitidea点击:

Assembly Binding Warning

.netbindingversioning

提问by abhi

I copied over my project to another PC. I have a reference to a assembly on my project. On this new PC, a higher version of this referenced assembly exists. I keep getting a warning each time I compile. The warning is along these lines.

我将我的项目复制到另一台 PC。我在我的项目中引用了一个程序集。在这台新 PC 上,存在此引用程序集的更高版本。每次编译时我都会收到警告。警告是沿着这些路线的。

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Found conflicts between different versions of the same dependent assembly.

I deleted the reference to my OLD file and added a reference to the higher version. The warning continues to stay. Is there some way I can get rid of the warning completely?

我删除了对旧文件的引用,并添加了对更高版本的引用。警告继续存在。有什么方法可以完全摆脱警告吗?

采纳答案by Robin

Maybe try to install a newer version on the "first" PC with the original project? But perhaps that just creates the same problem there though.. Perhaps this can help: http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/73d1b418-0b2d-4649-b491-21b39a468457

也许尝试使用原始项目在“第一台”PC 上安装更新版本?但也许这只是在那里产生了同样的问题..也许这可以帮助:http: //social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/73d1b418-0b2d-4649-b491-21b39a468457