• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

VS2010 generating output files

When I build my project in VS2010, a bunch of files show up (as shown below). So every day or so, I have to delete them to keep my project directory tidy.  Why am I required to do this extra chore?

for example....

link.3832.read.1.tlog
link.3832.write.1.tlog
link.3832-cvtres.read.1.tlog

etc
0
tullhead
Asked:
tullhead
  • 2
  • 2
1 Solution
 
Jacques Bourgeois (James Burger)Commented:
Create a small script (.bat, .vbs, powershell) or application that deletes the files.

Either add it to your project to run it from the Solution Explorer, or set it to start at a regular time in Windows Task Scheduler.
0
 
tullheadAuthor Commented:
This is what all users of Visual Studio are now required to do?   Seems like a strange product design.  Are you sure there is not just some setting in VS2010 to turn this off?  Does VS2012 have this mis-feature?   In good old version 6.0 I didn't have this issue.
0
 
Jacques Bourgeois (James Burger)Commented:
The reason why they keep a lot of files is that these are reused from compilation to compilation to make the compiler work faster. As far as designed is concerned, this is a good thing.

Good old version did not have so much work to do. It did not check for dll versions, did not optimize much, was not built to compile 40 different languages and 60 different types of applications.

Keep working with Visual Studio and .NET for a while, and if you are a Professional programme, you will change your thought to Bad old version 6. Its hard at the beginning, but after a while, you are angry everytime that you have to program in VBA or on an old VB6 application.

You cannot turn it off, but your follow up question brings something else to my mind.

There is an option to clean the solution in the Build menu. I do not know for the type of application that you are building, but for Windows Applications, it deletes all the files created by Visual Studio for its own use. It does not delete your own files or those resulting from the compilation.
0
 
tullheadAuthor Commented:
I went up to VS2015 and these files do not get created anymore....
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now