Пример #1
0
        /// <summary>
        /// Package index for a dll or pdb.
        /// Symbols/file/hash/packages.json
        /// </summary>
        public static string GetAssemblyToPackageIndexPath(string fileName, string hash)
        {
            var symbolsPath = SymbolsUtility.GetSymbolsServerDirectoryPath(fileName, hash);

            return($"/symbols/{symbolsPath}packages.json");
        }
Пример #2
0
        /// <summary>
        /// Root path of dll or pdb
        /// Symbols/file/hash/
        /// </summary>
        public static string GetAssemblyFileDirectory(string fileName, string hash)
        {
            var symbolsPath = SymbolsUtility.GetSymbolsServerDirectoryPath(fileName, hash);

            return($"/symbols/{symbolsPath}");
        }