
csproj file and manually mention the versionĪlso cleaned the whole solution and manually removed any other remaining files in the output directory and rebuilding it. I tried unloading the project and changing it's. and then adding Assemblies > Extensions > Microsoft.ReportViewer to the references. I tried re-adding the reference by right-clicking on References folder in my project and then selecting Add Reference.(this link shows how to install it from NuGet Manager and Extensions and update)Īnd i was able to make a Report as well as add Report Viewer to my Windows Formīut i am getting the above mentioned error on building the program Solutions i have tried I followed the below link to install the report viewerĭownload and Install Report Viewer For Visual Studio 2017 - YouTube The namespace 'Microsoft' (are you missing an assembly reference?) Things i did to install Report Viewer Re-run the DRM installer on the workstation/server getting the error.I know this question is exactly the same as this but even after following it's solution i am still stuck up with this errorĮrror CS0234: The type or namespace name 'Reporting' does not exist in It has to be copied, registered, and some other things that the installer (DRMSetup.exe) will do for you automatically. However if RocktonSoftware.dll is missing, it needs more attention than just a copy. If PdfSharp-WPF.dll is missing, then it can just be copied to the GP folder. The DRM installer contains these files in the Resource folder. If either of these are missing, then that is what is throwing the exception error. 13.9k 12 54 93 2 Inside 'References', right-click on, go to 'Properties' and check if 'Copy Local' is 'True'. Please check to ensure the machine has the required DLL files in the same folder that contains the RocktonReportEngine.exe (should be the GP folder). This error typically indicates the winform (RocktonReportEngine.exe) is trying to reference an assembly (.DLL) that it cannot find. Could not load file or assembly ‘=9.0.0.0. If you click Quit, the application will close immediately. If you click Continue, the application will ignore this error and attempt to continue. How do I resolve this error, ‘Unhandled exception has occurred in your application.
