Hey guys,
i've been trying my luck to understand the basics about how custom tools or usercontrols can be added.
The tutorial found here: https://community.coreldraw.com/sdk/w/articles/172/creating-custom-tools-in-coreldraw-and-corel-designer
is very well documented, but for some reason i can't get the added tool to start. It's just unresponsive and clicking on it won't actually fire the OnStartState Method/Event.
Does anyone have an idea what i'm missing here? Thanks in advance.
you can check post build event in csproj file, starting in line 206,
xcopy "$(ProjectDir)bin\Debug\*.*" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y /d /e
this command copy all file and folders in the debug dir to addons folder, for exemple...
that project looks fine. The official project addon template works only for x7, i updated this template in my docker project template, to works in newers corel and visual studio versions.
https://marketplace.visualstudio.com/items?itemName=bonus630.CorelDrawDockerTemplate
Ah, that explains alot... thank you, i'll check it out!