source: trunk/eraser/Version.cs.in @ 2516

Revision 2516, 1.4 KB checked in by lowjoel, 2 years ago (diff)

Update copyrights to this year.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1/*
2 * $Id$
3 * Copyright 2008-2012 The Eraser Project
4 * Original Author: Joel Low <lowjoel@users.sourceforge.net>
5 * Modified By:
6 *
7 * This file is part of Eraser.
8 *
9 * Eraser is free software: you can redistribute it and/or modify it under the
10 * terms of the GNU General Public License as published by the Free Software
11 * Foundation, either version 3 of the License, or (at your option) any later
12 * version.
13 *
14 * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY
15 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 *
18 * A copy of the GNU General Public License can be found at
19 * <http://www.gnu.org/licenses/>.
20 */
21using System;
22using System.Reflection;
23using System.Diagnostics;
24
25[assembly: AssemblyFileVersion("6.1.0.$WCREV$")]
26[assembly: AssemblyVersion("6.1.0.2112")]
27
28namespace Eraser {
29    internal static class BuildInfo
30    {
31        public static readonly DateTime BuildDate = DateTime.Parse("$WCNOW$",
32            System.Globalization.CultureInfo.InvariantCulture);
33        public const bool CustomBuild = $WCMODS?true:false$;
34        public static Version AssemblyFileVersion
35        {
36            get
37            {
38                FileVersionInfo version = FileVersionInfo.GetVersionInfo(
39                    Assembly.GetExecutingAssembly().Location);
40
41                return new Version(version.FileMajorPart, version.FileMinorPart,
42                    version.FileBuildPart, version.FilePrivatePart);
43            }
44        }
45    }
46}
Note: See TracBrowser for help on using the repository browser.