Previous Topic Next topic Print topic


Adding References to Tracing-related .dll Files

To enable CTF tracing for an application you must edit the solution in Visual Studio to include references to the following tracing-related .dll files:

File Location
MicroFocus.COBOL.Tracing.Azure.dll %ProgramFiles(x86)%\Reference Assemblies\Micro Focus\Visual COBOL\1.0\v4.0\Azure\v<Azure-SDK-Version>
MicroFocus.COBOL.Tracing.dll %ProgramFiles(x86)%\Reference Assemblies\Micro Focus\Visual COBOL\1.0\v4.0

When adding each reference, ensure that you set the Copy Local property to True.

When working with Microsoft Azure SDK 3.0, you must also perform the following to ensure the required versions of the Azure assemblies are used:

  1. After adding the references, open the Package Manager Console.
  2. Select the project to which the references have been added.
  3. Execute the following command:
    Add-BindingRedirect
Previous Topic Next topic Print topic