Jump to content

Can't get AutoCAD 2021 .NET wizards to be available in VS 2019


Recommended Posts

Hi all. I've programmed in autolisp for a long time, I want to try my hand at .NET (VB) for AutoCAD 2021 but I've hit a roadblock just installing the tools required to follow this "My First AutoCAD Plug-In" tutorial. https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/my-first-autocad-plug-overview.html

  • I'm on Win 10 Pro 64-bit, v20H2. It's a domain-joined PC but I have admin privileges. I use AutoCAD 2021 (vanilla).
  • I've installed Visual Studio 2019 Community from the Microsoft website, seems to be working perfectly on its own - I can create a Hello World! app successfully. (installed v16.8.2 a month or so ago, updated to v16.8.3 this morning)
  • I've downloaded and installed "objectarx_for_autocad_2021_win_64bit_dlm.sfx.exe" (by following links in the tutorial linked above, registering and getting a free license). It opens that usual AutoDesk SFX extractor, and extracts to the default location "C:\Autodesk\ObjectARX_for_AutoCAD_2021_Win_64bit_dlm". After extraction it closes, and doesn't appear to do anything. No error message, and no further installation windows. Older objectarx install instruction when I google it seem to indicate an installer should run next, from a "setup.exe" in the extracted folder. There is no "setup.exe" in my extracted folder.
  • I've downloaded "AutoCAD_2021_dotnet_wizards.zip" (by following links in the tutorial linked above), extracted & installed "AutoCADNetWizards.msi" - The installer appears, it all seems to work perfectly.
  • I open visual studio, create new project, search for "autocad" and no templates are found. The only templates available are what came installed with VS2019.


If anyone knows what I'm doing wrong or how I might be able to resolve it, please let me know. I've googled the life out of this issue, and it looks like I'm the only one encountering this problem (but I also note there are no guides that specifically address AC2021 and VS2019. They all apply to old versions of both)

Link to comment
Share on other sites

More notes:

  • In the Windows 10 "Settings / Apps / Apps & Features" list, I can see "AutoCAD 2021 .NET Wizards", "Autodesk ObjectARX 2021 Help Files" and "ObjectARX 2021 Wizards" installed
  • I did find this forum post on the autodesk forums, there's no answer yet but one person provided a workaround but it's a very long winded solution that I'm not 100% certain gives the same result as the official wizards - https://forums.autodesk.com/t5/net/visual-studio-2019-install-autocad-customization/td-p/9988348
Link to comment
Share on other sites

  • 1 month later...

I solved it using the way described  by this post: https://github.com/ADN-DevTech/AutoCAD-Net-Wizards/issues/8:


follow the listed steps:

  1. Run AutoCADNetWizards.msi, it should say setup success:)
  2. download the MSI Extractor,you can extract files from AutoCADNetWizards.msi
  3. you can get two zip files, one is AutoCADNetWizards\Visual
    Basic\Autodesk\AutoCAD 2021 VB plug‐in.zip, the other is AutoCADNetWizards\Visual C#\Autodesk\ AutoCAD 2021 CSharp plug‐in.zip
  4. copy these two template zip files to the visual studio template fold like this in my machine:D:\My Documents\Visual Studio 2019\Templates\ProjectTemplates
  5. Run the visual studio and new a project, in the templates select window, type "autocad" in the search text box, then you should find these two .net templates! good luck!
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...