You are missing the NuGet package for the ReportViewer control. Expand the References node in the Solution Explorer and you should see a couple of references flagged. To add the appropriate references via NuGet, do the following:
Select Project -> Manage NuGet Packages from the main menu.
Select the Browse tab.
Enter "Microsoft.ReportingServices.ReportViewerControl.Winforms" into the Search box.
Select the match in the results with that exact name and version 150.1404.0.
Click Install on the right-hand side.
Once the package and its dependencies are installed, you should see some extra references and none flagged. You should now be able to rebuild your project to clear those build errors. If any persist, double-click them in the Error List window to open the corresponding file and they should clear then.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.