Home All Groups Group Topic Archive Search About

ClickOnce application parameters

Author
14 Jun 2006 3:46 PM
Alvaro E. Gonzalez
Greetings

How can i pass parameters to a ClickOnce application that is published
in a network share directory ?

Can i modify the .manifiest file to include parameters ?

Thanks.

Author
20 Jun 2006 5:29 PM
hashimisayed
You cannot pass parameters to a ClickOnce application which is deployed
to a network share. The only way to pass parameters to a ClickOnce
application is if it were launched with an http URI (i.e.,
http://myserver/myapp.application?p=1). Note that the deployment
manifest has to have the trustURLParameters attribute set too (which
gets set when you select "Allow URL parameters to be passed to
application" from the Options dialog in VS 2005).

Thanks,


Sayed Y. Hashimi


http://www.sayedhashimi.com
Shameless Book Plug: Learning MSBuild and ClickOnce
http://www.amazon.com/gp/product/1590596528/104-6095979-6117510?v=glance&n=283155


Alvaro E. Gonzalez wrote:
Show quote
> Greetings
>
> How can i pass parameters to a ClickOnce application that is published
> in a network share directory ?
>
> Can i modify the .manifiest file to include parameters ?
>
> Thanks.

AddThis Social Bookmark Button