How to Apply Bold Reports® Custom NuGet Packages
To apply Bold Reports® custom (patched) NuGet packages in your development environment, either install them from a local package source in the Visual Studio package manager or replace the assemblies in the NuGet cache manually. Both options are described in the following sections.
How do I apply custom NuGet packages using Visual Studio?
To apply Bold Reports® custom NuGet packages in Visual Studio, use the Visual Studio package manager to restore the custom packages from the folder that contains them. Follow these steps.
-
First, close your project in Visual Studio.
-
Delete the bin and obj folders from the project location.
-
Open the following location with help of Run.
%USERPROFILE%\.nuget\packages\. Remove theboldreports.net.corefolder. -
Download the patched NuGet packages.
-
Unblock the downloaded zip file and unzip it.

-
Open the Visual Studio NuGet package manager.
-
Select the Settings icon in the Package Manager UI, outlined in the following image:

- Add a source, select +, edit the name, enter the custom package path in the Source control, and select Update. The source now appears in the selector drop-down.

- Choose the newly added source in the package source drop-down.

- Install the Custom NuGet Packages.
How do I replace the assemblies manually?
To replace the Bold Reports® assemblies manually, extract the patched NuGet package and copy its assemblies into the boldreports.net.core folder of your NuGet cache. Follow these steps.
-
First, close your project in Visual Studio.
-
Delete the bin and obj folders from the project location.
-
Download the patched NuGet packages.
-
Unblock the downloaded zip file and unzip it.

- Extract NuGet package using the 7-Zip extractor.

- If you do not have 7-Zip, change the
nupkgfile extension toZipand extract the file with a zip extractor.

-
Copy all folders from lib, or only the folder for the framework you use.
-
Open the following location with help of Run.
%USERPROFILE%\.nuget\packages\boldreports.net.core\15.1.10\lib. Paste the copied files. -
Open and compile the project. The project uses the patched assembly from the NuGet cache on your system.