Harvest

 View Only

TECH TIP: Adding Unicode files to a Project in Visual Studio causes out-of-sync condition

  • 1.  TECH TIP: Adding Unicode files to a Project in Visual Studio causes out-of-sync condition

    Posted Nov 04, 2015 04:54 PM
      |   view attached

    Problem: Adding new files to a project in Visual Studio and the new files are Unicode format causes the project to get out-of-sync with the

    version in Harvest when committing pending changes. No error message will display, instead the project will commit however the newly added

    file will remain in the Pending Changes view of Visual Studio. Subsequent commit actions will then cause an SCM error message to pop up

    and display that the change cannot be committed with out selecting the project.

     

    Solution: I have included a PDF document with screenshots that details this problem and the steps on how to recover from this condition

    and to commit the new files in the project successfully.

     

    The bottom line to prevent this out-of-sync condition from occurring in the first place is to insure all newly added files are in ANSI text format.

    The easiest method to insure this, is to open the file in windows notepad and then do a "save as" and select the encoding as "ANSI".

     

    This problem has been found in VSIP R12.6 and Build 161.

    Attachment(s)

    pdf
    Problem VS Out of Sync.pdf   399 KB 1 version