This executable depends on the .NET assembly `diCrSysAPINet.dll`. To package the executable with the dependent assembly, use ILMerge to create the combined file `CryptoSys5A.exe`. "%PROGRAMFILES(x86)%\Microsoft\ILMerge\ILMerge" /target:winexe /out:CryptoSys5A.exe CryptoSys5.exe diCrSysAPINet.dll ILMerge is available for free from the Microsoft Download Center