All posts on this blog are provided "AS IS" with no warranties, and confer no rights.
All source code snippets are released under the Ms-PL license.
To enable tracing, add the following xml block to devenv.exe.config file directly under the <configuration> root node, after the </configSections> end tag. Make sure to make a backup first so that you can revert back in case something goes wrong. You may need to change "Warning" below with "Verbose" if you want verbose logging.
<source name="CPS" switchName="CPS" switchType="System.Diagnostics.SourceSwitch">
<add name="CPS" value="Warning"/>
<add name="cpsFileLogger" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\devenv-cps.log">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Warning"/>
<trace autoflush="true" indentsize="4" />