Outlook 2007 VSTO Add-in deployed by click-once doesn't detect published updates

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-06-17T05:20:52Z Indexed on 2010/06/17 5:23 UTC
Read the original article Hit count: 244

I have created an outlook 2007 add-in project in vs2008, targeting .net 3.5, then migrated the project to vs2010.

I have then published the project from vs2010 to a web site, and installed the add-in using click-once to a virtual machine running xp, .net 3.5 sp1, and outlook 2007. This all works great and I can see my add-in within outlook. Publish update settings are set to update the add-in at startup rather than every 7 days.

However when I then make a simple change to the add-in, update the AssemblyVersion and AssemblyFileVersion of the add-in project, and then publish the updates, when I run outlook it doesn't detect that there is a new version, and just runs the current one that is installed.

I can see that the publish has generated a new setup.exe and added a new folder to the 'Application Files' folder with the current (autogenerated) publish version.

Can anyone suggest anything how I can get the update to be deployed to the client?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about clickonce