In the past i was working with one of the client where i was migrating
data along with reports and SharePoint from TFS 2008 to TFS 2013 update 4 which
was successfully completed. But after migration i came across an issue
while creating new team project.
Below is the error:
TF30170:
The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task
TestResolutionState from group TestManagement.
Plugin
error text: “System.MissingFieldException: Field not found:
'Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet'.
at
Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets()
at
Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject..ctor(TestManagementService
manager, String projectName) at
Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.b__0(String
name) at
Microsoft.TeamFoundation.TestManagement.Client.ObjectCache`2.Get(Key key,
Creator creator) at
Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.GetTeamProject(String
projectName) at Microsoft.TeamFoundation.TestManagement.PcwPlugin.ContextWrapper.get_Project()
at
Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.SetPermissionsIfNeeded(ContextWrapper
wrapper) at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper
wrapper, XmlNode taskXml, Boolean fExecute)”
Then i
understood it as a bug in the update and i dint not stop there did some
investigation and then i ended at a point which resolved the issue.
Solution:
Below are the steps to be followed:
Solution:
Below are the steps to be followed:
- Close all instances on Visual Studio and Microsoft Test Manager
- Open Visual Studio command prompt in admin mode.
- Perform the following steps:
- ngen uninstall Microsoft.TeamFoundation.TestManagement.Client
- ngen uninstall Microsoft.TeamFoundation.TestManagement.Common
- Open admin command prompt.
- Navigate to <System_Drive>:\Windows\Assembly\NativeImages_v4.0.30319_32
- dir /s Microsoft.TeamFoundation.TestManagement.Client.ni.dll
- Delete all instances of this native image dll.
- Ex: del /s Microsoft.TeamFoundation.TestManagement.Client.ni.dll
- dir /s Microsoft.TeamFoundation.TestManagement.Common.ni.dll
- Delete all instances of this native image dll.
- Ex: del /s Microsoft.TeamFoundation.TestManagement.Common.ni.dll
Happy ending :)
No comments:
Post a Comment