strongnamer icon indicating copy to clipboard operation
strongnamer copied to clipboard

copy .xml file to SignedAssemblies folder if assembly is signed

Open oleksabor opened this issue 3 years ago • 0 comments

Hi there

I've noticed that the VS editor does not show the package class documentation comment when StrongNamer adds strong name.

I'd like to add new feature to copy .xml documentation file to the SignedAssemblies folder in case if an assembly has been signed.

It looks like the best way is to add one more output task item SignedAssemblies (like SignedAssembliesToReference or NewCopyLocalFiles) to get a list of assemblies were signed.

Then it should be possible to modify StrongNamer.targets file with a new Copy command like

    <Copy SourceFiles="@(SignedAssemblies -> Replace('.dll', '.xml'))" DestinationFolder="$(IntermediateOutputPath)SignedAssemblies"/> 

Does it have sense ?

Regards

oleksabor avatar Apr 16 '21 14:04 oleksabor