When deploying plugins using the Visual Studio Microsoft Dynamics 365 Developer Toolkit, we have been plagued with duplicate steps being created.
If we find a duplicate step has been created, we delete the plugin from the server and then redeploy the plugin from Visual Studio using the right click, deploy method.
The RegisterFile.crmregister is under source control so the guids should be maintained whichever member of our small team deploys.
Why are the duplicate plugin steps being created and how can it be prevented in a team situation?
Related
I connected Azure DevOps to Visual Studio and when I press "Publish Git Repo" everything is working fine.
But it always creates a Scrum process Dashboard.
I made Agile as default and disabled all of the others in my organisation.
Now Visual Studio throws this error
VS403119: You cannot add a team project with process Scrum as it is disabled. Either choose a different process, or enable process Scrum and try again.
So it means the setting is somewhere in Visual Studio.
The only thing I found about it is this two years old question.
Do you know the setting or some config file to change the default process board when publishing to the Azure DevOps from Visual Studio?
Visual Studio always specifies Scrum process when creating Azure Devops project via its Team Explorer, as I know there's no VS settings available to manage this behavior.
As a workaround you can create the project with Agile process in web portal first, add local project/solution into source control and choose Target Project(Click Advanced) before publishing the repo:
Actually this behavior is VS-specific cause Azure Devops itself supports specifying process template even by Rest API. So I decide to post a feature request related to your requirements in User Voice forum with VS tag instead of Azure Devops tag. The product team would provide the updates if they view it.
I am trying to add new projects to the Team Foundation Server and every way I have tried to add them has failed. We are running TFS 2012 Version: 11.0.50727.1 (RTM) and I am running Visual Studio 2015. I am a member of the Administrators Group.
I have tried at least 3 ways that MS support says how to do it on the website and none of them have worked:
I have tried to add it through Visual Studio
I have tried to add it through the Team Foundation Server Administration Console on the Server.
I have tried to add it through the TFS Web Management Portal.
When I try to add it through Visual Studio, I get an error when trying to check it in. It shows on the Source Control Explorer with a pending change of 'Add'. Here is a screenshot of the team explorer and output:
Since the message tells me to add it to the server, I opened the TFS Server Admin Console and When I go into the Team Projects Tab under Team Project Collections, it lists the existing projects, however, there is no way to add a new project. Here is a screenshot of the Admin Console:
There is only a help icon with a link on How to add a Team Project, although like with most MS help articles, it is useless. It provides information about how to do it on the web. So I tried it. I accessed the web portal for our TFS server and there isn't any option to add a project there either. When I go in to the "View the collection administration page" It tells me "Not all Collection level administration is exposed in the web experience. For all administration operations at the collection level please use the Administration Console on your Team Foundation Server.". Here is a screenshot of the online portal:
Can someone please help me with this issue? How can I add the projects to the Team Foundation Server?
I figured out how to Add the projects to the Team Foundation Server using Visual Studio 2015. It is very simple and can be done right from the File Menu in Visual Studio.
First open Visual Studio 2015. (I am not sure if it works the same in other versions.)
Go to File -> New -> Team Project...
The New Team Project Wizard will popup where you can then enter the project name and project description.
Then you can choose the template type and whether you will be using TFS Version Control or Git Distributed Version Control.
Once you click Finish, the Project will be added to TFS.
You can then add the files to the workspace folder on your dev machine.
Then you can check the files into TFS using the Team Explorer. *Note: First, you may need to add the files to the project by going to the Solution Control Explorer and right clicking on the newly created project and selecting Add Items to Folder. From there you can add the files then check them in using the Team Explorer.
Please clarify you want to create a code project/solution and add it to a TeamProject, or you want to create a TeamProject. TeamProject and code project/solution are different.
If you want to create a new TeamProject, according to Client compatibility, TFS 2012 supports VS 2015 RTM or latest update. Check your VS 2015 edition and re-try to create a TeamProject.
If you want to add a code project/solution to a TeamProject, you'll have to connect a TeamProject first and create a workspace, then perform a check-in: https://www.visualstudio.com/en-us/docs/tfvc/set-up-team-foundation-version-control-your-dev-machine
Last, try to clean the Cache folder on your dev computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\4.0\Cache.
If none of above works, try on another dev machine to see whether you can reproduce this issue.
I have an MVC 5 application with Entity Framework. I was hoping to setup a continuous delivery using Visual Studio Online and TFS to Azure websites.
At first, it looked like i succeeded in setting up my application for continuous delivery, as when i check in the project, the build started and succeeded. Then i went to browse the website, there was nothing. I went into Visual Studio Online to check my builds, i noticed that under "Completed" tab, all builds completed successfully, but when i click on "Deployed" tab none were deployed "No builds have been deployed today by anyone"
I followed Continuous delivery to Azure using Visual Studio Online and i was under the impression that all i need is to check in my code and it would deploy to azure.
Could someone please help me with this problem?
Error
TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task TestResolutionState from group TestManagement.
Explanation
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)”
User Action
Contact your Team Foundation Server administrator.
I just saw this exact problem (TFS 2013 Update 4 and Visual Studio 2013 Update 4). I found the solution posted here on the Microsoft Connect site solved the problem. In short, uninstalling some assemblies that were mistakenly installed got everything working again.
1. Close all instances on Visual Studio and Microsoft Test Manager
2. Open Visual Studio command prompt in admin mode.
3. Perform the following steps:
ngen uninstall Microsoft.TeamFoundation.TestManagement.Client
ngen uninstall Microsoft.TeamFoundation.TestManagement.Common
I have seen this issue when the version of Visual Studio is not upgraded to Update 4 and an attempt is made to create a new team project. I would suggest that you first make sure that the version of visual studio (that you use to create the new team project) is on the same version as TFS (in this case Update 4).
I found a workaroud on msdn forum
There is a bug in the V1.0 version of the product that impacts Team
Project creation when the Team Foundation Administrators group has a
TFS project level group in its hierarchy. One way that this might
occur is if you try to open the system up by adding the Team
Foundation Valid Users group to the Team Foundation Administrators
group, though any TFS project level group will trigger the condition
(e.g., [project A]\Project Administrators). This issue only impacts
Team Project creation and it can be worked around by temporarily
removing the TFS project level group from the Team Foundation
Administrators group. There is a variation on this Team Project
creation bug that will appear if the sync process runs across a user
that does not have a valid security identifier. I am not quite sure
if your case of deleted domain users triggers this condition, but I
will follow up to find out. In the meantime, please take a look at
the membership of your Team Foundation Administrators group to see if
there are any TFS project level groups in the hierarchy.
I don't know if Microsoft had realeased a patch for this bug but for now I choosed to return to TFS 2012 which works like a charm
I have an existing Team Project in Team System 2010 which, when I originally created it, I opted not to create a Sharepoint Project Portal website. I now would like a Sharepoint Project Portal website for the Team Project.
How do I do this?
In Visual Studio, I have tried Team->Team Project Settings->Portal Settings... and checking '"Enable team project portal" but I get the error:
TF229003: No response was received from following SharePoint site:
htttp:/. Verify that it is operational, or specify another
site
It seems that the TFS PowerTools have a command-line utility tfpt which lets you add a Project Portal for an existing Team Project.
tfpt addprojectportal
A blog post with a bit more info: http://www.doodle.co.uk/Blogs.aspx/2010/06/15/Rebuilding-TFS-Portals
Edit: another post with examples: http://ivanfioravanti.wordpress.com/2010/07/01/create-project-portal-and-reports-for-an-existing-team-project-on-tfs-2010/
Install TFS PowerTools and in command line you can create the portal.
you have to close visual studio first.
here is the msdn link: http://msdn.microsoft.com/en-us/library/ms242865.aspx