is that possible to merge all content or dll into .exe file
You can embed resources, Shawn Hargreaves blogged about it: https://blogs.msdn.microsoft.com/shawnhar/2007/06/12/embedding-content-as-resources/
If you want to embed dll’s that’s a bit harder, but it can be done in the same way (embed as resource). You’d have to extract them to a seperate file before you can dynamically load them though.
1 Like
thanks, but there is a downside. it will load the entire resource?
Yes, the embedded assets will be loaded in memory including the embedded resources, so you shouldn’t use this too much. I’ve used it before to include a font in a dll. It’s good for small stuff like that.
1 Like
thanks for the information
1 Like