Why won't you merge NtApiDotNet.dll to the main executable? You can add a post-build event or use the ILmerge plugin directly.