Page 1 of 1

Unable to create KM_Controller

Posted: Wed Sep 19, 2018 7:10 pm
by Moray
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?

Re: Unable to create KM_Controller

Posted: Wed Sep 19, 2018 7:19 pm
by Moray
OK, figured it out.
I need to set the target directories for the builds to the main KMotion Debug/Release directories.

Re: Unable to create KM_Controller

Posted: Wed Sep 19, 2018 7:26 pm
by TomKerekes
Hi Moray,

You might also read this article.

Re: Unable to create KM_Controller

Posted: Wed Sep 19, 2018 7:58 pm
by Moray
Thanks Tom, bookmarked for future reference.