ClickOnce application parameters

  • Thread starter Thread starter Alvaro E. Gonzalez
  • Start date Start date
A

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.
 
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
 
Back
Top