public string GetFileURLTest(bool isPackageInfoExist, string pattern) { var path = PackageUtils.GetFilePath(isPackageInfoExist ? pi : null, pattern); if (path.Length == 0) { return(""); } return(new Uri(Environment.CurrentDirectory + "/").MakeRelativeUri(new Uri(path)).ToString()); }