"Could not load file or assembly 'Autodesk.AutoCAD.Interop, Version=17.2.0.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b' or one of its dependencies. The system cannot find the file specified.":"Autodesk.AutoCAD.Interop, Version=17.2.0.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b"}
I only have 2008 loaded at home, but have 2009 and 2008 loaded at work. Somehow after using this project at work then reloading it at home I have managed to get this error.
1) It's been removed and readded tons of times to no affect.
2) C:\Windows\assembly\GAC_MSIL\Autodesk.AutoCAD.Interop\17.1.51.0__eed84259d7cbf30b\Autodesk. is the correct path shown in the properties window when highlighting the AUTOcad reference.
3) There is no reference to Autodesk.AutoCAD.Interop, Version=17.2.0.0 in the registry but many references to Autodesk.AutoCAD.Interop\17.1.51.0.
4) I copied the 17.2.0.0 version from work by doing
if u want to view the structure of the GAC folder do the following
start > run > cmd
type : "cd\windows\assembly"
type: "attrib -r -h -s desktop.ini"
type: "ren desktop.ini desktop.bak"
now open the GAC folder normally in your explorer, and you can see the actual structure.
found here
http://social.msdn.microsoft.com/en-US/profile/?user=johnpccd&referrer=http%3A//social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/83d662c4-03d4-40f6-a52e-466db5934b9d/but it wont work at home as I have scumbag Vista won't allow you to do anything problems.
I am at a bit of a loss now, any help appreciated.