Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的项目中创建了一个文档文件夹,并将用户指南(一个 pdf 文件)添加到我的项目中(作为内容,如果更新则复制)
使用单击一次部署,文件被复制 - 但临时用户将无法使用资源管理器导航到其位置。如何配置部署以使用户在想要阅读此文件时更容易找到它?
我认为没有 ClickOnce 解决方案,您需要在首次运行后创建文件夹(例如 ProgramFiles/Appl)并手动将帮助文件复制到文件夹中。
处理此问题的另一种方法是在应用程序启动或用户请求 hte 文件时将文件复制到 MyDocuments/yourappname/appdata/,然后将用户定向到那里。