What Works:
string relativePath = "..\bling.txt";
string baseDirectory = "C:\blah";
string absolutePath = Path.GetFullPath(baseDirectory + relativePath);
(result: absolutePath="C:ling.txt")
What doesn't work
string relativePath = "..\bling.txt";
Uri baseAbsoluteUri = new Uri("C:\blah");
string absolutePath = new Uri(baseAbsoluteUri, relativePath).AbsolutePath;
(result: absolutePath="C:/blah/bling.txt")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…