.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to add AutoCAD Managed DLL, Files not found in default path.

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
751 Views, 5 Replies

Failed to add AutoCAD Managed DLL, Files not found in default path.

VS2008 and AutoCAD 2010. Has anyone seen this when creating a new project?
VS hangs and the error is thrown. Project is created without any references.
Both
AutoCAD and ARX are in the default location. Registry error?
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Is this with the Autodesk Wizard?

If so, Have you tried the new one they just released?

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210208@discussion.autodesk.com...
VS2008 and AutoCAD 2010. Has anyone seen this when creating a new project?
VS hangs and the error is thrown. Project is created without any references.
Both
AutoCAD and ARX are in the default location. Registry error?
Message 3 of 6
Anonymous
in reply to: Anonymous

Yes it is through the Wizard that comes with the ARX api. I have not tried
the
new one as it seemed it was still under beta and I'm on a development
machine.
I did a reinstall of the wizard to no avail... I also noticed that the
install creates
an new entry for Visual C# under project types which I don't think happeded
before.

Are you using the new Wizard without issue? If so I'll just give that a go.

"Tony Tanzillo" wrote in message
news:6210214@discussion.autodesk.com...
Is this with the Autodesk Wizard?

If so, Have you tried the new one they just released?

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210208@discussion.autodesk.com...
VS2008 and AutoCAD 2010. Has anyone seen this when creating a new project?
VS hangs and the error is thrown. Project is created without any references.
Both
AutoCAD and ARX are in the default location. Registry error?
Message 4 of 6
Anonymous
in reply to: Anonymous

Nope, don't use their wizards, and I generally advise others to avoid them
as well, and instead just create and use Visual Studio project and item
templates. There's not really much the Autodesk wizard does that one can't
just as easily do using Visual Studio templates.

I use a number of project templates that I've made for specific types of
projects. They already include references to AutoCAD's assemblies and as
well as other assemblies I routinely use, along with commonly used code and
classes (like for example, a class that implements IExtensionApplication).

You can for example, modify a project template and insert replacable
parameters in code files (e.g., '$safeprojectname$' expands to the name of
the project which the template is used to create). That gives you some basic
control over the naming of classes and so forth, without the need for
script-based wizards. I also create and use Item templates which make it
very easy to add commonly-used classes and code as well.

The problem with Autodesk's wizard, and wizards in general, is that they do
not give you the flexibility of including your own commonly-used items (code
files, references and so on) that you routinely use in some types of
projects, but not in others.

You can very easily create multiple project templates, and leverage that by
creating different templates for each specific type of project, where each
template can include or reference items you use with a given type of
project.

Just build a simple project, and include whatever code you want to include,
and then just use Export Template on the File menu.

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210217@discussion.autodesk.com...
Yes it is through the Wizard that comes with the ARX api. I have not tried
the
new one as it seemed it was still under beta and I'm on a development
machine.
I did a reinstall of the wizard to no avail... I also noticed that the
install creates
an new entry for Visual C# under project types which I don't think happeded
before.

Are you using the new Wizard without issue? If so I'll just give that a go.

"Tony Tanzillo" wrote in message
news:6210214@discussion.autodesk.com...
Is this with the Autodesk Wizard?

If so, Have you tried the new one they just released?

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210208@discussion.autodesk.com...
VS2008 and AutoCAD 2010. Has anyone seen this when creating a new project?
VS hangs and the error is thrown. Project is created without any references.
Both
AutoCAD and ARX are in the default location. Registry error?
Message 5 of 6
Anonymous
in reply to: Anonymous

Thank Tony!
"Tony Tanzillo" wrote in message
news:6210298@discussion.autodesk.com...
Nope, don't use their wizards, and I generally advise others to avoid them
as well, and instead just create and use Visual Studio project and item
templates. There's not really much the Autodesk wizard does that one can't
just as easily do using Visual Studio templates.

I use a number of project templates that I've made for specific types of
projects. They already include references to AutoCAD's assemblies and as
well as other assemblies I routinely use, along with commonly used code and
classes (like for example, a class that implements IExtensionApplication).

You can for example, modify a project template and insert replacable
parameters in code files (e.g., '$safeprojectname$' expands to the name of
the project which the template is used to create). That gives you some basic
control over the naming of classes and so forth, without the need for
script-based wizards. I also create and use Item templates which make it
very easy to add commonly-used classes and code as well.

The problem with Autodesk's wizard, and wizards in general, is that they do
not give you the flexibility of including your own commonly-used items (code
files, references and so on) that you routinely use in some types of
projects, but not in others.

You can very easily create multiple project templates, and leverage that by
creating different templates for each specific type of project, where each
template can include or reference items you use with a given type of
project.

Just build a simple project, and include whatever code you want to include,
and then just use Export Template on the File menu.

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210217@discussion.autodesk.com...
Yes it is through the Wizard that comes with the ARX api. I have not tried
the
new one as it seemed it was still under beta and I'm on a development
machine.
I did a reinstall of the wizard to no avail... I also noticed that the
install creates
an new entry for Visual C# under project types which I don't think happeded
before.

Are you using the new Wizard without issue? If so I'll just give that a go.

"Tony Tanzillo" wrote in message
news:6210214@discussion.autodesk.com...
Is this with the Autodesk Wizard?

If so, Have you tried the new one they just released?

--
http://www.caddzone.com

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

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm

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


"Paul Richardson" wrote in message
news:6210208@discussion.autodesk.com...
VS2008 and AutoCAD 2010. Has anyone seen this when creating a new project?
VS hangs and the error is thrown. Project is created without any references.
Both
AutoCAD and ARX are in the default location. Registry error?
Message 6 of 6
StephenPreston
in reply to: Anonymous

Hi Paul,

The only way the new Wizard is still in Beta is we've not fully decided what template code should appear in the default cs/vb files that come with it. That will be resolved very soon, at which time we'll post the Wizard on the AutoCAD Developer Center.

We've moved away from the approach taken with the ObjectARX Wizard - the new .NET Wizard is extremely simple, and doesn't enforce an underlying application architecture on the user (like the C++ Wizard does). I'd recommend .NET developers (who don't use ObjectARX) should use this Wizard instead of installing the ObjectARX Wizard in the ObjectARX SDK. We'll be removing the .NET component of that Wizard soon.

Of course, if you prefer to make your own template from a project you create from scratch, then that's really easy in Visual Studio. Kean mentions this in his blog posting with the Wizard - http://through-the-interface.typepad.com/through_the_interface/2009/06/a-new-project-wizard-for-autocad-net-development.html. Some people will always prefer to setup their own templates - some will be happy to use the Wizard.

Cheers,

Stephen Preston
Autodesk Developer Center
Cheers,

Stephen Preston
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost