예제 #1
0
        internal string GetAssemblyFileVersion()
        {
            if (_clientDirectory != null)
            {
                var name     = $"{typeof(CommonCompiler).GetTypeInfo().Assembly.GetName().Name}.dll";
                var filePath = Path.Combine(_clientDirectory, name);
                return(Compatibility.GetFileVersion(filePath));
            }

            return("");
        }