After adding a reference to an unrelated .NET library to my code, the call to LateBindingApi.Core.Factory.Initialize() results in FileNotFoundException.
The library in question is
Time Period Library for .NET but it is not used in any way in the class using the NetOffcie assemblies to export some data from a datagrid to an Excel spreadsheet. There is no "using Itenso.TimePeriod;" statement
at the top of the file and the code in this class is not using that assembly in any way...
Why would LateBindingApi need to look for this assembly and throw this exception which happens even if I copy the assembly dll to the folder LateBindingApi is looking for it in? Any ideas how to solve the problem?
Message: Could not load file or assembly 'Itenso.TimePeriod, Version=22.214.171.124, Culture=neutral, PublicKeyToken=d7f23b760ed5c748' or one of its dependencies. The system cannot find the file specified.