How To Enable Visual Studio 2010 Log


How To Enable Visual Studio 2010 Log

To enable visual studio logger go to :

  1. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (64bit OS)
    C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE (32bit OS)
  2. Edit “devenv.exe.config” (Make sure you close all open instances of Visual Studio)
  3. Add below text before </Configuration> tag,  and edit the location of the log file (E:\Backup\tf.log)

            <add name="TeamFoundationSoapProxy" value="4" />
            <add name="VersionControl" value="4" />
          <trace autoflush="true" indentsize="3">
              <add name="myListener"
           type="Microsoft.TeamFoundation.TeamFoundationTextWriterTraceListener,Microsoft.TeamFoundation.Common, Version=,
           Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" initializeData="E:\Backup\tf.log" />
              <add name="perfListener" type="Microsoft.TeamFoundation.Client.PerfTraceListener,Microsoft.TeamFoundation.Client,
              Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </system.diagnostics>    .

  4. Save devenv.exe.config and open visual studio.

    For Example:


Add comment
facebook linkedin twitter email

Leave a Reply