CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2010
    Posts
    105

    Question link.xxxxx....tlog files OK to delete?

    VC 2010 Express keeps adding some "link.*.tlog" files in the project folder. Is it OK to delete them? Thanks!

  2. #2
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: link.xxxxx....tlog files OK to delete?

    As far as I remember, *.tlog files are generated for incremental build by the file tracker feature of MSBuild.

    I would suggest to disable the generation of these tracking log files (rather then deleting), by manually adding following MSBuild property to the .vcxproj file.

    <TrackFileAccess>false</TrackFileAccess>
    But keep in mind that by doing that, you'll have to sacrifice incremental linking.
    Last edited by Ejaz; May 12th, 2012 at 03:06 PM.

  3. #3
    Join Date
    Nov 2010
    Posts
    105

    Re: link.xxxxx....tlog files OK to delete?

    A related question: There are two huge files "projectname.sdf" and "projectname-xxxxxx.ipch". Can they be disabled or deleted? Thanks!

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: link.xxxxx....tlog files OK to delete?

    sdf file
    .ipch file
    And you could find much more info about these files using Google search
    Victor Nijegorodov

  5. #5
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: link.xxxxx....tlog files OK to delete?

    Yes, SDF and IPCH files can safely be deleted, but they will be recreated next time you open your solution in Visual Studio.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured