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.
ClickOnce 没有在 wpf 项目中部署我的 app.exe.config 文件。我将构建操作设置为“无”并使用“始终复制”复制到目录。
同样在项目、发布、应用程序文件的属性中,我的配置文件不能在列表中。
有什么提示吗?
您也可以手动将配置复制到内容子文件夹(我一直这样做,直到我注意到上面的更新(谢谢))。但我不得不从“App.config”重命名为“exe.config.deploy”