Sunday, 5 August 2018

Enable RDLC Report in Visual Studio 2017

In this Article, you will learn How to enable or install RDLC Report Designer in Visual Studio 2017.



Visual Studio 2017 does not have RDLC Reporting Tools installed by default in the toolbox. We have to install it by downloading and installing the Extensions Microsoft RDLC Report Designer for the Visual Studio. I have already posted a few articles on:


A few people asked me that they were not able to see RDLC Report options in the Visual Studio so, this article will definitely help them in order to Enable RDLC Report in Visual Studio 2017.

Let’s Begin:
We can Install Microsoft RDLC Report for Visual Studio 2017 in two ways:
1) Installing from Extensions and Updates in Visual Studio 2017. Go to Visual Studio’s Tools Menu > Extensions and Update > Select Microsoft RDLC Report Designer and Reporting Services Project for the Visual Studio.
After Installing, you have to restart the Visual Studio.
2) Downloading and Installing from Visual Studio MarketPlace. (Search Microsoft RDLC Report in the search bar and you will easily find the link)
Once the installation completes, you have to close/ restart all the instances of the Visual Studio.
Create/Open a project in visual studio. You will see that Report and Report Wizard is now available in the Visual Studio 2017.
Now let’s add RDLC Report Viewer in the toolbox. As I am working on a Windows form application, I need report viewer control in the toolbox so that I can Drag and Drop it easily on the forms where I want to use it.
Open NuGet Package Manager and search for Microsoft Report Viewer.
You can also run below commands in NuGet Package Console in order to download the report Viewer.

For WebForms use:
"Install-Package Microsoft.ReportingServices.ReportViewerControl.WebForms"

For Windows Form use:
"Install-Package Microsoft.ReportingServices.ReportViewerControl.WinForms"

Now Right click on the Toolbox in order to add a new tab and give it a name (Reporting Services).
Right click on the newly added tab and click on choose items.
Go to the downloaded package's location and select the Reporting Views DLL. (As I ran Winforms command in NuGet package console for the Windows Form application, I have to select WinForm DLL).
Click on Ok button.
Report Viewer control added successfully to the toolbox.

Now you can use the RDLC Report and Services in Visual Studio 2017 without any problem.
Hope this will help you.
Thanks.

For more details related to How to use the Report Viewer in ASP.NET WebForm application, check the below Microsoft Article:
https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-2017

Protected by Copyscape Plagiarism Checker - Do not copy content from this page.

1 comment:

  1. Great!! That works for me, really helpful
    Thanks

    ReplyDelete

Subscribe Now

Popular Posts

Contact us

Name

Email *

Message *

Subscribe us on YouTube

Like us on Facebook

Follow us on Google+