Author Topic: 2008 Mechanical  (Read 3144 times)

0 Members and 1 Guest are viewing this topic.

Bryco

  • Water Moccasin
  • Posts: 1882
2008 Mechanical
« 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.
« Last Edit: October 28, 2007, 07:28:54 PM by Bryco »

Glenn R

  • Guest
Re: 2008 Mechanical
« Reply #1 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.

Glenn R

  • Guest
Re: 2008 Mechanical
« Reply #2 on: October 28, 2007, 07:52:05 PM »
Or better yet, post your project and I'll take a look.

TR

  • Guest
Re: 2008 Mechanical
« Reply #3 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.

Bryco

  • Water Moccasin
  • Posts: 1882
Re: 2008 Mechanical
« Reply #4 on: October 28, 2007, 10:56:54 PM »
Here's a zip, the thing is tiny, but I've done something wrong.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8659
  • AKA Daniel
Re: 2008 Mechanical
« Reply #5 on: October 29, 2007, 12:06:15 AM »
Uncheck the properties->Build->Register for Com interop

Glenn R

  • Guest
Re: 2008 Mechanical
« Reply #6 on: October 29, 2007, 01:45:25 AM »
Good spot Dan.

Bryco

  • Water Moccasin
  • Posts: 1882
Re: 2008 Mechanical
« Reply #7 on: October 29, 2007, 02:21:16 AM »
THanks Daniel, that fixed it, I thought I'ld never get it going.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8659
  • AKA Daniel
Re: 2008 Mechanical
« Reply #8 on: October 29, 2007, 02:27:12 AM »
Glad I could help