Table of Contents
You’re trying to use the ReportViewer control in Visual Studio but it’s not in the toolbox.
- After manually adding the ReportViewer control to the toolbox clicking Design a new report does nothing.
- The RDLC report designer does not open and opening the RDLC file just opens the report markup.
Note: Tested in Visual Studio 2017 and Visual Studio 2019. The exact instructions may have slightly different steps depending on which version of VS you’re using.
ReportViewer for .NET Core projects
- Install the ReportViewer nuget package (View > Other Windows > Package Manager Console).
Code language: PowerShell (powershell)
- Open a Windows Form.
- Drag and drop the ReportViewer control from Toolbox > Microsoft.ReportViewer.WinForms > ReportViewer.
ReportViewer for .NET Framework projects
There doesn’t seem to be an official nuget package for ReportViewer v12 that works with .NET Framework projects. However, Microsoft does have an official Visual Studio extension for this version of ReportViewer. In the steps below, I’ll show how to add the ReportViewer extension.
Step 1 – Add the ReportViewer extension
- Click Extensions > Manage Extensions > Online.
- Search for RDLC Report Designer
- Select Microsoft RDLC Report Designer from the list and click Download (Note: This may say Install if it’s already been downloaded at some point).
- After it’s done downloading/installing, you’ll see a notification that says Your changes will be scheduled. The modifications will begin when all Microsoft Visual Studio windows are closed.
- Close Visual Studio.
- You should now see the VSIX Installer initializing.
- On the VSIX Installer prompt, click Modify.
- Wait for it to finish installing, then close the VSIX Installer window.
Step 2 – Add ReportViewer to the toolbox
- Open Visual Studio.
- Click View > Toolbox.
- Right-click in the toolbox > Choose Items.
- In the .NET Framework Components tab, scroll down and check ReportViewer, then click OK