Problems deploying a WinForms app that uses Microsoft ReportViewer

后端 未结 6 1797
清酒与你
清酒与你 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:24

    I guess this is probably a new VS2012 feature, but you now can deploy Report Viewer (and the SQL Server CLR Types) with Forms / WPF click once installations.

    1. Open the project properties page.
    2. Click the Publish tab, and then click the Prerequisites button.
    3. Select Microsoft Visual Studio 2012 Report Viewer, and SQL Server CLR Types then click OK.
    4. Make sure that the Download prerequisites from the component vendor’s website option is checked. This is the only supported option. Then, click OK.
    5. Click the Options button.
    6. In the Deployment tab, specify a deployment Web page and select the Automatically generate deployment web page after ever publish checkbox.
    7. Click OK and publish the application.

提交回复
热议问题