Can .Net Application be converted into a Portable App i.e. single .exe
问题 Can a .Net application be converted into a single .exe portable application? i.e. no installer, it just runs? I imagine all the dll's, resources etc need embedding into the exe? If so, how would I do this? Thanks 回答1: You could use ILMerge to merge all assemblies into a single executable. But you still need the framework runtime installed. To turn your executable into a native executable you may take a look at this question. 回答2: No - you can't statically include the .net runtime in your own