Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve the "Encountered multiple versions of the assembly with GUID '' while converting project from VS 2008 to VS 2010

I just converted my project from VS 2008 to VS 2010, here is the error I am getting now :-

Encountered multiple versions of the assembly with GUID ''. Try pre-importing one of these assemblies.

I already tried to clean solutions, projects, and recompile, close and open again. but no luck.

like image 755
User13839404 Avatar asked Nov 25 '11 16:11

User13839404


2 Answers

Are any of your references to the debug folder? If so you'll want to remove them.

EDIT - Since you mentioned COM Object in your comment....

Assembly error building app - Encountered multiple versions of assembly

Looks like it's a bug in VS 2010....

like image 118
Kevin LaBranche Avatar answered Nov 13 '22 11:11

Kevin LaBranche


You should try to change .net Framework3.5 to .net Framework4.5.

like image 2
GongchuangSu Avatar answered Nov 13 '22 12:11

GongchuangSu