Problems deploying a WinForms app that uses Microsoft ReportViewer

后端 未结 6 1800
清酒与你
清酒与你 2021-02-15 12:41

I have published a WinForms application from Visual Studio 2010. It uses .NET 4.0. in the prerequisite dialog in Publish pane I selected .NET 4.0 Client Profile and Windows Inst

6条回答
  •  借酒劲吻你
    2021-02-15 13:38

    I had the same problem for months, one machine cat v.11 installed (manually by adding some components) and another had v.10 (from the ms framework itself), when I did the publish from my machine, it gave the error.
    here is how I fixed it,
    In Nuget, there are 2 packages,
    Microsoft.ReportViewer.Windows (Microsoft.ReportViewer runtime 2012) and
    ReportViewer.Common 10.0
    I installed them both, now its working quite all right

提交回复
热议问题