Changeset 2652


Ignore:
Timestamp:
5/23/2012 12:11:48 PM (2 years ago)
Author:
lowjoel
Message:

Report the file version of plugins loaded so that users won't be confused when the assembly version is frozen. Addresses http://eraser.heidi.ie/forum/viewtopic.php?f=2&t=8794.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.Manager/Plugins.cs

    r1677 r2652  
    3030using System.Security.Cryptography.X509Certificates; 
    3131using Eraser.Util; 
     32using System.Diagnostics; 
    3233 
    3334namespace Eraser.Manager.Plugin 
     
    320321 
    321322                AssemblyInfo info = new AssemblyInfo(); 
    322                 info.Version = assembly.GetName().Version; 
     323                info.Version = new Version(FileVersionInfo.GetVersionInfo(assembly.Location).FileVersion); 
    323324                IList<CustomAttributeData> attributes = CustomAttributeData.GetCustomAttributes(assembly); 
    324325                foreach (CustomAttributeData attr in attributes) 
Note: See TracChangeset for help on using the changeset viewer.