In the VS2010 solution, I have a license.licx file that contains:
DataDynamics.ActiveReports.ActiveReport, ActiveReports6, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff DataDynamics.ActiveReports.Web.WebViewer, ActiveReports.Web, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff DataDynamics.ActiveReports.Export.Pdf.PdfExport, ActiveReports.PdfExport, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff DataDynamics.ActiveReports.Design.Designer, ActiveReports.Design6, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff DataDynamics.ActiveReports.Viewer.Viewer, ActiveReports.Viewer6, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
If I create a solution on a machine that has a license for ActiveReport, then everything is fine. If I create a solution on a machine that does not have a license for ActiveReport, I get:
Error 1 'Failed to load the file or assembly' ActiveReports6, Version = 6.1.2814.0, Culture = neutral, PublicKeyToken = cc4967777c49a3ff 'or one of its dependencies. The operation is not supported. (Exception from HRESULT: 0x80131515) 'LC
On a machine that does NOT have a license for ActiveReport, if I delete the above lines from the license.licx file, then everything builds in order. I always thought that if the license is not found, the unlicensed version will be used, but it will not kill the assembly. How to get this build solution on any computer, regardless of whether it is licensed or not?