Need Help Here is my Code:
public List<string> LoadTenantSiteCollectionNames(Action<string> status)
{
try
{
this.SPBOXUITenant = new SharePointTenant(this);// Error there
return this.SPBOXUITenant.StrSiteCollections;
}
catch (Exception ex)
{
throw ex;
}
return null;
}
It is giving below error,
Could not load file or assembly 'Microsoft.Online.SharePoint.Client.Tenant, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)