dreampunchboy
dreampunchboy

Reputation: 21

Visual Studio 2008 PUBLISH installer installs older version

I decided to use the Publish feature in Visual Studio. I'm also using the update feature. It worked up till version 1.0.0.6 and now it's just stuck there.

I can uninstall the App but it always re-installs it to that version. I've actually had a similar problem with the normal Application Setup.

Any help would be appreciated.

Thanks,

Upvotes: 1

Views: 582

Answers (5)

allie
allie

Reputation: 11

I have similar problems: on development server I use SVN and did an SVN update, which gives me new files. Then when publishing, I discovered that only 1 .js file was not updated. On development server it was 11k and on published server an older version of 8k remained.

Even after republishing many times, no change.

Then when deleting manually the file on published server, and republish, the new version appeared !!!

This was confirmed by another developer.

So publish cannot be trusted .... :(

Upvotes: 1

dreampunchboy
dreampunchboy

Reputation: 21

It looks like I've found the solution. The software was signed differently and resulted in Windows Vista + 7 not identifying with it or something of the sort.

Upvotes: 1

Ralf de Kleine
Ralf de Kleine

Reputation: 11734

Also tried Clean on project? Or clear the publish folder and republish?

Upvotes: 1

I'm guessing that the ClickOnce manifest files aren't getting generated the way they're supposed to. You can check this using the mage utility on the .application and .manifest files. They will probably point to old versions of your app. Visual Studio should generate them correctly but if it isn't then as a last resort you can use the mage utility to edit your manifest files so they point to the right versions and deployment files.

Upvotes: 1

MartW
MartW

Reputation: 12538

Surely 'auto-increment on publish' is checked?

Upvotes: 1

Related Questions