Encountered multiple versions of the assembly with GUID Try pre-importing one of these assemblies 错误 解决方法

vs2008 开发的 winform程序  迁移到 vs2010后编译发生错误。

 “Encountered multiple versions of the assembly with GUID ******************  Try pre-importing one of these assemblies”

vs2008中最高用framework3.5,升级后引用的dll、com组件可能已经是针对4.0的了。

在2012用将framework改为4.0即可。

版权声明:本博原创文章可以被转载,但是在未经本人许可前,不得用于任何商业用途或其他以盈利为目的的用途。如需转载,请在转载时声明作者、保留出处。本人保留对本文的一切权利。 作者:AllenRobin Blog:http://gisrsman.cnblogs.com
原文地址:https://www.cnblogs.com/GISRSMAN/p/4623369.html