none
Intermediate Folder is re-created even after deleting RRS feed

  • Question

  • I have a VS 2015 CPP project. I have set the Visual Studio Intermediate directory (Project properties -> General -> Intermediate directory) to a custom folder. I use a cmd file for building the project. After building I delete the custom intermediate folder using command in the cmd file. When I execute the batch file, the build is completed and the custom folder is deleted successfully. However it is seen that the folder is re-created after waiting for some time...anyone has some idea what is the issue here?
    Wednesday, August 7, 2019 2:18 PM

Answers

  • Hi,

    >>I think I have found the reason for the issue...Below link addresses the issue I got and it mentions that it is an issue of Visual Studio which has been fixed in newer versions...
    https://stackoverflow.com/questions/51076195/why-is-msbuild-generating-tlog-files-into-cmakefiles-compileridc-and-how-do-i
    Please check and confirm that I am correct..

    VCTIP.exe is "Microsoft VC compiler and tools experience improvement data uploader". When we build with MSBuild.exe. After the build is over, vctip.exe will continue to run, re-create the build directory and generate a text file containing all uppercase file system paths until we terminate it.

    According to the link:This issue has been fixed and is now available in our latest update. You could download the update via the in-product notification or from here: https://www.visualstudio.com/vs/ 

    Best Regards,

    Jeanine Zhang

    • Marked as answer by SQLNeophyte Friday, August 9, 2019 6:10 AM
    Friday, August 9, 2019 6:07 AM
    Moderator
  • Hi RLWA32,

    I think I have found the reason for the issue...Below link addresses the issue I got and it mentions that it is an issue of Visual Studio which has been fixed in newer versions...

    https://stackoverflow.com/questions/51076195/why-is-msbuild-generating-tlog-files-into-cmakefiles-compileridc-and-how-do-i

    Please check and confirm that I am correct..

    • Marked as answer by SQLNeophyte Friday, August 9, 2019 6:11 AM
    Thursday, August 8, 2019 1:16 PM

All replies

  • If Visual Studio is open and the project is loaded then I'll guess that it detects that the intermediate directory has been deleted and recreates it.

    Wednesday, August 7, 2019 2:32 PM
  • Hi RLWA32, 

    Thanks for your quick response...Yes I have observed what you mentioned...the intermediate directory is created when Visual Studio is opened...but in this case I haven't opened the project in Visual studio at all...the build was performed using cmd file only...But some other projects were open in VS when I performed the build.. Once the build is completed, the intermediate folder is not present(since I have deleted it using command in the cmd file)..But after sometime the folder is re-created with some intermediate files in it..


    • Edited by SQLNeophyte Wednesday, August 7, 2019 2:54 PM
    Wednesday, August 7, 2019 2:52 PM
  • How are you building using a command prompt window?   Are you using devenv?  msbuild?

    It doesn't make sense to me that a folder that has been deleted would be recreated with previous content intact.  

    • Edited by RLWA32 Wednesday, August 7, 2019 3:03 PM
    Wednesday, August 7, 2019 3:01 PM
  • I am using MSBuild.exe for building. The command is written in a .cmd file and I run the .cmd file. After sometime once the build is over, the intermediate folder is created again and it contains files with names like link-VCTIP.delete.1.tlog, link-VCTIP.read.1.tlog etc..
    Thursday, August 8, 2019 5:02 AM
  • Can you share a sample project and command file with us that reproduces the problem?

    If so, we can see if it occurs on our own systems with VS2015.

    Thursday, August 8, 2019 9:19 AM
  • Hi RLWA32,

    I think I have found the reason for the issue...Below link addresses the issue I got and it mentions that it is an issue of Visual Studio which has been fixed in newer versions...

    https://stackoverflow.com/questions/51076195/why-is-msbuild-generating-tlog-files-into-cmakefiles-compileridc-and-how-do-i

    Please check and confirm that I am correct..

    • Marked as answer by SQLNeophyte Friday, August 9, 2019 6:11 AM
    Thursday, August 8, 2019 1:16 PM
  • I don't work for Microsoft so I'm not in a position to confirm your assumption.
    Thursday, August 8, 2019 1:34 PM
  • Ok..then I expect any person in this forum from Microsoft to give some information on this..
    Friday, August 9, 2019 5:55 AM
  • Hi,

    >>I think I have found the reason for the issue...Below link addresses the issue I got and it mentions that it is an issue of Visual Studio which has been fixed in newer versions...
    https://stackoverflow.com/questions/51076195/why-is-msbuild-generating-tlog-files-into-cmakefiles-compileridc-and-how-do-i
    Please check and confirm that I am correct..

    VCTIP.exe is "Microsoft VC compiler and tools experience improvement data uploader". When we build with MSBuild.exe. After the build is over, vctip.exe will continue to run, re-create the build directory and generate a text file containing all uppercase file system paths until we terminate it.

    According to the link:This issue has been fixed and is now available in our latest update. You could download the update via the in-product notification or from here: https://www.visualstudio.com/vs/ 

    Best Regards,

    Jeanine Zhang

    • Marked as answer by SQLNeophyte Friday, August 9, 2019 6:10 AM
    Friday, August 9, 2019 6:07 AM
    Moderator
  • Hi,

    >>I think I have found the reason for the issue...Below link addresses the issue I got and it mentions that it is an issue of Visual Studio which has been fixed in newer versions...
    https://stackoverflow.com/questions/51076195/why-is-msbuild-generating-tlog-files-into-cmakefiles-compileridc-and-how-do-i
    Please check and confirm that I am correct..

    VCTIP.exe is "Microsoft VC compiler and tools experience improvement data uploader". When we build with MSBuild.exe. After the build is over, vctip.exe will continue to run, re-create the build directory and generate a text file containing all uppercase file system paths until we terminate it.

    According to the link:This issue has been fixed and is now available in our latest update. You could download the update via the in-product notification or from here: https://www.visualstudio.com/vs/ 

    Best Regards,

    Jeanine Zhang

    Ok.. Thaks a lot for the confirmation...
    Friday, August 9, 2019 6:10 AM
  • If Visual Studio is open and the project is loaded then I'll guess that it detects that the intermediate directory has been deleted and recreates it.

    Thanks RLWA32 for your time and support..
    Friday, August 9, 2019 6:12 AM