ClickOnce application parameters

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.
 
H

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top