roberth
5 years agoIdeator I
Aras.OAuth.Model error when trying to connect using IOM.dll in a .Net Core app
I'm trying to integrate the IOM.dll into a .net core application and I get the error below.
"Could not load file or assembly 'Aras.OAuth.Model, Version=12.0.0.21092, Culture=neutral, PublicKeyToken=524d880b05474146'. The system cannot find the file specified."
I have the following code with the variable values changed:
string serverUrl = "">server/.../InnovatorServer.aspx";string database = "DataBaseName";string userName = "user";string password = "userPassword";HttpServerConnection connection = IomFactory.CreateHttpServerConnection( serverUrl, database, userName, password);Item loginResult = connection.Login(); //Get Error HereInnovator inn = IomFactory.CreateInnovator(connection);I have added the IOM.dll, Aras.Net.dll, and Aras.Diagnostics.dll as refrences from the Aris installation folder, and added a using Aras.IOM.