Unassociate mpp with a team project
Once an mpp is associated with a team project how is it unassociated with a team project?
Answers
There isn't an easy way to do this from the UI. The workaround is listed below:
- Close Project
- Right click on the mpp file and choose Properties.
- Choose the Custom tab in the Properties window.
- Choose any Property listed there named "VS Team System Data Do Not Edit" and click Remove.
- Click Apply or Ok.
- Open the mpp file and you will get a message saying its not associated with any TFS server. Click Ok and Save it
- You will not get the error message everytime you open the mpp file as long as you save it once after the message is received.
Let me know if this works.
All Replies
Not sure I understand your question. Why do you want to unassociate an mpp from the team project? Are you asking how you can disconnect the mpp from a TFS server and project?
Thanks!
Yes that is what I mean. I want to disconnect the Project file from a TFS Server and a Team Project. It does not need to be associated with the given Team Server or Team Project.
There isn't an easy way to do this from the UI. The workaround is listed below:
- Close Project
- Right click on the mpp file and choose Properties.
- Choose the Custom tab in the Properties window.
- Choose any Property listed there named "VS Team System Data Do Not Edit" and click Remove.
- Click Apply or Ok.
- Open the mpp file and you will get a message saying its not associated with any TFS server. Click Ok and Save it
- You will not get the error message everytime you open the mpp file as long as you save it once after the message is received.
Let me know if this works.
- That did it! Worked perfectly. Thanks.
- How do I do this for a project stored in MS Project Server? If I change the properties, then Save, the next time I open the project from Project Server, the VSTS properties are there again.
If you have an MS Project Server project instead of an mpp file, you can unbind it from TFS Team project following this steps:
- Close MS Project.
- Disable the TFS addin by going to HKLM\Software\Microsoft\Office\MS Project\Addins\TfcOfficeShim.Connect and change the ‘LoadBehavior’ from ‘3’ to ‘0’.
- Open your project from Project server
- Choose Properties from the File menu
- Choose the Custom tab in the Properties window.
- Choose any Property listed there named "VS Team System Data Do Not Edit" and click Remove.
- Click Apply or Ok.
- Close MS Project
- Re-enable the TFS addin by going to HKLM\Software\Microsoft\Office\MS Project\Addins\TfcOfficeShim.Connect and change the ‘LoadBehavior’ from ‘0’ to ‘3’.
- Re-open your project from Project server and it is now unassociated from TFS
It seems like this approach forces a dis-association of the MS Project work items and the TFS work items. Before I can choose a team server, project forces me to empty out the Work Item ID and Rev columns. Then my existing work items are not associated with their corresponding items in the TFS database -- they can't be, because the MS Project work items have no IDs to associate with.
The reason I need to associate with a new TFS server is because I have changed my server to force SSL/https connections. That means that MS Project has to connect to the same server using a different address. Is there any way to change the server without losing all of the work item IDs, and with them the connection between MS Project work items and TFS work items? The alternative seems to be to re-create my project plan from scratch.
Today, the only option is to reimport the existing work items and restructure the plan (hierarchies, etc). We are looking at providing a tool that will allow you to associate the plan back to TFS and retain the work items in the future. But for now, the options are either to reimport the items and reorganize the plan, or re-publish the plan and create new work items (may not be desirable if you have a lot of existing items, and want to keep the history information).
Has this tool been developed yet? Where is it?
We cannot connect our current project plan back to a TFS server that had to be rebuilt after it became corrupted by an outside software program.
Now the plan will not connect back to the Server.
It's a hefty plan, and we could use this tool.


