コード例 #1
0
        protected override async Task <bool> Validation()
        {
            var  cfg  = _configProvider.DirectoryCfg;
            var  path = _buildService.GetPathBuildExe();
            bool b    = File.Exists(path) && Directory.Exists(cfg.PathBuild);

            if (!b)
            {
                Logger.Error($"Build folder not correct!");
            }

            return(b);
        }