Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mikkrg@microsoft.com>2019-06-27 16:03:18 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-07-01 16:41:30 +0300
commitfe6d0b9209e5b2584236182dd9d4ff4c808815b5 (patch)
treebd52403ea34c5d039ea940e2b10045382f2a1830
parent9c98f365cacfac65fbbaf0a77b2ea7864abef759 (diff)
Fixes VSTS Bug 936021: "Go to Task" is broken in Tasks panel
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/936021 doc.Name is just the file name - the task list requires the full path.
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/CommentTasksProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/CommentTasksProvider.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/CommentTasksProvider.cs
index 0f42d994ea..1b5c2a74bc 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/CommentTasksProvider.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/CommentTasksProvider.cs
@@ -100,7 +100,7 @@ namespace MonoDevelop.Ide.Tasks
if (!TryGetDocument (args, out var doc, out var project))
return null;
- var file = doc.Name;
+ var file = doc.FilePath;
var tags = args.TodoItems.Length == 0 ? (IReadOnlyList<Tag>)null : args.TodoItems.SelectAsArray (x => x.ToTag ());
return new CommentTaskChange (file, tags, project);
}