bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Version Info not properly initializing #279

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Line 59 in VersionInfo.cs inside the Subtext.Framework project should be:

_version = new AssemblyName(typeof(VersionInfo).Assembly.FullName).Version;

Original issue reported on code.google.com by alan...@gmail.com on 7 Nov 2010 at 7:59

GoogleCodeExporter commented 8 years ago
Since Version info are displayed correctly now, what is the difference between 
the line we have now:
_version = new AssemblyName(typeof(VersionInfo).FullName).Version;
and the one you propose?
_version = new AssemblyName(typeof(VersionInfo).Assembly.FullName).Version;

Original comment by simone.chiaretta on 8 Nov 2010 at 8:18

GoogleCodeExporter commented 8 years ago
The one he proposes is correct. I made that change and I had a typo. 
http://haacked.com/archive/2010/11/04/assembly-location-and-medium-trust.aspx

Doh!!!

Original comment by haac...@gmail.com on 8 Nov 2010 at 4:45

GoogleCodeExporter commented 8 years ago
Fixed in r4146

Original comment by haac...@gmail.com on 17 Nov 2010 at 6:07

GoogleCodeExporter commented 8 years ago

Original comment by haac...@gmail.com on 27 Dec 2010 at 8:20