A "Could not load type 'LFSO83Lib.LFVolumeChecksumReportError' from assembly" Error May Occur In Custom SDK Programs.

October 14, 2013 | KB: 1013343
Laserfiche SDK 8, Laserfiche SDK 9

Summary

In custom SDK programs using LFVolumeChecksumReportError, you may receive the following error message when getting properties from the class.

    Could not load type 'LFSO83Lib.LFVolumeChecksumReportError' from 'assembly YourCustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Workaround

Enable the Copy Local property and disable the Embed Interop Types property on the LFSO reference in your Visual Studio project.

  1. In Visual Studio Solution Explorer, click the Show All Files button to display the References item.
  2. Expand the References item and view the properties for LFSOxxLib.
  3. In the Properties window, change Copy Local to True.
  4. Change Embed Interop Types to False.