When calling the below function I get an exception:
LFDatabase db = ConnectionManager.GetConnectionManager(Session).GetLoggedInRepository();
An exception of type 'System.IO.FileNotFoundException' occurred in WebAccessCommon.dll but was not handled in user code
Additional information: Could not load file or assembly 'LfLicenseReader, Version=9.0.0.2, Culture=neutral, PublicKeyToken=607dd73ee2bd1c00' or one of its dependencies.
When I try to add the reference to LfLicenseReader.dll in the project, I get the following error when loading the webpage.
Could not load file or assembly 'LfLicenseReader' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Did anyone else face this issue?