NANT build issues with licenses.licx

Posted by: emcknight on 28 September 2017, 6:03 am EST

  • Posted 28 September 2017, 6:03 am EST

    [activereports_archive]I have an automated NANT script that checks out code files from source safe and basically builds the project from scratch.  When I build my project in the VS .NET 2003 IDE, there are no errors that occur and the evaluation marks are gone.  However, when I build from using NANT, I get the following error:



    c:\usba\builds\vss\USBAMain\licenses.licx(1) : error LC0003 : Unabled to resolve type ‘DataDynamics.ActiveReports.ActiveReport, ActiveReports’



    It seems to me that it can’t find the ActiveReports license.  I know that it is licensed correctly on this machine because I can print without the evaluation marks. I’ve also run the ‘Create Web.Config file’ and the XML was generated successfully.



    I have a licenses.licx file that contains the following string:

    DataDynamics.ActiveReports.ActiveReport, ActiveReports



    Is this the correct string?  I’m at a loss for what I can do to fix this issue.

    [/activereports_archive]

  • Posted 28 September 2017, 6:03 am EST

    [activereports_archive]

    Did you ever resolve this issue? I’m having the same problem…

     

    [/activereports_archive]
  • Posted 28 September 2017, 6:03 am EST

    [activereports_archive]

    In order to run my Nant script successfully, I removed the Active Reports information from my licenses.licx file.  Then I set the SetLicense property on all of my report objects.  This allowed the Nant script to run successfully and my report files did not show the license information.

    It's not the optimal solution, but it's the only work around I could find.

    [/activereports_archive]
  • Posted 24 August 2021, 8:27 pm EST

    Does somebody have another solution than this?

    We currently face the same issue after updating to the current ActiveReports version.

    With VS it works fine. But on our build server we build with msbuild out of a NANT script.

    Then we get three of those nice LC0003 errors.

    We have a lot of reports and to set everywhere the license property is not really worth to think about it. Too much effort. And it was working before really well with an older ActiveReports version.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels