I'm trying to create a new ORD C# project, whenever I try to add a reference to one of the "Cif" references Visual Studio shows the following error:
A reference to "C:\Program Files\Bentley\OpenRoads Designer\CONNECT Edition\OpenRoadsDesigner\Cif\Bentley.Cif.Formatting.4.0.dll" could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Didn't have this problem in ORD 10.08. I've tried targeting .NET 4.6.2, 4.7, & 4.7.2.
Hi Mike,
Bentley.Cif.Formatting.4.0.dll is a unmanaged DLL and can't be directly referenced in a C# application. Try to reference Bentley.CifNET.Formatting.4.0.dll which is a managed DLL.
Hope that helps.
Henrique
Henrique,
Thanks, forgot about the different between "Cif" & "CifNET" dlls. That was the problem.