Changeset 79


Ignore:
Timestamp:
Jul 15, 2006, 7:22:39 PM (18 years ago)
Author:
mayuki
Message:

ファイルバージョンの形式が間違ってますと警告が出ていてうざかったので、別な属性にアプリケーションバージョン文字列を入れるようにした

Location:
trunk/MacFaceFloat
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/AssemblyInfo.cs

    r76 r79  
    2727// ビルドおよびリビジョン番号を既定値にすることができます。
    2828
    29 [assembly: AssemblyInformationalVersion("アルファ版(2006-07-12)")]
     29[assembly: MacFace.FloatApp.ApplicationVersionString("2006-07-15 (アルファ版)")]
     30[assembly: AssemblyInformationalVersion("1.0.0.0")]
    3031[assembly: AssemblyVersion("1.0.*")]
    3132
  • trunk/MacFaceFloat/InfoWindow.cs

    r66 r79  
    55using System.Windows.Forms;
    66using System.Reflection;
     7using System.IO;
    78
    89namespace MacFace.FloatApp
     
    3132                        Assembly asm = Assembly.GetEntryAssembly();
    3233                        lblAppName.Text = Application.ProductName;
    33                         lblAppVersion.Text = Application.ProductVersion;
     34                        lblAppVersion.Text = ((ApplicationVersionStringAttribute)GetAssemblyAttribute(asm, typeof(ApplicationVersionStringAttribute))).Version;
    3435                        lblAppCopyright.Text = ((AssemblyCopyrightAttribute)GetAssemblyAttribute(asm, typeof(AssemblyCopyrightAttribute))).Copyright;
    3536                }
  • trunk/MacFaceFloat/MacFaceFloat.csproj

    r66 r79  
    114114                />
    115115                <File
     116                    RelPath = "ApplicationVersionStringAttribute.cs"
     117                    SubType = "Code"
     118                    BuildAction = "Compile"
     119                />
     120                <File
    116121                    RelPath = "AppSettings.cs"
    117122                    SubType = "Code"
Note: See TracChangeset for help on using the changeset viewer.