ReportViewer in WPF

Harshal Mahale 50 Reputation points
2023-09-06T13:07:19.9766667+00:00

I have already added Microsoft.ReportViewer.WinForms in my WPF Project but I have not been able to solve the following error:

<WindowsFormsHost>

<rv:ReportViewer x:Name="_rV" />

</WindowsFormsHost>

MissingMethodException: Method not found: 'Void System.AppDomainSetup.set_ActivationArguments(System.Runtime.Hosting.ActivationArguments)'.

Do I need to download any other dll?

How to Use ReportViewer Control in WPF?

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{count} vote

Accepted answer
  1. Hui Liu-MSFT 48,676 Reputation points Microsoft External Staff
    2023-09-07T06:26:36.99+00:00

    Hi,@Harshal Mahale. For using ReportViewer Control in .Net6, you could see ReportViewer Core. You can also refer the problem (Visual studio 2022 .net 6 is not supporting reportviewer?) .


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.