我發現了以下情況例外,當我嘗試安裝ClickOnce應用程序:ClickOnce部署中出現「無法找到網絡名稱」異常?
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\user\Downloads\appname.application resulted in exception. Following failure messages were detected:
+ Downloading file://192.168.2.9/appdir/appname.application did not succeed.
+ The network name cannot be found.
+ The network name cannot be found.
+ The network name cannot be found.
我一直沒能弄明白。我試過在網上尋找,似乎沒有任何資源問題。有人知道如何解決這個問題嗎?
這是您家庭網絡中的文件..?如果是的話,你試圖下載文件的機器的名字是什麼?它可能也有助於顯示代碼,你得到這個錯誤..如果這是一個在你的局域網上的文件,那麼爲什麼不使用正常的File.Copy方法..' – MethodMan
@DJKRAZE沒有代碼, ClickOnce啓動程序拋出異常。我試過使用主機名和IP。 – Daniel
誰擁有或擁有.msi的源代碼..你寫過嗎..? – MethodMan