locked
Process Editor crashes VS 2010 when editing work item RRS feed

  • Question

  • TFS 2010 Power Tools add-in, Visual Studio 2010 Ultimate.

    This is just to report a condition where opening a process template with the Process Template editor then selecting a work item to edit crashes Visual Studio 2010.

    I had made some changes to our TFS Process Template work items. The changes are under source control.  I made the mistake of saving the ProductBacklogItem.wit in the TypeDefinitions folder and checking it in to SCC as well. Once that was done, the wit file attributes were set to readonly.

    When I opened the Process Template and selected the Product Backlog Item and clicked Edit, Visual Studio abended.

    After a bit of head scratching, I found that if I deleted the .wit file, I could open the Work Item without error.

    Moral of the story, don't put .wit files under source control.

    Richard


    • Edited by Richard Winks Wednesday, November 7, 2012 2:11 PM readability
    Wednesday, November 7, 2012 1:54 PM

Answers

  • Hi Richard,

    Thanks for your feedback!

    I tested in my machine, and cannot repro the issue which in your original post. Generally, you can just from Process Editor->Work Item Types->Open WIT from Server, and select the collection and team project, then select Product Backlog Item, which is directly open the *.wit file to edit. In your last reply, you can do it for editting a Process Template.

    For more information, you can from start->All Programs->Microsoft Team Foundation Server 2010 Power Tools->Help.

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Friday, November 9, 2012 6:27 AM
    Moderator

All replies

  • Hi Richard,

    Thanks for your post!

    Can you tell me how did you open the ProductBacklogItem.wit? Do you mean you from Tools menu, select Process Editor->Work Item Types->Open WIT from Server, and select the collection and team project, then select Product Backlog Item?

    If yes, after you modify the work item type, you just to save it, not need to check in to the TFS. If you open the Product Backlog Item using the above method, one ProductBacklogItem .wit file will be created. You need not to put the .wit file under source control.

    If you have any concern with it, please feel free to let me know!

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, November 8, 2012 6:38 AM
    Moderator
  • Thanks for the response Cathy.  I'm not having a problem, just relating an experience that might help others since I didn't find anything about it in my search.

    Here are the steps I took to get to the work item:

    1. Launch Visual Studio
    2. From main menu select Tools > Process Editor > Process Templates > Open Process Template
    3. Browse to and open the ProcessTemplate.xml
    4. On the Process Template Editor main screen select Work Item Tracking from the main screen
    5. On the right hand panel select "Product Backlog Item"

    This opens the Prodect Backlog Item for tinkering.

    Richard

    Thursday, November 8, 2012 12:47 PM
  • Hi Richard,

    Thanks for your feedback!

    I tested in my machine, and cannot repro the issue which in your original post. Generally, you can just from Process Editor->Work Item Types->Open WIT from Server, and select the collection and team project, then select Product Backlog Item, which is directly open the *.wit file to edit. In your last reply, you can do it for editting a Process Template.

    For more information, you can from start->All Programs->Microsoft Team Foundation Server 2010 Power Tools->Help.

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Friday, November 9, 2012 6:27 AM
    Moderator