Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Silvan Egger 28 posts 200 karma points
    Jul 05, 2016 @ 06:58
    Silvan Egger

    uSync and TFS - Source Control doesn't recognize changes from uSync

    Hi togheter

    uSync is awesome! I really like to work with it. But I encountered a problem when working with Visual Studio 2015 and Team Foundation Server Source Control.

    My solution is running and i add a Document Type with a Template. So uSync creates these files

    • uSync/data/DocumentType/myDocumentType/myDocumentType.config
    • uSync/data/Template/myTemplate/myTemplate.config

    and Umbraco creates this file

    • Views/myTemplate.cshtml

    Now the problem is, Visual Studio doesn't get that these files are created or changed. So it doesn't list them under pending changes. When i check-in my files, my new Template and Document Type don't get checked-in and thats a Problem.

    Is there a way to tell Visual Studio to always track created, removed or changed files in specific folders of the project?

    Yeah, i could always manually include the files to project, but this could cause errors when I miss a file or when someone works with this solution and doesn't know he has to include them manually.


    • Visual Studio 2015 Enterprise
    • Team Foundation Server from Microsoft
    • Umbraco v7.4.3
    • uSync v3.1.4.740
    • uSync.Core v5.3.5.740

    Greets, Silvan

  • Kevin Jump 1769 posts 11367 karma points MVP 4x c-trib
    Jul 05, 2016 @ 07:31
    Kevin Jump


    I don't use TFS so maybe someone with a bit more background can flesh this out, but i think you add the uSync folder via the source control explorer ?

  • Silvan Egger 28 posts 200 karma points
    Jul 05, 2016 @ 07:33
    Silvan Egger

    Ok, but thanks anyway.

    Yeah i also posted my question on Stack Overflow. Maybe they can help me out.

  • John Bergman 459 posts 1065 karma points
    Apr 21, 2017 @ 23:27
    John Bergman

    I know this is late to the game, but I found this solution that seems to work pretty well.

    First, manually edit the project file to remove all of the explicit usync references (In my case, I also did it for the media folder).

    Add this line instead

    <Content Include="uSync\data\**" />

    Then when you are ready to check in your changes, you can reconcile it to help you past adding/deleting/identifying changes.

Please Sign in or register to post replies

Write your reply to: