TheSwamp

Code Red => .NET => Topic started by: Bryco on October 28, 2007, 07:23:30 PM

Title: 2008 Mechanical
Post 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
Quote
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.
Title: Re: 2008 Mechanical
Post by: Glenn R on October 28, 2007, 07:50:27 PM
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.
Title: Re: 2008 Mechanical
Post by: Glenn R on October 28, 2007, 07:52:05 PM
Or better yet, post your project and I'll take a look.
Title: Re: 2008 Mechanical
Post by: TR on October 28, 2007, 09:27:46 PM
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.
Title: Re: 2008 Mechanical
Post by: Bryco on October 28, 2007, 10:56:54 PM
Here's a zip, the thing is tiny, but I've done something wrong.
Title: Re: 2008 Mechanical
Post by: It's Alive! on October 29, 2007, 12:06:15 AM
Uncheck the properties->Build->Register for Com interop
Title: Re: 2008 Mechanical
Post by: Glenn R on October 29, 2007, 01:45:25 AM
Good spot Dan.
Title: Re: 2008 Mechanical
Post by: Bryco on October 29, 2007, 02:21:16 AM
THanks Daniel, that fixed it, I thought I'ld never get it going.
Title: Re: 2008 Mechanical
Post by: It's Alive! on October 29, 2007, 02:27:12 AM
Glad I could help