Ignore:
Timestamp:
6/3/2012 8:08:16 AM (3 years ago)
Author:
lowjoel
Message:

More changes to fix the Version information to display the File version and not the Assembly Version. Addresses http://eraser.heidi.ie/forum/viewtopic.php?f=2&t=8810.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/UpdateForm.cs

    r2305 r2719  
    3535using System.Net.Mime; 
    3636using System.Globalization; 
     37using System.Diagnostics; 
    3738 
    3839namespace Eraser 
     
    533534            HttpWebRequest req = (HttpWebRequest) 
    534535                WebRequest.Create(new Uri("http://eraser.heidi.ie/updates?action=listupdates&" + 
    535                     "version=" + Assembly.GetExecutingAssembly().GetName().Version.ToString())); 
     536                    "version=" + FileVersionInfo.GetVersionInfo( 
     537                        Assembly.GetExecutingAssembly().Location).FileVersion)); 
    536538             
    537539            using (WebResponse resp = req.GetResponse()) 
Note: See TracChangeset for help on using the changeset viewer.