Articles in this section
Category / Section

How to Apply Bold Reports Custom NuGet Packages

Published:
Updated:

You are having two options to apply the patched NuGet packages in development environment. You can find the details as follows.

Apply Custom NuGet packages using the Visual Studio

You have to use the Visual Studio package manager to restore the custom package from the location of having the Custom NuGet packages. You can find the details as follows.

  1. First, close your project in Visual Studio.

  2. Delete the bin and obj folders from the project location.

  3. Open the following location with help of Run.%USERPROFILE%\.nuget\packages\. Remove the boldreports.net.core folder.

  4. Download the provided NuGet packages.

  5. Unblock the downloaded zip file and Unzip the downloaded file
    unblock-custom-packages.3b6e8e5.8e5778602816a245c49932417ec11f39.png

  6. Open the Visual Studio NuGet package manager.

  7. Select the Settings icon in the Package Manager UI outlined as follows
    package-source-settings.dcce7b9.fa457b9bd901557205fe596877d0288a.png

  8. 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.

    add-custom-package.9739285.fa54e572e13dc6e56abf983b3b5a42c9.png

  9. Now, choose the newly added source in package source drop-down and select it.

    install-package.74c6e20.93834857239e996c55e91bc6eec2d784.png

  10. Install the Custom NuGet Packages.

Replaced the assemblies manually

You have to use the Visual Studio package manager to restore the custom package from the location of having the Custom NuGet packages.

  1. First, close your project in Visual Studio.

  2. Delete the bin and obj folders from the project location.

  3. Download the provided NuGet packages.

  4. Unblock the downloaded zip file and Unzip the downloaded file.

    unblock-custom-packages.3b6e8e5.8e5778602816a245c49932417ec11f39 (1).png

  5. Extract NuGet package using the 7-Zip extractor.

    7zip-extracter.764c54b.8e2f5cac1301057670af567bc372176d.png

  6. If you do not have the 7-zip, then change the nupkg file name as Zip and extract using the zip extractor.

    nupkg-to-zip.1d18745.7f24020933c0b8867b1019cecd352f3d.png

  7. Copy all folders from the lib or specific framework that you are using.

  8. Open the following location with help of Run.%USERPROFILE%\.nuget\packages\boldreports.net.core\{{site.releaseversion}}\lib. Pasted the copied files.

  9. Now, you can open and compile the project, this will use the provided patch assembly from the NuGet cache restored in your system.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied