7

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.

Trott
  • 66,479
  • 23
  • 173
  • 212
User13839404
  • 1,803
  • 12
  • 37
  • 46

4 Answers4

5

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....

Community
  • 1
  • 1
Kevin LaBranche
  • 20,908
  • 5
  • 52
  • 76
2

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

0

Had same problem. Noted some references which looked invalid under References folder in the Solution Explorer. Right Click and Selecte Remove.

Once removed the thing worked just fine.

0

If you open your "Assembly.cs" file, there is a GUID in there for your application... for grins, I would just try changing the GUID via generating a new new (don't have VS open for menu action to generate GUIDs, but its there). Then try to recompile. your project(s) and final application.

DRapp
  • 47,638
  • 12
  • 72
  • 142