Ejemplo n.º 1
0
        static Configuration()
        {
            var assembly = Assembly.GetExecutingAssembly();

            AssemblyPath = Path.GetDirectoryName(assembly.Location);

            var _dir = ConfigurationReader.AppSetting("directory", AssemblyPath);

            Directory = Path.GetFullPath(GetRootDirectory(_dir));

            Version = FileVersionInfo.GetVersionInfo(assembly.Location).ProductVersion;
        }