If you've integrated ILMerge using MsBuild from the MsBuildCommunityTasks, then simply calling a <delete /> task after it will help you get rid of the PDB files, from which you can generate the names based on the inputs for ILMerge.
It's not possible to merge Managed and Unmanaged assemblies using ILMerge, since unmanaged assemblies are, by definition, not made up of Intermediate Language. There are other tricks, such as embedding these as resources or using more advanced linking tools, but it's certainly not possible with just ILMerge.
If you've integrated ILMerge using MsBuild from the MsBuildCommunityTasks, then simply calling a
<delete />
task after it will help you get rid of the PDB files, from which you can generate the names based on the inputs for ILMerge.It's not possible to merge Managed and Unmanaged assemblies using ILMerge, since unmanaged assemblies are, by definition, not made up of Intermediate Language. There are other tricks, such as embedding these as resources or using more advanced linking tools, but it's certainly not possible with just ILMerge.