Пример #1
0
        private void CheckArguments()
        {
            var pdbRepository = CmdParser.Value(CmdArgumentOptions.PdbRepositoryPath);

            if (string.IsNullOrWhiteSpace(pdbRepository))
            {
                throw new ArgumentException($"Not found {CmdArgumentOptions.PdbRepositoryPath} commandline argument");
            }

            var symStorePath = CmdParser.Value(CmdArgumentOptions.SymStorePath);

            if (string.IsNullOrWhiteSpace(symStorePath))
            {
                throw new ArgumentException($"Not found {CmdArgumentOptions.SymStorePath} commandline argument");
            }

            if (!File.Exists(symStorePath))
            {
                throw new ArgumentException($"Not found executable path {CmdArgumentOptions.SymStorePath} in commandline argument");
            }
        }
Пример #2
0
 protected string SymStoreExecutable()
 {
     return(CmdParser.Value(CmdArgumentOptions.SymStorePath) ?? @"symstore.exe");
 }