Visual Studio .NET 2003 - AcDbMgd.dll and AcMgd.dll problems

Visual Studio .NET 2003 - AcDbMgd.dll and AcMgd.dll problems

Anonymous
Not applicable
725 Views
4 Replies
Message 1 of 5

Visual Studio .NET 2003 - AcDbMgd.dll and AcMgd.dll problems

Anonymous
Not applicable
Hi,

I'm sure this is a dumb question to many but I've searched for an answer and failed so any assitance the groupcan give is appreciated.

I'm trying to load the *MGD.DLL files above as references for a VB.NET project but the error ."..This is not a valid assembly or COM component...." prevents them loading.

Tried the Objectarx wizard but that also fails to load. Is the version of Visual studio too old for the DLL type that I'm trying to load? I should the think the AutoCAD version is irrelevent at this stage.

More bucks required for an upgrade or a more simple solution?

Many thanks
Jonesy1
0 Likes
726 Views
4 Replies
Replies (4)
Message 2 of 5

norman.yuan
Mentor
Mentor
Why do you ask this question in VBA/COM forum?

VS2003 can only work with .NET framework 1.1. That means if the .NET DLL you are trying to set reference to is created with .NET1.0/1.0, then you are OK. If the .NET DLL is generated with later .NET version, you get the error message as you described. Different version of AutoCAD ObjectARX API is built with different .NET version. So, yes, AutoCAD version is NOT irrelevent. Which version of AutoCAD is installed in your computer?

Acad2006 is the last version with its .NET API built with .NET 1.1, so that you can use VS2003 to do the .NET API development. If you are using Acad2007 or later, you need VS2005 or later.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 5

Anonymous
Not applicable
What release of AutoCAD are the assemblies are you trying to reference from?

Since this an issue related to the managed API, your post is better placed
in the dotnet newsgroup.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2011

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6371327@discussion.autodesk.com...
Hi,

I'm sure this is a dumb question to many but I've searched for an answer and
failed so any assitance the groupcan give is appreciated.

I'm trying to load the *MGD.DLL files above as references for a VB.NET project
but the error ."..This is not a valid assembly or COM component...." prevents
them loading.

Tried the Objectarx wizard but that also fails to load. Is the version of Visual
studio too old for the DLL type that I'm trying to load? I should the think the
AutoCAD version is irrelevent at this stage.

More bucks required for an upgrade or a more simple solution?

Many thanks
Jonesy1
0 Likes
Message 4 of 5

Anonymous
Not applicable
Hi,

Thanks for the responses and sorry for posting here, new to the groups.

Version of CAD is LT 2007 soon to be upgraded to LT 2010 so my version of .NET is too old to support this. Only want to extract attribute details from the drawing table and not sure my boss will foot the bill for an upgrade of VS to make my life easier!

Thanks for the assistance and I'll make sure I post to the correct group in future.

Cheers
Jonesy1
0 Likes
Message 5 of 5

Anonymous
Not applicable
You can use VS2005/8 Express. It is free. You can also use #Develop, which
is also free. However, you need full AutoCAD, not LT.

"jonesy1" wrote in message news:6371824@discussion.autodesk.com...
Hi,

Thanks for the responses and sorry for posting here, new to the groups.

Version of CAD is LT 2007 soon to be upgraded to LT 2010 so my version of
.NET is too old to support this. Only want to extract attribute details from
the drawing table and not sure my boss will foot the bill for an upgrade of
VS to make my life easier!

Thanks for the assistance and I'll make sure I post to the correct group in
future.

Cheers
Jonesy1
0 Likes