Can .Net Application be converted into a Portable App i.e. single .exe

前端 未结 5 498
太阳男子
太阳男子 2021-01-05 13:19

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

5条回答
  •  温柔的废话
    2021-01-05 13:55

    Yes, a .NET application can be a single .exe file. You can either only write one assembly with no dependencies outside of the .NET framework, or you can combine multiple assemblies into one using ILMerge. The user will still need the appropriate version of the .NET framework installed, though; there's no way around that.

提交回复
热议问题