Generate Nuget
This topic explains how to build the source code add-on and how to generate Nuget packages in the source code add-on.
Build
The below command will output a Source Code Add-On folder inside the base path.
npm install & gulp source-code-addonAfter successfully executing the above command, you will 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)
-->WPFGenerate Nuget-packages
-
Go to the
Source Code Add Onpath.{system drive}:\Program Files (x86)\Bold Reports\Source Code Add On
-
Open the
config.jsonfile in theSrcfolder. -
Mention the Nuget packages name in the
config.jsonunder the nugetPackages array, since support is provided for the below mentioned Nuget packages.- "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" -
Execute the below command to generate Nuget packages under ./Resources/nuget-packages.
npm install & gulp build