Skip to content

CADability WPF integration issue #297

@vadimplotko

Description

@vadimplotko

Dear CADability Support Team,

I am trying to integrate CADability into a WPF application, but I am unable to get it working despite following the instructions in the documentation.

Here is what I have done so far:

  • Added references to System.Windows.Forms and WindowsFormsIntegration.
  • Since I could not find an installer as mentioned in the documentation, I downloaded the CADability source code from GitHub.
  • I successfully compiled the solution and referenced CADability.dll from the CADability.App project.
  • I attempted to host the CAD control inside a WindowsFormsHost in my WPF application.

However, when I try to use the CADControl in XAML, I get an error stating that CADControl cannot be found in the “clr-namespace:CADability”. Because of this, the application does not compile and the control is not recognized.

At this point, I am unsure whether I am missing an additional assembly reference, using the wrong namespace, or if there are extra steps required when building from source instead of using an installer.

I would really appreciate your guidance on how to correctly reference and use CADControl in a WPF application, or clarification on the recommended setup steps.

Thank you in advance for your time and support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions