Process Templete Editor fails to open WI that contains a custom control

We have a WI with a custom control and the process templete editer fails with this error -

There was a problem loading the work item type definition:
File c:\Program Files\Microsoft Visual Studio 8\Common7\PrivateAssemblies\bug.xml
There is an error in the xml document (1,21122).

See the event log for furthur detail.

I should still be able to open in the IDE but it must be mapping to the Process Editor and end up with same error above. Is there a way to get around this without un-installing power toys?

PS. It seems to open WI without a custom field defined ok.

[693 byte] By [ultra03] at [2008-2-17]
# 1

Sounds like the XSD doesn't include what's required for the custom control. If that's the case, updating the XSD would help.

What's the problem in highlighted in the event log?

(Sorry for the slow reply.)

AlanCameronWills at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 2

Following is what the event log displays -

Event Type: Error
Event Source: Microsoft? Visual Studio? 2005
Event Category: None
Event ID: 0
Date: 03/13/2007
Time: 10:07:15 AM
User: N/A
Computer: LAS625XPL120
Description:
System.Xml.XmlException: File: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\bug.xml
There is an error in XML document (1, 21122).
at Microsoft.TeamFoundation.ProcessTools.TemplateEditor.Common.Utilities.LoadObject(String fileName, Object target)
at Microsoft.TeamFoundation.ProcessTools.TemplateEditor.BusinessObjects.WorkItemTypeDefinition.WorkItemTypeDefinition.Load(FileInfo workItemTypeDefinitionFile)
at Microsoft.TeamFoundation.ProcessTools.TemplateEditor.TemplateEditorControls.ucWorkItemTypeDefinition.OpenFromFile(String fileName)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

ultra03 at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 3
Have you successfully uploaded a process template to TFS and run Project Creation Wizard (PCW) using this WI?
FrancisCheung at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 4
Yes, we are currently using this WI in a team project. The witimport, export seems to work fine along with the uploading or downloading the entire process template. I can post the actual WI here if it will help.
ultra03 at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 5
Send it to awills at microsoft.com please.
AlanCameronWills at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 6
Any updates to this issue? I am having the same problem.
sawalker at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 7

Can you zip up the process template and send it to me to debug?

-Francis [fcheung@microsoft.com]

FrancisCheung at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 8
OK, I sent you the WIT.
ultra03 at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 9
Does anyone have any new information regarding this as it still is an issue?
ultra03 at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 10

I finally found the problem. Unfortunately there is no easy work-a-round.

The Process Template Editor currently does not support controls other than the following:

FieldControl, DateTimeControl, HtmlFieldControl, LinksControl, AttachmentsControl, WorkItemClassificationControl, & WorkItemLogControl

I agree that supporting custom controls is a great feature to include in the next release. If this is important to you, please send your input to https://connect.microsoft.com. You can also reply to this post.

Thanks for your patience.

-Francis Cheung [msft]

FrancisCheung at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 11

Thank you for your response. We agree that this would be a great feature for next release and now that we know that it will not currently support our custom control we can continue to work manually.

I do have one question though and that Is there a way in VS2005 with the new template editor installed to tell it to open the xml WI for edit rather than using the template editor. Currently we can only open by using a different tool as VS2005 with the template editor powertoy installed will alwasy try and use it.

Thanks

ultra03 at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...
# 12

Since we have the same problem, and I was not able to find an existing bug submission in Microsoft Connect I created a new submission:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=272972

I have put a link to this thread in the description.

Regards,

Stefan

stefan_sp at 2007-9-5 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server – Power Tools & Add-ons...

Visual Studio Team System

Site Classified