Microsoft.Reporting does not exist in namespace

2019-04-23 17:08发布

问题:

I have developed project in VS2010 and now I want to continue same project with VS2012 but I'm getting Error: Microsoft:Reporting does not exists in namespace

I am using Microsoft Reports for developing reports. Please Help me if you have any solution.

回答1:

Search for "reportviewer" in Nuget. Install the Microsoft.ReportViewer.WebForms VS2010 package.



回答2:

You must right-click on References folder in your project and click on Add Reference. and then go to Assemblies > Extensions > Microsoft.ReportViewer and add it to your references.



回答3:

You need to install Microsoft Report Viewer to have its assemblies available in Visual Studio. You can bring it from: http://www.microsoft.com/en-us/download/details.aspx?id=6442