Created On:  21 October 2010

Problem:

When using Micro Focus Net Express or Visual COBOL products for .NET managed code applications how does one determine which version of an assembly should be used when adding a project reference in the Visual Studio IDE?

If multiple products are installed, such as Net Express 5.1 and Visual COBOL then multiple versions of assemblies such as MicroFocus.COBOL.Runtime, will be installed.

Resolution:

Each product version uses a different set of version numbers for the NET assemblies for its run-time files.

Net Express 5.0                    Visual Studio 2005     MicroFocus.COBOL.Runtime 2.0
Net Express 5.1                    Visual Studio 2008     MicroFocus.COBOL.Runtime 3.5
Studio Enterprise Edition 6.0 Visual Studio 2008     MicroFocus.COBOL.Runtime.3.6
Visual COBOL 2010 R2      Visual Studio 2010     MicroFocus.COBOL.Runtime 3.8
Visual COBOL 2010 R3      Visual Studio 2010     MicroFocus.COBOL.Runtime 4.0

When developing managed code applications in Visual Studio you must reference only the correct run-time version for the product that you are running.
Incident #2482868