- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Originally, I had already programmed some tools for AutoCAD 2010 in Visual Basic .Net and migrated them to the latest version every few versions over the years. However, I haven't really followed the development of programming for AutoCAD.
The tools that I programmed made our work easier in many cases. I'm probably not a particularly good programmer, but somehow I usually managed it. With the current version for 2025, I can only just get the example from Autodesk to work.
I had always used the wizard for the respective versions of Visual Studio, but apparently it no longer exists. In the past, the wizard usually only required me to enter the program path to the AutoCAD installation and I was able to start and debug AutoCAD directly from Visual Studio. How does it work with the 2025 version?
If I now click on debug in Visual Studio, I get the following message (translated from German)
“A project with the output type ‘Class library’ cannot be started directly. To debug the project, add an executable project to this solution ...”
Somewhere I have to enter the path to acad.exe but I can't find it in Visual Studio 2022 (version 17.10.0)
Solved! Go to Solution.