e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
22 lines
476 B
C#
22 lines
476 B
C#
using System.Reflection;
|
|
using System.Diagnostics;
|
|
using System;
|
|
|
|
[assembly: AssemblyVersion ("2011.04.0.0")]
|
|
[assembly: AssemblyFileVersion ("2011.02.0.0")]
|
|
|
|
class X
|
|
{
|
|
public static int Main ()
|
|
{
|
|
Assembly executingAssembly = Assembly.GetAssembly (typeof(X));
|
|
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo (executingAssembly.Location);
|
|
if (fvi.FileVersion != "2011.02.0.0")
|
|
return 1;
|
|
|
|
if (fvi.ProductVersion != "2011.02.0.0")
|
|
return 2;
|
|
|
|
return 0;
|
|
}
|
|
} |