问题描述
我有一个新的WinForms应用程序,我正在尝试使用ClickOnce方法进行部署.但是,安装不包括该应用程序所需的app.config文件.
从服务器正确安装了该应用程序,并启动了exe,但是一旦我尝试通过单击WCF服务器进行登录,我就会得到.
找不到文件'C:\ Documents and Settings \ Adminstrator \ Local Settings \ Apps \ 2.0 \ 7KAA3h20 \ app.config"
我可以将文件从开发计算机手动复制到此文件夹,并且应用程序运行正常.
I have a new WinForms application that I''m trying to deploy with the ClickOnce method. However, the app.config file that is needed for the application is not included with the installation.
The application is installed properly from the server, and launches the exe, but as soon as I try to login by hitting my WCF Server, I get.
"Could not find the file ''C:\Documents and Settings\Adminstrator\Local Settings\Apps\2.0\7KAA3h20\app.config"
I can manually copy the file from my development machine to this folder and the application works fine.
Any ideas?
推荐答案
这篇关于ClickOnce应用程序部署和app.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!