In my C # class, which worked well, and suddenly from yesterday, when I try to run the program, I get the following error. When I try to build a solution, it completes successfully.
Could not load type 'FileNet.Api.Admin.IRepository' from
assembly 'FileNet.Api, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 63fc2fb3fdeef4f1'.
When I try to debug a solution, I get the above error in SetOSNames (); I can not enter SetOSNames (); Method.
Please, help
private void IntializeVariables(IConnection connection)
{
domain = Factory.Domain.FetchInstance(connection, null, null);
domainName = domain.Name;
ost = domain.ObjectStores;
SetOSNames();
}
public void SetOSNames()
{
IEnumerator ie = ost.GetEnumerator();
while (ie.MoveNext())
{
IObjectStore os = (IObjectStore)ie.Current;
osNames.Add(os.DisplayName);
}
}
source
share