This project has moved. For the latest updates, please go here.
2
Vote

The given path's format is not supported.

description

It is caused by the line m_http_alias.Replace("http://ReferenceSource.microsoft.com/",string.Empty).Replace("/","\\"); in DownloadLibrary\Classes\SrcSrvParsing\SrcSrvFile.cs:




while ((currentLine = bodyReader.ReadLine()) != null)
            {
                if (currentLine == FileListBegin)
                {
                    insideFileParsing = true;
                    currentLine = bodyReader.ReadLine();
                    m_targetPath +=
                        m_http_alias.Replace("http://ReferenceSource.microsoft.com/",string.Empty).Replace("/","\\");

Fix:
            Regex regex = new Regex("http://ReferenceSource.microsoft.com/", RegexOptions.IgnoreCase);
            while ((currentLine = bodyReader.ReadLine()) != null)
            {
                if (currentLine == FileListBegin)
                {
                    insideFileParsing = true;
                    currentLine = bodyReader.ReadLine();
                    m_targetPath += regex.Replace(m_http_alias, "").Replace("/","\\");

comments