zoukankan      html  css  js  c++  java
  • warning MSB3162: 所选的“Microsoft Report Viewer 2012 Runtime”项需要“Microsoft.SqlServer.SQLSysClrTypes.11.0”。在“系统必备”对话框中选择缺少的系统必备组件,或者为缺少的系统必备组件创建引导程序包。

    warning MSB3162: 所选的“Microsoft Report Viewer 2012 Runtime”项需要“Microsoft.SqlServer.SQLSysClrTypes.11.0”。在“系统必备”对话框中选择缺少的系统必备组件,或者为缺少的系统必备组件创建引导程序包。

    发布ReportViewer程序遇到这个问题。

    到处查了下,发现解决方法是这样的。

    1)打开这个路径下的xml文件:

    C:Program Files (x86)Microsoft SDKsWindowsv8.0ABootstrapperPackagesReportViewerproduct.xml

    2)修改文件中的以下内容:

    <RelatedProducts>
    <EitherProducts>
    <DependsOnProduct Code="Microsoft.Net.Framework.3.5.SP1" />
    <DependsOnProduct Code=".NETFramework,Version=v4.0,Profile=Client" />
    <DependsOnProduct Code=".NETFramework,Version=v4.0" />
    <DependsOnProduct Code=".NETFramework,Version=v4.5" />
    </EitherProducts>
    <DependsOnProduct Code="Microsoft.SqlServer.SQLSysClrTypes.11.0.x86" />
    <DependsOnProduct Code="Microsoft.SqlServer.SQLSysClrTypes.11.0.x64" />
    </RelatedProducts>

    转自以下地址:http://social.msdn.microsoft.com/Forums/en-US/bd6ecd3b-e778-48f3-8038-fa243bd85987/visual-studio-2012-problem-with-report-viewer

  • 相关阅读:
    TestNG并发测试包
    @Valid的坑
    spring boot 下 spring security 自定义登录配置与form-login属性详解
    在eclipse上搭建springBoot
    分页问题
    谷歌chrome://chrome-urls/
    chrome中清除dns缓存
    pg中的非varchar类型的模糊搜索
    spring中用xml配置构造注入的心得
    Flask-Limiter使用详细说明
  • 原文地址:https://www.cnblogs.com/qiu2013/p/3722226.html
Copyright © 2011-2022 走看看