ClickOnce OnDemand Assemblies

A

averyrf

I have written a winform app that splits out various pieces of
functionality into separate assemblies (Class Libraries). I deploy it
using ClickOnce. The main exe is marked Incude(Auto) and Required.
The various assemblies are marked Include(Auto) and split into File
Groups. All of the Class Libraries are referenced in the solution by
the exe project. After the File Group is asynchronously downloaded,
the latest version is not used. The previous version is used in its
place. If I synchronously download the assemblies, the same thing
happens. Any ideas???

Thanks!!
 
Joined
Jan 14, 2009
Messages
1
Reaction score
0
Its because the folder location

i think i have the same problem as you.

In my case im using composite ui application blocks to load assemblies wich are by default in the same location as my main exe file and the assemblies are being loaded using reflection.

in the attachment i show an Example solution to develop some tests for whats going on.

The Assembly is added to my project as "Add Existing Item" cause i cant add the file as a reference.
The first folder as you can see, is the main folder and the second is the one who is downloaded as DownloadFileGroup.

so, if we put a newer version for the module (not for the application), the module will be downloaded to that second folder... and still be runing the older version...

if someone could help with this i'll be so appreciated.

thanks.
 

Attachments

  • ejemplo clickonce download assemblies.PNG
    ejemplo clickonce download assemblies.PNG
    137.9 KB · Views: 141

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