Ignore:
Timestamp:
6/19/2010 10:47:54 AM (2 years ago)
Author:
lowjoel
Message:

Define the GetFileVersion? assembly extension method to query assemblies for their file version (not manifest version, as previously used.) This is important since user-displayed versions should be file versions, not manifest versions used for module loading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/UpdateForm.cs

    r1802 r2209  
    530530                HttpRequestCacheLevel.Revalidate); 
    531531            HttpWebRequest request = (HttpWebRequest)WebRequest.Create( 
    532                 new Uri("http://eraser.heidi.ie/scripts/updates?action=listupdates&version=6.1.0.0" /*+ 
    533                     Assembly.GetExecutingAssembly().GetName().Version.ToString()*/)); 
     532                new Uri("http://eraser.heidi.ie/scripts/updates?action=listupdates&version=" + 
     533                    BuildInfo.AssemblyFileVersion)); 
    534534 
    535535            using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) 
Note: See TracChangeset for help on using the changeset viewer.