wpf - Clickonce Application file has reference to wrong deployment codebase path -
i using msbuild deploy clickonce wpf app. after deployment, application clickonce file(myapplication.application) has following node
<deployment install="true" mapfileextensions="true" minimumrequiredversion="4.9.25.0" co.v1:createdesktopshortcut="true"> <subscription> <update> <beforeapplicationstartup /> </update> </subscription> <deploymentprovider codebase="file://myapppath/myapplication.application" /> </deployment>
the code base value taken csproj file's publishurl node. however, supply value when publish project using msbuild via command line script. so
<msbuild projects="ltl.sol.workflowdesigner.csproj" targets="publish" properties="publishdir=$(publishdir);publishurl=http://myapp/;installurl=$(installurl)"></msbuild>
the path supply ignored, , clickonce picks publish url csproj file. ideas ?
there 3 different urls can set:
- publishurl
- updateurl
- installurl
you seem setting publish , install urls different values, ok, usual. suggest setting 3 of these same value , should find resolve issue deploymentprovider. it's possible property 'installurl' empty , causing unwanted behaviour.
Comments
Post a Comment