ILMerge question

前端 未结 1 1863
天涯浪人
天涯浪人 2021-01-21 01:34

I\'m trying to merge multiple assemblies into one as my \'Proxy\' assembly for a WCF service. Currently, users of the Proxy need to reference the assembly containing the data co

1条回答
  •  野的像风
    2021-01-21 01:56

    Solved.

    • I did NOT use the configuration above
    • I did NOT use the ILMerge.MSBuild.Tasks.dll

    Here's the steps I took:

    • Added a reference to ILMerge.exe (the one from Microsoft Research) to my project
    • Added this PostBuild entry to my MSBuild file (.csproj):

      ILMerge /out:FooBar.dll Bar.dll Foo.dll

    0 讨论(0)
提交回复
热议问题