I need to merge my assemblies that have references to the XNA Framework. When merging the assemblies (exe and dll's) into the executable, the game starts but crashes after a while when leaving the Splash screens and entering the menu system. I tried to merge with ilMerge, Eziriz .net Refactor and IntelliLock but nothing worked.
My question: Is merging of assemblies with XNA references impossible or does somebody know a way to do so.
I found a thread about merging on the forums but with nearly zero result. To explain what should be merged and why:
- The assemblies that should be merged are my game engine modules (dll) and the game executable.
- The reason of merging is obfuscating the result without exposing public methods in the dlls.
- Not the framework itself should be merged!
I know that I can copy and add all relevant files from the different projects to the games project, but that implies that I would have different versions of the engine when modifying the modules ... or is there a way to add shortcuts (to the content of the engine module projects)???
Thank you so much! :)