ClickOnce does not publish latest module dlls

Topics: CAB & Smart Client Software Factory
May 31, 2006 at 3:05 AM
originally posted by: dopoto

I have followed the steps in Peter Provost´s "Using the CAB Bank Teller Quick Start With Partial Trust ClickOnce Deployments" ( I have added the module dll´s as links in the shell app, I have set their Copy to Output Directory to Copy If Newer, and I have made the appropriate settings in Shell - Application Files.

Everything seems to work fine, if I publish a new version the installed
application detects it and performs the update.

The problem is that if i run it from Start > Programs > My App Name, an
old version of the application shows up - the same old version, no
matter how many times i un-install, install again, or how many times it
updates itself automatically. The same happens if I publish to a
folder, then install it again from there.

I also get this warning: "Assembly ´..\..\SomeModule\obj\Debug\SomeModule.dll´ is incorrectly specified as a file." - couldn´t find out anything relevant related to this error on the search engines, i don´t know if it´s the cause of the problem above,.

1. Do you know how to set up a CAB app so that it is published correctly through ClickOnce?
2. Have you seen that " ... is incorrectly specified as a file." warning before? How can you get rid of it?