This action will attempt to fix com interop refereregistrynces in a C#, VB.NET or J# Visual Studio project File. The most reason this might need to be done is if the Typlibrary guids have changed since the reference was added to the project in Visual Studio. An example of when this might happen is when a .NET project is importing a VB6 COM DLL that is not compiled with binary compatibility enabled. VB6 will change the typelibrary guid's every time the project is built. This action should be used after the VB6 Action and before the VS.NET action or the C#/VB.NET or J# Project compiler actions.

On this page:

 


The project File property should point to the VS.NET project file (not the solution) that references the com dll. The reference name is the name of the reference as it appears in the references section of the solution explorer in Visual Studio. The ProID should be set to the format TyplibName.ClassName, for example Word.Application. This prog id enables the action to find the typelibrary entry in the registry and find the correct guid and version numbers for the com dll. The vs.net project file must be writeable as the action will update the reference entry in the file.

Options

Options

Project file

The C#, VB.NET or J# Visual Studio project file which contains the reference to be updated. 

Reference name

The reference contained in the project which should be updated in the registry.

ProgID

The references key name in the registry. 


  • No labels