Changeset 79

Show
Ignore:
Timestamp:
07/15/06 19:22:39 (2 years ago)
Author:
mayuki
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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"