Microsoft Visual Studio: Setup Logs

Abdulqadir Aliyev 136 Reputation points
2023-01-21T16:27:20.1866667+00:00

So I've just installed Visual Studio (even though I was asking questions about it before, I didn't actually have it installed, because what I was doing is getting all the information first and then installing the program), and checked the TEMP folder. I saw it created 547 log files in the TEMP folder. I need to get rid of them because sometimes I need to look at other files quickly that are being created in the user TEMP folder.

This also made the TEMP folder grow up to a size of 336MB: it had a size of 29,7MB before.

So, this makes me ask a question - is it safe to delete these setup logs? Would this impact the usability or stability of Visual Studio 2022 (Community)?

*Visual Studio Setup Logs are located right in %LocalAppData%\Temp, and have a name similar to something dd_setup_datetime_packageName.log, for example: dd_setup_20230121182408_Microsoft.VisualStudio.MinShell.Resources.x64.log

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,438 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
939 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 11,696 Reputation points
    2023-01-22T13:26:45.7566667+00:00

    As the name suggests, the temp folder is to store the temporary files. So you can clear the logs in the %temp% folder.

    Hope this helps

    0 comments No comments