简体   繁体   English

如何为 Winforms 桌面应用部署可编辑的内容文件?

[英]How do I deploy editable content files for a Winforms desktop app?

I have a desktop app which includes some content files.我有一个包含一些内容文件的桌面应用程序。 Currently the files are not editable where they are deployed (App Folder\\Templates).目前,这些文件在部署位置(App Folder\\Templates)是不可编辑的。

I'm looking for documentation or info on how to deploy with these files where the user is able to open them and edit them.我正在寻找有关如何使用这些文件进行部署的文档或信息,用户可以在其中打开和编辑它们。

These are text files.这些是文本文件。 And would be opened outside my app with either notepad or something else.并且会在我的应用程序之外用记事本或其他东西打开。

I currently use MSI setup and Windows Store deployments.我目前使用 MSI 设置和 Windows 应用商店部署。

如果您将其安装到 %appdata% 文件夹,用户应该能够编辑模板文件。

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

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