My current project has dependencies on COM components which use side by side manifests. The manifest provided to me contains file
elements without any comClass
sub-elements like e.g.:
<file name="fred.dll">
</file>
Does this make any sense or can these be deleted safely? Some extra context the manifests were generated automatically in the past. And the given empty entries supposedly have caused issues in the passed, it was explained to me that strange things happen if a process depends on two different COM components that both have a manifest that contains the same empty file
element. Furthermore the dll's named in the empty element are straight C dll's that do not contain any COM objects.
I've looked at the available documentation, and the xsd provided by Microsoft tells me that it is syntactically correct to have an empty file
element. I have however not found the answer to the question if it makes sense to add file
elements to a manifest that don't describe any COM objects.