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

missing "AutoCAD Managed CS Project Application" in C# 2005 Express

3 REPLIES 3
Reply
Message 1 of 4
pciganek
403 Views, 3 Replies

missing "AutoCAD Managed CS Project Application" in C# 2005 Express

Hello -

I'm trying to get through a few labs for C# using Microsoft Visual C# 2005 Express. I downloaded and installed the ObjectARX 2006 kit and installed the ArxWizards.msi - but when I start C# there is no template available for an "AutoCAD Managed CS Project Application". Should this be added automatically or do I need to somehow import the template?

tia

Peter
3 REPLIES 3
Message 2 of 4
StephenPreston
in reply to: pciganek

Hi Peter,

The ARX Wizard and associated .NET components aren't designed to work with the Express IDEs, due to limitations of the IDEs themselves.

To setup a new .NET project, you'll need to create a new Class Library project and then reference the AutoCAD managed assemblies (acmgd.dll and acdbmgd.dll).

Even then, I think you'll find using C# Express to create AutoCAD addins to be extremely tedious. This is due to another limitation of the Express IDEs - you can't debug your application as it runs inside AutoCAD from VB Express or C# Express.

Regards,

Stephen Preston
Autodesk Developer Network
www.autodesk.com/adn
Cheers,

Stephen Preston
Autodesk Developer Network
Message 3 of 4
pciganek
in reply to: pciganek

Thank you Stephen,

This is unfortunate - as I'd hoped to be able to move to C# programming without any additional investment in software. I suppose that this means that full time architects / part time programmers like me should stick to Vlisp and VBA.

Regards,

Peter
Message 4 of 4
Anonymous
in reply to: pciganek

To debug in Express editions you need to change the following in file
"Lab#.csproj.user". This .user file is not create by the Express editions
nor were the labs. "Lab#.csproj.user". This can be found in the root
directory of each lab.

c:\AcadRoot\
c:\AcadRoot\acad.exe
Program

Also you need to uncheck "loaderlock" under
Debug->Exceptions->Managed Debugging Assistants.

Now you can debug and step through your code. Since using
the Export Template tool does not maintain references or the
loaderlock setting just use this file as a template.

--
gl - Paul
wrote in message news:5182843@discussion.autodesk.com...
Thank you Stephen,

This is unfortunate - as I'd hoped to be able to move to C# programming
without any additional investment in software. I suppose that this means
that full time architects / part time programmers like me should stick to
Vlisp and VBA.

Regards,

Peter

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