Solved

VS2010 generating output files

Posted on 2014-03-05
4
453 Views
Last Modified: 2016-05-29
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
Comment
Question by:tullhead
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40
ID: 39907262
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
 

Author Comment

by:tullhead
ID: 39916018
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
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39916055
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
 

Author Comment

by:tullhead
ID: 41623622
I went up to VS2015 and these files do not get created anymore....
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deletiā€¦
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question