private void LinkDebugFile(string localPath, string debugPath) { IFileInfo targetDebugFile = filesystem.GetFile(Path.Combine(Path.GetDirectoryName(localPath), DebugSymbolResolver.DebugFileName(localPath))); if (targetDebugFile.Exists) { return; } Console.WriteLine($"Creating symbolic link: {debugPath}, {targetDebugFile}"); filesystem.CreateSymbolicLink(debugPath, targetDebugFile.FullName); }