<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>techencoder &#187; VS2010</title>
	<atom:link href="http://techencoder.com/index.php/tag/vs2010/feed/" rel="self" type="application/rss+xml" />
	<link>http://techencoder.com</link>
	<description>Technical ideas in a human readable format</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:19:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>		<item>
		<title>Viewing the Activity Log for VS 2010</title>
		<link>http://techencoder.com/index.php/2009/11/vs2010-activity-log/</link>
		<comments>http://techencoder.com/index.php/2009/11/vs2010-activity-log/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 20:41:07 +0000</pubDate>
		<dc:creator>r.claypool</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://techencoder.com/?p=918</guid>
		<description><![CDATA[Are you repeatedly getting a less than helpful error dialog in Visual Studio 2010? Go to the command line and run devenv.exe with logging, reproduce the error in the IDE and then open ActivityLog.xml: C:\&#62;cd &#34;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&#34; C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&#62;devenv /Log C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&#62;cd %APPDATA% [...]]]></description>
			<content:encoded><![CDATA[<p>Are you repeatedly getting a less than helpful error dialog in Visual Studio 2010?</p>
<p>Go to the command line and run <a title="devenv.exe logging" href="http://msdn.microsoft.com/en-us/library/ms241272(VS.100,lightweight).aspx">devenv.exe with logging</a>, reproduce the error in the IDE and then open ActivityLog.xml:</p>
<p><img class="aligncenter size-full wp-image-919" title="devenv" src="http://techencoder.com/wp-content/uploads/2009/10/devenv.png" alt="devenv" width="600" height="174" /></p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">C:\<span style="color: #33cc33;">&gt;</span><span style="color: #b1b100; font-weight: bold;">cd</span> &quot;C:\Program Files <span style="color: #33cc33;">(</span>x86<span style="color: #33cc33;">)</span>\Microsoft Visual Studio 10.0\Common7\IDE&quot;
C:\Program Files <span style="color: #33cc33;">(</span>x86<span style="color: #33cc33;">)</span>\Microsoft Visual Studio 10.0\Common7\IDE<span style="color: #33cc33;">&gt;</span>devenv /Log
C:\Program Files <span style="color: #33cc33;">(</span>x86<span style="color: #33cc33;">)</span>\Microsoft Visual Studio 10.0\Common7\IDE<span style="color: #33cc33;">&gt;</span><span style="color: #b1b100; font-weight: bold;">cd</span> <span style="color: #33cc33;">%</span><span style="color: #448888;">APPDATA</span><span style="color: #33cc33;">%</span>
C:\Documents and Settings\username\Application Data<span style="color: #33cc33;">&gt;</span><span style="color: #b1b100; font-weight: bold;">cd</span> &quot;Microsoft\VisualStudio\10.0&quot;
C:\Documents and Settings\username\Application Data\Microsoft\VisualStudio\10.0<span style="color: #33cc33;">&gt;</span><span style="color: #b1b100; font-weight: bold;">dir</span> ActivityLog.xml /B ActivityLog.xml
C:\Documents and Settings\username\Application Data\Microsoft\VisualStudio\10.0<span style="color: #33cc33;">&gt;</span>notepad ActivityLog.xml</pre></div></div>

<p>Look for entries with type=Error, e.g.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;entry&gt;
&lt;record&gt;263&lt;/record&gt;
&lt;time&gt;2009/10/24 22:50:09.218&lt;/time&gt;
&lt;type&gt;Error&lt;/type&gt;
&lt;source&gt;Editor or Editor Extension&lt;/source&gt;
&lt;description&gt;System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.Editor.Implementation.VsFontsAndColorsInformation.GetEditorFontForItem(IVsColorTable colorTable, Int32 itemIndex, FONTCOLORPREFERENCES2 fontColorPreferences)
at Microsoft.VisualStudio.Editor.Implementation.VsFontsAndColorsInformation.TryGetItemValue(String itemKey, ResourceDictionary&amp; itemValue)
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.CreateResourceDictionaryFromProvision(String key)
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.GetProperties(String key)
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.GetDefaultProperties()
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap..ctor(ICollection`1 formats, IClassificationTypeRegistryService classificationTypeRegistry, IEditorFormatMap formatMap)
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMapService.GetClassificationFormatMap(String category)
at Microsoft.VisualStudio.Text.Classification.Implementation.ViewSpecificFormatMap.AttachToFormatMaps()
at Microsoft.VisualStudio.Text.Classification.Implementation.ViewSpecificFormatMap..ctor(IClassificationFormatMapService classificationFormatMapService, IEditorFormatMapService editorFormatMapService, ITextView textView)
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMapService.&lt;&gt;c__DisplayClass1.&lt;GetEditorFormatMap&gt;b__0()
at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMapService.GetEditorFormatMap(ITextView textView)
at Microsoft.VisualStudio.Text.Editor.Implementation.OutliningAdornmentManagerFactory.CreateTagger[T](ITextView textView, ITextBuffer buffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)&lt;/description&gt;
&lt;/entry&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://techencoder.com/index.php/2009/11/vs2010-activity-log/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

