Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClickOnce Version Already Exists Warning When Publishing

Tags:

clickonce

I have published an app using ClickOnce for about a year with relatively few issues.

This week I am off site, but needed to make some changes to the app and the way the autoupdate works - so I am publishing to the IIS of my local machine rather than the normal distribution server for testing. The wierd thing is that as of yesterday afternoon, I started receiving the warning

Published version 2.1.3.18 already exists on the server, do you want to overwrite it

But the version i am publishing is way beyond that (2.1.3.32 currently), so I shouldn't be receiving the warning at all.

Frankly, it's not hurting anything, I can choose yes and publish over it without any problem, but I would like to know what is happening. Does anybody have any idea?

Thanks!

EDIT FOR CLARIFICATION
2.1.3.18 is on the server, but I am publishing versions greater than that version, so I should not be warned. The last version I published was 2.1.3.32.

The version number I am referring to above is the Publish Version from the Publish tab of VS2008, not the Assembly Version.

MORE INFO I just opened my MYApp.Application file with MageUI and it says the version is 2.1.3.18. I deleted the file, recompiled and published. New file has the exact same version. Yet when I look under my VS Publish tag, it says Deployment Version is 2.1.3.33.

Where is VS pulling the 2.1.3.18 number from when building my manifest??

like image 346
Aaron Avatar asked Jun 10 '09 18:06

Aaron


1 Answers

I just had the same problem today, Just do a "Clean" on the project and then publish again (right click over project icon in solution explorer then Clean). This worked for me.

like image 170
Alex LE Avatar answered Oct 17 '22 06:10

Alex LE