Generate Nuget

To generate NuGet packages from the Bold Reports® Source Code Add-On, list the packages in the nugetPackages array of config.json and run npm install & gulp build. You can also build the whole add-on with npm install & gulp source-code-addon.

How do I build the Source Code Add-On?

To build the Bold Reports® Source Code Add-On, run the following command, which outputs a Source Code Add-On folder inside the base path.

npm install & gulp source-code-addon

After the command runs successfully, you get the compiled folder.

Folder Structure

    -->Base(1)
    -->build(9)
        -->compressor(2)
        -->config(1)
        -->js(5)
    -->cireports(11)
    -->Common(2)
    -->nuget-spec(8)
    -->UWP(2)
    -->Web
        -->JavaScript(8)
        -->Reporting.web(2)
        -->Reports.ASPNET(1)
    -->WPF

How do I generate NuGet packages from the Source Code Add-On?

To generate NuGet packages from the Bold Reports® Source Code Add-On, add the package names to the nugetPackages array in config.json and run npm install & gulp build.

  1. Go to the Source Code Add On path.

    {system drive}:\Program Files (x86)\Bold Reports®\Source Code Add On

  2. Open the config.json file in the Src folder.

  3. Mention the NuGet package names in the config.json under the nugetPackages array. The following NuGet packages are supported.

    - "BoldReports.Web",
    - "BoldReports.UWP",
    - "BoldReports.Net.Core",
    - "BoldReports.WPF",
    - "BoldReports.AspNet.Core",
    - "BoldReports.Mvc4",
    - "BoldReports.Mvc5",
    - "BoldReports.WebForms",
    - "BoldReports.Global",
    - "BoldReports.Javascript",
    - "BoldReports.Javascript.Extensions"
  4. Execute the following command to generate NuGet packages under ./Resources/nuget-packages.

    npm install & gulp build