Error compiling a *.dll with AR

Posted by: roman.mueller on 30 May 2020, 2:10 pm EST

    • Post Options:
    • Link

    Posted 30 May 2020, 2:10 pm EST

    I have a class library project for .NET Framework 4.8 which contains a control hosting the ActiveReports WPF viewer.

    I have two NuGet packages installed:

    • GrapeCity.ActiveReports
    • GrapeCity.ActiveReports.Viewer.Wpf

    I have a licenses.licx file, which contains two rows:

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports

    GrapeCity.ActiveReports.Viewer.Wpf.Viewer, GrapeCity.ActiveReports.Viewer.Wpf

    When I compile the project, it always says:

    GrapeCity License Manager, 1.4

    License for ActiveReports 14 is successfully generated.

    CSC : error CS1566: Error reading resource ‘.gclicx’ – ‘Could not find file ‘C:.…\Debug.gclicx’.’

    What I’m doing wrong?

  • Posted 1 June 2020, 12:16 am EST

    Problem solved. It was due to a debug configuration named “Debug (local)”. ActiveReports seems not to accept that.

  • Posted 1 June 2020, 2:41 am EST

    Hello,

    I am glad that you solved your problem. However, could you please try after adding the following line in the csproj file to disable the generating the license:

    <DisableGclm>True</DisableGclm>
    

    Hope it helps.

    Thanks.

    Mohit

Need extra support?

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

Learn More

Forum Channels