简体   繁体   English

vb.net vs2010项目部署问题:在应用程序部署期间未显示eula.rtf。 有任何想法吗?

[英]vb.net vs2010 project deployment problem: eula.rtf is not displayed during application deployment. Any ideas?

I've created a setup and deployment project for my vb.net application using the Visual Studio 2010 wizard. 我已经使用Visual Studio 2010向导为vb.net应用程序创建了安装和部署项目。 I also added the eula.rtf file to the setup project and set it to install to the user's application folder. 我还将eula.rtf文件添加到安装项目中,并将其设置为安装到用户的应用程序文件夹中。 I then added a license agreement UI dialog in the setup project and pointed the licenseFile to eula.rtf. 然后,我在安装项目中添加了许可协议UI对话框,并将licenseFile指向eula.rtf。 However, when testing the resulting setup.msi, the UI License Agreement dialog appears but no text is displayed inside the box where the eula should appear. 但是,在测试生成的setup.msi时,将出现“ UI许可协议”对话框,但在应出现eula的框中未显示任何文本。 I tried re-naming the eula and tried to change the encoding of the file but without success. 我尝试重命名eula,并尝试更改文件的编码,但未成功。 Am I missing something? 我想念什么吗? What should I do to make it work? 我应该怎么做才能使其正常工作?

Many thanks. 非常感谢。

Did you actually create a .rtf in the proper format or did you just rename a text file? 您实际上以正确的格式创建了.rtf,还是只是重命名了文本文件? You'll need either Wordpad or Microsoft Word to create one. 您将需要写字板或Microsoft Word来创建一个。 Wordpad is the better choice, it is likelier to create RTF in a format that the rich text box fully supports. 写字板是更好的选择,以RTF格式完全支持的格式创建RTF的可能性更高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM