none
How to compare two source code RRS feed

  • Question

  • I need to integrate other's programmer's source code into my project.

    To do this, I need to compare codes and apply only changes.

    Can I do this in my C# project?

    Friday, December 21, 2018 6:32 PM

Answers

  • I need to integrate other's programmer's source code into my project.

    To do this, I need to compare codes and apply only changes.

    Can I do this in my C# project?


    In Visual Studio, click the Tools menu, then Extensions and Updates.  Click the Online item on the left.  Type compare in the search box and hit enter.  Choose the one you like best.
    • Marked as answer by Jeff0803 Friday, December 21, 2018 7:01 PM
    Friday, December 21, 2018 6:54 PM

All replies

  • I need to integrate other's programmer's source code into my project.

    To do this, I need to compare codes and apply only changes.

    Can I do this in my C# project?


    In Visual Studio, click the Tools menu, then Extensions and Updates.  Click the Online item on the left.  Type compare in the search box and hit enter.  Choose the one you like best.
    • Marked as answer by Jeff0803 Friday, December 21, 2018 7:01 PM
    Friday, December 21, 2018 6:54 PM
  • I can't find it in the Visual Studio 2005
    Friday, December 21, 2018 7:01 PM
  • If you haven't done it yet create a git or TFS branch in a repository with your code, then create another branch with the other's programmer source code and finally merge. I'm assuming that you have some version control, If you don't have it, that will be an intense and tedious work, not to mention the risk of breaking your production code. You can download Git for free, or use Azure DevOps. 
    • Edited by de3a10 Friday, December 21, 2018 7:19 PM
    Friday, December 21, 2018 7:17 PM
  • I can't find it in the Visual Studio 2005

    VS2005 is  probably too old. Maybe. if you search Bing or Google, you'll find a free tool to use.
    Friday, December 21, 2018 7:21 PM
  • If you find yourself becoming disenchanted with the free tools, you might consider purchasing a copy of "Beyond Compare" ( a Boeing favorite ) at Scooter software. 

    I have no relationship with Scooter Software other than exceptionally satisfied user.


    (https://en.wikipedia.org/wiki/Beyond_Compare)
    • Edited by Lincoln_MA Friday, December 21, 2018 10:29 PM supply link
    Friday, December 21, 2018 10:27 PM