The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

How can I set the Version number prior to checking for an update? Options
mandomad
#1 Posted : Tuesday, March 09, 2010 5:37:40 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 6

Hello

I am planning an application where the update will be managed by a Windows Service. The update will be to an ASP.NET web application and DLL files (called by the Windows Service and the ASP.NET application). The Service will very rarely be updated as the 'smarts' are in the DLL's it calls.

The version number will be held in a configuration file. I tried the following code but it does not change the version number being checked:
  updateController1.Version = New Version(2, 0, 0, 0)
 Me
.updateController1.UpdateInteractive(Me)

According to the documentation the Version can be changed by this process but it is not happening.

Can anyone help?

Regards,
James

brianh
#2 Posted : Wednesday, March 10, 2010 8:43:21 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 351
Location: Minnesota

Hello James,

 

Is the UseHostAssemblyVersion property set to false?

 

If it is, you should be able to set the Version stamp as you are doing.  If it is true, then the version is dictated by the Assembly version of the host assembly.

Brian Haas
Kinetic Jump Software
mandomad
#3 Posted : Wednesday, March 10, 2010 1:03:32 PM
Rank: Member
Groups: Member

Joined: 3/4/2010
Posts: 6
Thanks!
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.