Question

I am trying to generate a manifest for a set of COM objects that are being used in our code as registration-free COM. For that purpose I created a VB project in VS 2010 and added the COM objects DLLs as dependencies. The problem is I do not see them listed as dependencies in the generated manifest. Am I missing something simple like a project setting to generate the proper manifest listing the dependencies?

Was it helpful?

Solution

You left out too many details and the VB.NET IDE hides too much to do this right. It is not automatic.

Starting point is to force it to show more. Locate the "Show All Files" toolbar button in the Solution Explorer window (use the tooltip to find it back). Click it and you now get the "References" node added to the project.

Open it and locate the COM component that you added to the project. Select it and look at the Properties window. Set the "Isolated" property to True. Rebuild the project. Be sure to look in the Output window for any warnings. And to look at the .manifest file on disk instead of the one the IDE shows you if you added a manifest to your project yourself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top