Visual Studio 2019 debug AutoCAD Electrical 2022

Visual Studio 2019 debug AutoCAD Electrical 2022

klonbeck
Advocate Advocate
808 Views
4 Replies
Message 1 of 5

Visual Studio 2019 debug AutoCAD Electrical 2022

klonbeck
Advocate
Advocate

Just recently switch from AutoCAD Electrical 2018 to 2022 and our IT group finally gave me Visual Studios again, running VS 2019.

 

I have everything basically working, however when I debug Visual Studio is starting AutoCAD Vanilla. In the past when I had Visual Studio the debug would launch AutoCAD Electrical. Something seems to have changed and I cant find the answer.

 

How do I make the debug launch AutoCAD Electrical 2022 from Visual Studio 2019?

0 Likes
Accepted solutions (3)
809 Views
4 Replies
Replies (4)
Message 2 of 5

fieldguy
Advisor
Advisor
Accepted solution

your debug settings in vs should look something like this.  you can get the required info from the "Target" in your desktop icon.

 

vs2019_debug_screen.PNG 

0 Likes
Message 3 of 5

didier_lourdelle
Collaborator
Collaborator
Accepted solution
Hello I use2021-11-18 16_42_22-ITEC_Plugin_commun - Microsoft Visual Studio (Administrateur).png

 

 

 

 

 

EESignature



Didier Lourdelle Consultant, Formateur & Développeur CAO/DAO EDWGPROS

Expertises : AutoCAD, AutoCAD LT, AutoCAD Electrical
Langages : VB.NET, Visual LISP, VBA, Diesel (Direct Interpretively Evaluated String Expression Language)
Base de données relationnelle : Microsoft Access, SQL Server, MySQL
Environnements de développement : Microsoft Visual Studio, Visual Studio Code, Editeur Visual LISP
Utilisations :AutoCAD MAP, Civil 3D, AutoCAD Architecture, AutoCAD MEP, Plant 3D, Civil 3D, RasterDesign, VehicleTracking, Autodesk Recap, Fusion 360, NavisWorks, Revit
Mon blog : Trucs & Astuces Sur AutoCAD LT !

 

0 Likes
Message 4 of 5

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

I guess you need to add

/product "ACADE"

to the commandline parameters.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 5

klonbeck
Advocate
Advocate

Thank @fieldguy@didier_lourdelle  & @Alfred.NESWADBA for the input.

I was thinking the Command line arguments in Visual Studio would be the answer, but I was able to find any clear examples.

Added the language, product and the profile information. AutoCAD Electrical is now launching when I debug.

ACE debug setup.jpg

0 Likes