TFS modifies the project name

Source: Internet
Author: User
Introduction

How do I rename a TFS-managed project without losing the change history?

Sometimes the name of a project needs to be modified during the project development process to be more prepared to express its functionality due to insufficient upfront consideration at work. This article will be a catalyst for this

Operation
  1. Rename the directory where the item you want to modify is located in SourceControl
  2. Remove the item that is currently being renamed (because the local directory is also modified after renaming in SourceControl, so the VS cannot find the corresponding item in solution, so remove first)
  3. Add the item to solution from the renamed folder by adding the existing item in the same way
  4. To rename a project
  5. Modify the corresponding project property, assembly name, and namespace name in the project
  6. Re-add the reference to the project in solution that needs to reference the purpose of the rename item.
  7. To modify the code namespace in a renamed project
  8. Modify a reference to this renamed project namespace

Summarize

Deal with ideas: always let TFS know what you want to change the project to, what name. Grasp this idea, the operation of the time will be handy.

TFS modifies the project name

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.