/// <summary>
/// 当前目录下文件版本 /// </summary> public void FilesVersions() { Assembly fileAssembly = Assembly.GetEntryAssembly(); AssemblyName[] assemblyNames = fileAssembly.GetReferencedAssemblies(); if (assemblyNames != null) { foreach (AssemblyName an in assemblyNames) { LogHelper.Default.Log("FilesVersions:"+ an.Name + " v" + an.Version.ToString(4), LogLevel.Info, 0); } } }