C# 把多个dll合成一个dll
<Target Name="ILMerge">
<Exec Command="$(ILMergeConsolePath) bin\Debug\ /out:bin\Debug\ bin\Debug\ bin\Debug\ bin\Debug\ bin\Debug\" />
</Target>
<Target Name="_ProjectRemoveDependencyFiles" AfterTargets="AfterBuild" DependsOnTargets="ILMerge">
<ItemGroup>
<_ProjectDependencyFile Include="bin\Debug\" />
<_ProjectDependencyFile Include="bin\Debug\" />
<_ProjectDependencyFile Include="bin\Debug\" />
<_ProjectDependencyFile Include="bin\Debug\" />
</ItemGroup>
<Delete Files="@(_ProjectDependencyFile)" />
</Target>