Building a standalone .Net .exe file containing native code is possible with the “It Just Works” facility, but when you want to mix C# and Assembly language some more work is involved. We show the way to do it in 32-bit (We have done it for 64-bit a few days ago). Click HERE.
Building a standalone 64-bit .Net .exe file that is statically linked with an Assembly Language compiled object file is something I would say “is not possible” a few months ago. Actually, it is possible, because .Net has all sorts of tricks to create the illusion that it is what it is not not. Let’s read my page about “Mixing .Net and Assembly Language in a standalone 64-bit exe” and see how this can be done and in 64-bit (of course can be done in 32-bit as well)