I have compiled my executable in C # for a .NET Native image using ngen.exe
, I have the location of the file, but when I run Windows it says that the executable is invalid.
My goal was to make my application written in C # independent of the .NET Framework and / or store .NET in a DLL next to the output executable. The input executable is a simple "Hello World" with no dependency.
If you can not run the image, can I decompile your code to recompile to C ++ and compile under Windows32?