当我运行myApp.application时,我遇到安装失败。从日志错误文件中我得到:
+ download error file:///C:/Users/userj/Documents/Visual Studio 2013/Projects/foo/foo/bin/x86/Release/ico.ico.deploy.
+ that the file or folder can't be found. 'C:\Users\userj\Documents\Visual Studio 2013\Projects\foo\foo\bin\x86\Release\ico.ico.deploy'.
+ that the file or folder can't be found. 'C:\Users\userj\Documents\Visual Studio 2013\Projects\foo\foo\bin\x86\Release\ico.ico.deploy'.
+ that the file or folder can't be found. 'C:\Users\userj\Documents\Visual Studio 2013\Projects\foo\foo\bin\x86\Release\ico.ico.deploy'.
ico.ico
文件位于Application Files
文件夹中的服务器和本地文件夹中。那我为什么会收到这个错误呢?我错过了什么?
修改
为什么clickonce期望在根目录而不是Application Files
文件夹中找到.deploy文件?