Visual Studio 2010,安装许可证 Windows XP/7
Visual studio 2010,Windows XP/7
我不确定我是否在这里做,但我有一个带有(Visual Studio)安装项目的应用程序项目。
我已经为App项目创建了一个许可证文件license.rtf并将其包含到 设置项目。
我还在安装项目中添加了“许可证”对话框,并添加了license.txt 文件添加到对话框中,但是当我重建安装项目时,我收到以下错误消息?
Error 1 Unable to build dialog module named 'c:\Program Files (x86)\
Microsoft Visual Studio 10.0\Common7\Tools\Deployment\.\VsdDialogs\
1033\VsdLicenseDlg.wid'
C:\svn\eis-damalini-easylink\EasyLink\Setup1\Setup1.vdproj Setup1
我也尝试过使用 .rtf 文件,但没有成功
/Stefan
Visual studio 2010, Windows XP/7
I am not sure if I am doing right here but I have an application project with a (visual studio) Setup project.
I have created a license file, license.rtf to the App project and included it into the
Setup project.
I have also added the "License" dialog box in the Setup project and added the license.txt
file to the dialog box but when I rebuild the Setup project I get the following error message ?
Error 1 Unable to build dialog module named 'c:\Program Files (x86)\
Microsoft Visual Studio 10.0\Common7\Tools\Deployment\.\VsdDialogs\
1033\VsdLicenseDlg.wid'
C:\svn\eis-damalini-easylink\EasyLink\Setup1\Setup1.vdproj Setup1
I have also tried with an .rtf file but no success
/Stefan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果附加的 rtf 文件是使用 Visual Studio 本身创建的,则该文件可能存在一些编码问题。因此,使用 Microsoft Word 创建一个新文件并将文件另存为 rtf。
我已经这样解决了我的问题。
If the attached rtf file is created using Visual Studio itself, then there might be some encoding issues with the file. Hence create a new file using Microsoft Word and save the file as rtf.
I have solved my issue like this.
您需要添加一个项目输出中尚不存在的文件。此错误通常是因为您选择的许可证文件是主要输出的一部分,并且无法两次输出该文件来构建许可证对话框。
添加单独的文件或确保它不与您的主要输出一起部署。
注意:请确保删除所做的任何错误选择,它们将显示在您的安装程序项目下,并带有红色“无效”图标。即使添加新的单独文件后,旧文件可能仍然存在,导致构建中出现警告。
项目中冲突文件的示例。该图标实际上用于“排除”,但会提示您文件在安装程序构建期间不可用。
You need to add a file that does not already exist in your project output. This error is usually because you selected a license file that is part of your primary output and it can't output the file twice to build the license dialog.
Add a separate file or ensure that it is not being deployed with your primary output.
NB: Make sure you delete any incorrect selection you have made, they will show up under your installer project with a red "invalid" icon. Even after adding a new separate file, the old one may still linger causing warnings in your build.
Example of what a conflicted file looks like in your project. The icon is actually for "exclude" but gives you a hint that your file isn't going to be available during the installer build.