Solved

VS2010 generating output files

Posted on 2014-03-05
4
440 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
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:Jacques Bourgeois (James Burger)
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I went up to VS2015 and these files do not get created anymore....
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now