the last error message just tells you that you can't run a .dll on its own (but the compilation went through fine). That is most likely because you have built the plugin version of HISE. You either need to build the standalone project or load this plugin into a host.