A set of .NET Framework managed libraries for developing graphical user interfaces.
Hello @jose de jesus sanchez ,
Thanks for your question.
You can not drag the ReportViewer control from the the toolbox onto the form in the designer since it depends on your project type:
- If your project is Windows Forms (.NET Framework):
- Main NuGet package:
Microsoft.ReportingServices.ReportViewerControl.WinForms
- You also need the
Microsoft RDLC Report Designerextension.
- If your project is .NET 6 / .NET 8 / .NET 9 WinForms (newer style), use this instead:
ReportViewerCore.WinForms
Even after installing the NuGet, ReportViewer does not appear automatically in the Toolbox. You must add it manually. You can refer to these following steps:
- Open your Windows Form in Design view.
- Open the Toolbox (Ctrl + Alt + X or View → Toolbox).
- Right-click anywhere in the Toolbox → Choose Items...
- In the window that opens, go to the tab
.NET Framework Components(or.NET Components). - Click the
Browse...button. - Navigate to the NuGet package folder and select the DLL:
- For
Microsoft.ReportingServices.ReportViewerControl.WinForms: Usually here:YourProjectFolder\packages\Microsoft.ReportingServices.ReportViewerControl.WinForms.150.xxxx\lib\net40\Microsoft.ReportViewer.WinForms.dll - For
ReportViewerCore.WinForms: Look in:YourProjectFolder\bin\Debug\net8.0-windows\or the lib folder of the package.
- Select
Microsoft.ReportViewer.WinForms.dll→ Click Open → OK. - Now you should see ReportViewer in the Toolbox.
- Drag it onto your form.
Note: Extra tips if it still doesn't work:
- Restart Visual Studio after installing the NuGet and adding the DLL.
- Clean and Rebuild your solution.
- If you see an old/broken ReportViewer in the Toolbox, right-click it and delete it first.
- Make sure your project targets .NET Framework 4.6.2 or higher (best for the official package).
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.