Serious trouble with ILMerge and .NET 4.0

前端 未结 5 630
误落风尘
误落风尘 2020-12-28 22:41

For the life of me, I can\'t seem to get my .NET 4 application merging properly with ILMerge. Even after setting /targetplatform, /lib, /ndebug and adding a custom

5条回答
  •  春和景丽
    2020-12-28 23:22

    You could try Costura.

    https://github.com/Fody/Costura#how-it-works

    It basically takes Jeffrey Richters appraoch

    http://blogs.msdn.com/b/microsoft_press/archive/2010/02/03/jeffrey-richter-excerpt-2-from-clr-via-c-third-edition.aspx

    But does it in a way that you dont need to write any code. ie you dont need to write the "AssemblyResolve" method

提交回复
热议问题