Visual Studio and XCad tutorial

Good day everyone,

I've recently started using Visual Studio and XCad, and I followed a tutorial where a "Hello World" message box should appear when I open SolidWorks. The build process seemed fine, and the rebuild was successful, but when I launched SolidWorks, the popup didn’t appear.

I'm using SolidWorks 2024 with the .NET 8 Framework, whereas the tutorial was based on .NET 6. Could the framework difference be causing the issue? Additionally, CAD+ isn't activated—could that also be a factor?

On another note, I'm looking for a beginner-friendly tutorial on using Visual Studio with XCad. The ones I've found so far seem too complex. If anyone can recommend a simpler guide, I'd really appreciate it. Thanks in advance!

Answers 2
KC
KC 2025-04-08 Best Answer

By "XCad", do you mean this XCad? If so, then your best choices are through them as it's their framework. They do have a YT channel and this play list rehash.

RC
RC 2025-04-09

The "Hello World" XCad message box not appearing in SolidWorks 2024 (.NET 8) after following a .NET 6 tutorial is likely due to the **.NET Framework incompatibility** between your add-in's target and SolidWorks' requirements, and the fact that **CAD+ isn't activated** within SolidWorks. To fix this, **activate CAD+ in SolidWorks' Add-Ins**, **re-target your Visual Studio project to the .NET Framework version officially supported by SolidWorks 2024**, ensure your XCad NuGet packages are compatible, rebuild your add-in, and then restart SolidWorks. e-zpassny com