Refer to the following steps to configure Bold Reporting NuGet packages for UWP application.
The Bold Reporting NuGet packages are published in Nuget.org
. To configure the online packages, use the following steps:
Open Visual Studio application.
On the Tools menu, select Options.
Expand the NuGet Package Manager and select Package Sources.
Click the Add button, enter the following Package Name
and Package Source URL
, and then click Update.
Name: NuGet.org
Source: https://api.nuget.org/v3/index.json
The NuGet Package Manager can be used to search and install NuGet packages in Visual Studio solution or project:
Package Manager | Manage NuGet Packages for Solution
. Alternatively, right-click the project/solution in Solution Explorer tab, and choose Manage NuGet Packages.NuGet.org
package is selected in the Package source drop-down. Select package source, search for the BoldReports.UWP
package, and then click Install button.To install the Reporting component using the Package Manager Console as NuGet packages,
On the Tools menu, select NuGet Package Manager, and then click Package Manager Console.
Run the following NuGet installation commands:
#install specified package in default project
Install-Package <Package Name>
#install specified package in default project with specified package source
Install-Package <Package Name> -Source <Source Location>
#install specified package in specified project
Install-Package <Package Name> - ProjectName <Project Name>
For example:
# install specified package in default project
Install-Package BoldReports.UWP
#install specified package in default project with specified Package Source
Install-Package BoldReports.UWP –Source “https://api.nuget.org/v3/index.json”
#install specified package in specified project
Install-Package BoldReports.UWP -ProjectName BoldReportsApplication
NuGet packages can be updated to their specific version or latest version available in the Visual Studio solution or project:
To update the installed Bold Reporting NuGet packages using the Package Manager Console:
On the Tools menu, select NuGet Package Manager, and then select Package Manager Console.
Run the following NuGet installation commands:
#Update specific NuGet package in default project
Update-Package <Package Name>
#Update all the packages in default project
Update-Package
#Update specified package in default project with specified package source
Update-Package <Package Name> -Source <Source Location>
#Update specified package in specified project
Update-Package <Package Name> - ProjectName <Project Name>
For example:
#Update specified Bold Reporting NuGet package
Update-Package BoldReports.UWP
#Update specified package in default project with specified Package Source
Update-Package BoldReports.UWP –Source “https://api.nuget.org/v3/index.json”
#Update specified package in specified project
Update-Package BoldReports.UWP -ProjectName BoldReportsApplication
Using the NuGet CLI, all the NuGet packages in the project can be updated to the available latest version:
Download the latest NuGet CLI.
To update the existing
nuget.exe
to latest version use the following command:
nuget update -self
Open the downloaded executable location in the command window. Run the following “update commands” to update the Bold Reporting NuGet packages.
#update all NuGet packages from config file
nuget update <configPath> [options]
#update all NuGet packages from specified Packages Source
nuget update -Source <Source Location> [optional]
configPath
is optional. It identifies thepackage.config
or solutions file lists the packages utilized in the project.
For example:
#Update all NuGet packages from config file
nuget update “C:\Users\BoldReportsApplication\package.config”
#Update all NuGet packages from specified Packages Source
nuget update -Source “https://api.nuget.org/v3/index.json”
The Update command is not working as expected in Mono (Mac and Linux) and projects using PackageReference format.