Simply choose from the available .NET Framework templates. This is from VS2019:
Give it a name of your choice.I've called mine MyMakoProject and looks like this in the solution explorer:
Obtain the NuGet package
These are found in the Mako SDK release folder, accessible via your dedicated Global Graphics FTP account.
(Currently these packages are not available from a NuGet-compatible online source. Use the instructions below to use them with Visual Studio.)
To install it from a local source, refer to the C++ NuGet instructions to find out how. Otherwise, open the package manager by choosing "Manage NuGet Packages" after right-clicking MyMakoProject or References below it.
This enables you to browse for the NuGet package you wish to install. For example:
To install, select a package and click Install.
The underlying libraries that support the C# interface to Mako are x64 DLLs. This means the default platform target for a managed project, AnyCPU, is not suitable. (You will find that you can build but an exception will be thrown as soon as you run it.)
To solve this, set the Platform target in the project properties to x64, as seen here:
Alternatively, you can add an x64 configuration as described here.
mako-SWIG\swig\csharp\release-win-x64-vc16\app. Also attached on the right for convenience.
Finally, build the solution (Ctrl-Shift-B). The runtime components (
edlpspdfout.dll) are copied automatically to to the output folder.
Download Mako Converter written in C# here: