Unable to create KM_Controller

Moderators: TomKerekes, dynomotion

Post Reply
Moray
Posts: 302
Joined: Thu Apr 26, 2018 10:16 pm

Unable to create KM_Controller

Post by Moray » Wed Sep 19, 2018 7:10 pm

All this is in VS2017.

All the provided C# examples I've tried, I can open and run from the relevant default KMotion install directory, however when I try and create a project/solution in another directory, they all fail at creating the KM_Controller.
I've even tried copying the SimpleGCodeWPF example to another directory, updating the KMotion_dotNet reference, and it still fails to create a KM_Controller.

I'm sure it's something obvious, but I'm failing to find it. Or is it some kind of windows permission issue, due to using a directory out with the KMotion directory? If so, can I just copy the KMotion_dotNet DLL to the project directory?

Moray
Posts: 302
Joined: Thu Apr 26, 2018 10:16 pm

Re: Unable to create KM_Controller

Post by Moray » Wed Sep 19, 2018 7:19 pm

OK, figured it out.
I need to set the target directories for the builds to the main KMotion Debug/Release directories.

User avatar
TomKerekes
Posts: 2741
Joined: Mon Dec 04, 2017 1:49 am

Re: Unable to create KM_Controller

Post by TomKerekes » Wed Sep 19, 2018 7:26 pm

Hi Moray,

You might also read this article.
Regards,

Tom Kerekes
Dynomotion, Inc.

Moray
Posts: 302
Joined: Thu Apr 26, 2018 10:16 pm

Re: Unable to create KM_Controller

Post by Moray » Wed Sep 19, 2018 7:58 pm

Thanks Tom, bookmarked for future reference.

Post Reply