I use clickonce to deploy my program. the problem is the deployement team have to enter his conectionString on installation and write into app.config.
How can I add a dialogbox (for put the connectionString) in click once deployment ?
Or I have to add setup project into myProg.sln ?
Thanks you in advance
What you want to do is not nice. I take it that you want the user to specify a connection string at installation and persist this to your program. Well, this is not a good thing to do, and connections strings are liable to change; with this in mind you need to include a connection string dialog in your code or at least a text box where the user can set a new connection string that your application can use.
You could use the VS2010 database connection dialog that Microsoft have released (download from here). This will do exactly what you want without you having to do the hard work (and for pretty much any remote connection you want).
I hope this helps.
I suggest you integrate those questions in the software itself, something like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With