Can TFS Pending Changes show files that are truly changed like SourceGear Vault?

前端 未结 5 1196
长情又很酷
长情又很酷 2021-01-31 03:40

I have been using SourceGear vault for some personal projects and Team Foundation Server for work projects. One thing TFS is missing is a simple feature that Vault has on its ch

5条回答
  •  太阳男子
    2021-01-31 04:25

    I don't like answering my own questions, but it looks like there might not be a real Microsoft solution out there. For me, this is how I handle the problem at the office using Visual Studio.

    1. Before I re-generate the business objects, I make a copy of the entire folder structure
    2. I check out the entire project or the root generated folder
    3. I start the code generator. Sometimes, I know exactly what is changing, but other times, I might make a lot of changes and I don't want to miss anything. My code generator at work also generates all the SQL files needed to DROP / CREATE stored procedures.
    4. Using SourceGear DiffMerge, I compare the folders of the just generated and the previously backed up folder.

    This is pretty time consuming. I never thought of it as a problem until I saw Vault identifying that a file was different on disk from the repository.

    Maybe you all can say how you do code generation / regeneration when working with a source control repository.

提交回复
热议问题