How to Add Reference using UNC to a Visual COBOL Project

0 Likes
over 1 year ago

Problem:

I have a third-party assembly that is stored on a network drive. If I add a reference and browse to the location using UNC e.g. \\RemoteAssemblies\MyReference.dll, the following errors occur :

errormsg.PNG

How can I ensure the reference is added correctly?

Solution:

The UNC path can be added to the Namespaces References Paths list in the project properties :

Namespace.png

Add the UNC path you require :

referencepath.PNG

Now Add Reference and Browse to the UNC path and choose the .DLL you require :

selectdll.PNG

The Reference will be added :

solexplorer.PNG

The two errors :

Error COBCH0845 Unknown type 'type BasicEncrypt' … and Warning MSB3245 should not occur.

 

Comment List
Anonymous
Related Discussions
Recommended