在Visual Studio 2012中添加要从本地安装的先决条件作为我的应用程序 [英] Adding prerequisites to be installed from the local as my application in Visual Studio 2012

查看:114
本文介绍了在Visual Studio 2012中添加要从本地安装的先决条件作为我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题要包含报告查看器。我有这个错误:



错误5要在先决条件对话框中启用从我的应用程序的同一位置下载先决条件,您必须下载文件'ReportViewer \ ReportViewer.msi'用于项目'Microsoft Report Viewer 2012 Runtime'到本地计算机。有关详细信息,请参阅http://go.microsoft.com/fwlink/?LinkId=239883。 Aamali计划



我已经去了网站并按照所有程序,下载文件和所有东西,但仍然存在同样的问题。我已经下载了这两个文件:

1- dotnetfx45_full_Setup。

2- dotnetfx45_full_x86_x64。



另外,我已下载文件ReportViewer并安装它。我已将所有三个文件放在C:\Program Files(x86)\ MicroSoft SDKs\Windows\v8.0A\Bootstrapper \Packages \DotNetFX45中,但仍然出现同样的问题并且发生了同样的错误。有人可以帮忙吗?



BR //

解决方案

亲爱的老兄

你应该设置下载products.xml文件中的地址:

C:\Program Files(x86)\ Mysoftoft SDKs \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\



Product.xml

< string name =ReportViewerMsi> http://go.microsoft.com/fwlink/? LinkID = 217022





应该是:

< string name =ReportViewerMsi>物理地址

I have issue to include the report viewer. I have this error:

Error 5 To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'ReportViewer\ReportViewer.msi' for item 'Microsoft Report Viewer 2012 Runtime' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883. Aamali Program

I have gone to the site and followed all the procedures, download the files and every thing but still the same problem is there. I have downloaded those two files:
1- dotnetfx45_full_Setup.
2- dotnetfx45_full_x86_x64.

Also, I have downloaded the file ReportViewer and install it. I have put all the three files in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages\DotNetFX45 but still the same problem and the same error is happening. Can any one help please?

BR//

解决方案

Dear dude
you should set downloaded address in products.xml file:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages\ReportViewer\en\

Product.xml
<string name="ReportViewerMsi">http://go.microsoft.com/fwlink/?LinkID=217022


should be:
<string name="ReportViewerMsi">physical address


这篇关于在Visual Studio 2012中添加要从本地安装的先决条件作为我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆