TheSwamp
Code Red => .NET => Topic started by: Bryco on October 28, 2007, 07:23:30 PM
-
Is there something tricky required to run code using 2008? I ended up making a new project with virtually nothing in it, and it still errors. Here's the error
Error 1 Cannot register assembly "C:\C#\2008 b\2008 b\bin\Debug\2008 b.dll". Could not load file or assembly 'acmgd, Version=17.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. 2008 b
.
The copy local is set to false. Mechanical is so like regular cad that I didn't think it would require something different.
-
Just a shot in the dark, but try changing the output name of the dll to NOT include a space.
So change the dll name from "2008 b.dll" to 2008b.dll. You can do this from the proeprties page of the project.
-
Or better yet, post your project and I'll take a look.
-
Like Glenn said it is most likely an error with a space in the name. I have migrated a project from 2005 to 2008 electrical and mechanical without a hitch.
-
Here's a zip, the thing is tiny, but I've done something wrong.
-
Uncheck the properties->Build->Register for Com interop
-
Good spot Dan.
-
THanks Daniel, that fixed it, I thought I'ld never get it going.
-
Glad I could help