Visual Studio 2015 - User tasks gone?

2019-04-19 09:50发布

问题:

I've recently switched from Visual Studio 2013 to 2015 and converted all of my old projects. However, now I can't seem to find my user tasks anymore? There used to be a drop-down menu in the task list, but it looks like that's gone in the new version, unless I'm missing something.

Have user tasks been removed? If so, is there a way I can still retrieve them from my project?

回答1:

The documentation on MSDN has been updated with this paragraph:

The user task feature has been removed in Visual Studio 2015. When you open a solution which has user task data from Visual Studio 2013 and earlier in Visual Studio 2015, the user task data in your .suo file will not be affected, but the user tasks will not be displayed in the task list.

If you wish to continue to access and update your user task data, you should open the project in Visual Studio 2013 and copy the content of any user tasks into your preferred project management tool (such as Team Foundation Server).



回答2:

Checked with MSDN:

Using the Task List

It doesn't work for me either, but you likely have more practice with Visual Studio than I do...



回答3:

I used my tool FeinCtrl and found that CreateUserTask command is defined in Visual Studio 2015. However, when I bound it to a keyboard shortcut, it didn't do anything.

The Same commands in Visual Studio 2013 adds an empty user task and, if TaskList is visible with User Tasks selected - places an input caret into that new task.



回答4:

I used the user tasks as well. A workaround I've found is using Ctrl+K, Ctrl+K to add a bookmark to that line and then renaming the bookmark inside the Bookmark window (Ctrl+K, Ctrl+W) to indicate the change I need to make later.