ClickOnce Updates

  • Thread starter Thread starter Looch
  • Start date Start date
L

Looch

All,

Does the folder that an application will look to for updates need to
contain the source files for the project, or the published .exe and
associated files?

Thanks in advance.
 
Looch,

You don't need the source files for the project. The ClickOnce
distribution only deals with the finished product, not the files that were
used to compile it.
 
When you deploy an application using ClickOnce you should specify the files
that you wish to be installed on the target computer. I believe these are
packaged in an deploy file and stored in the published folder from where end
users open the application. ClickOnce is very nice as it allows the user to
always get the latest copy of your program.

Adrian.
 
Looch,

You don't need the source files for the project. The ClickOnce
distribution only deals with the finished product, not the files that were
used to compile it.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




Does the folder that an application will look to for updates need to
contain the source files for the project, or the published .exe and
associated files?
Thanks in advance.- Hide quoted text -

- Show quoted text -

Thank you!
 
I don't think I'm doing this right...I updated a label in my
application and republished it to the folder that I specified is the
update folder. When I open a previously installed version on another
PC (that is configured to look for an update) the label does not
changed.

Do I need to install the application on the PC that has the update
folder?

Do I need to originally install the application on the target PC from
the update folder?

Sorry, I'm confused...
 
When you published your application, did you specify that it is only
available online or both online and offline?

Adrian.
 
Adrian,

In Properties-->Publish (C# Express) the option selected is 'The
application is available offline as well (launchable from the Start
Menu)'.
 
Set it to be only available online. I believe this option always checks to
see if you are using the latest version or not.

Adrian.
 
Look under the "Updates" option on the Publish screen, and make sure you
have updates configured correctly.

Robin S.
 

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

Back
Top