'Tens of thousands of htm files in c:\Temp
VS 2022 creates tens of thousands of htm-files (obviuosly log-files) in c:\Temp\Default and c:\Temp\NativeImage. After a couple of weeks of work with VS they add upp to several GB. This slows down work as the Virus scanner will take all cpu for several minutes after starting VS. Deleting those folders and I'm back to normal for a week or so. And is not good for my SSD. What can be done to prevent this? I havn't seen this with VS2019 or early versions of VS2022.
Solution 1:[1]
From your comment, this sounds like logs from the Fusion Log Viewer. Double-check your settings by running fuslogvw.exe from an elevated command prompt (need to be elevated to change settings).
If you have enabled either of the last 2 options (Log bind failures to disk or Log all binds to disk), it will create a log file for each applicable event. This can end up consuming lots of disk space, as you're observing.
If you set it to the second option (Log in exception text), you'll be able to view these details in the debugger if you're encountering assembly bind failures, but it doesn't write to disk anywhere (just a slight memory increase in the exception objects).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jimmy |

