ClickOnce错误的部署URL

问题描述 投票:0回答:1

我有Windows应用程序,需要通过ClickOnce进行部署。发布向导创建的安装页面的安装文件位置错误,这是错误日志:

PLATFORM VERSION INFO
    Windows             : 6.1.7601.65536 (Win32NT)
    Common Language Runtime     : 4.0.30319.18408
    System.Deployment.dll       : 4.0.30319.18408 built by: FX451RTMGREL
    clr.dll             : 4.0.30319.18408 built by: FX451RTMGREL
    dfdll.dll           : 4.0.30319.18408 built by: FX451RTMGREL
    dfshim.dll          : 4.0.41209.0 (Main.041209-0000)

SOURCES
    Deployment url          : file:///D:/Download/My.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of D:\Download\My.application resulted in exception. Following failure messages were detected:
        + Downloading file:///D:/Download/My.application did not succeed.
        + Could not find file 'D:\Download\My.application'.
        + Could not find file 'D:\Download\My.application'.
        + Could not find file 'D:\Download\My.application'.

发布文件夹位置:'d:\ Projects \ Setup \'安装文件夹loc:'\ mypc \ d \ Projects \ Setup \'

因此,不要在“ D:\ Download”中查找我的应用程序文件,我需要将其更改为安装文件为“ d:\ Projects \ Setup \”的文件夹

我在哪里可以更改它?

clickonce
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.