<?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/"
	>

<channel>
	<title>Marius Bancila's Blog &#187; VS2008</title>
	<atom:link href="http://mariusbancila.ro/blog/tag/vs2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariusbancila.ro/blog</link>
	<description>Sharing my opinions and ideas!</description>
	<lastBuildDate>Sun, 08 Aug 2010 09:36:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VSBuildStatusAddin with Auto Show and Auto Hide</title>
		<link>http://mariusbancila.ro/blog/2010/06/02/vsbuildstatusaddin-with-auto-show-and-auto-hide/</link>
		<comments>http://mariusbancila.ro/blog/2010/06/02/vsbuildstatusaddin-with-auto-show-and-auto-hide/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 14:29:24 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[VS2010]]></category>
		<category><![CDATA[VSBuildStatus]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=557</guid>
		<description><![CDATA[A new version (1.3) of VSBuildStatus add-in for Visual Studio 2005, 2008 and 2010 is available. It allows you to configure the add-in window to automatically show up when a build/clean/deploy process starts, and/or automatically close when the operation ends. To enable the automatic show of the add-in window when a build/clean/deploy operation starts, check [...]]]></description>
			<content:encoded><![CDATA[<p>A new version (1.3) of <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/2A2293B4-1808-44AA-B030-661F6803D8A1">VSBuildStatus</a> add-in for Visual Studio 2005, 2008 and 2010 is available. It allows you to configure the add-in window to automatically show up when a build/clean/deploy process starts, and/or automatically close when the operation ends. </p>
<p><img alt="" src="/blog/wp-content/uploads/2010/06/VSBuildStatusAddin1.png" title="Addin window" class="alignnone" width="786" height="375" /></p>
<ul>
<li>To enable the automatic show of the add-in window when a build/clean/deploy operation starts, check <strong>Pop-out automatically when starting a build</strong></li>
<li>To enable the automatic hiding of the add-in window when the build/clean/deploy operation ends, check <strong>Auto hide when the build ends</strong>
<ul>
<li>you can set a delay interval for the hiding, varing from 0 to 300 seconds; if the delay is 0, the window is hidden immediatelly after the build ends</li>
<li>to keep the window shown when error(s) occurred during the build/clean/deploy operation, check <strong>DO NOT auto hide when an error occurs</strong></li>
</ul>
</li>
</ul>
<p>Here is a screen short of the properties window. It opens from the Settings button.</p>
<p><img alt="" src="/blog/wp-content/uploads/2010/06/VSBuildStatusAddin3.png" title="Properties window" class="alignnone" width="300" height="300" /></p>
<p>The add-in is available on the <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/2A2293B4-1808-44AA-B030-661F6803D8A1">Visual Studio Gallery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2010/06/02/vsbuildstatusaddin-with-auto-show-and-auto-hide/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VSBuildStatus Addin Taskbar Progress on Windows 7</title>
		<link>http://mariusbancila.ro/blog/2009/12/09/vsbuildstatus-addin-taskbar-progress-on-windows-7/</link>
		<comments>http://mariusbancila.ro/blog/2009/12/09/vsbuildstatus-addin-taskbar-progress-on-windows-7/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 13:05:13 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[taskbar]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[VS2010]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=429</guid>
		<description><![CDATA[I have updated my Visual Studio addin that displays the status of a build/clean/deploy action. If you get the latest version, 1.2, and are running Visual Studio 2005, 2008 or 2010 (they are all supported) on Windows 7, the progress of the build is also displayed on the Taskbar, on the item corresponding to the [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated my <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/2A2293B4-1808-44AA-B030-661F6803D8A1" target="_blank">Visual Studio addin</a> that displays the status of a build/clean/deploy action. If you get the latest version, 1.2, and are running Visual Studio 2005, 2008 or 2010 (they are all supported) on Windows 7, the progress of the build is also displayed on the Taskbar, on the item corresponding to the Visual Studio instance.</p>
<p>The following images show no progress, different progress steps, and an error during the build/clean/deploy, both for Visual Studio 2008 and Visual Studio 2010 (Beta 2). </p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatus_noprogress.png" alt="No progress" /></p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatus_progress1.png" alt="Build progress" /></p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatus_progress1.png" alt="Build progress" /></p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatus_error.png" alt="Error during build" /></p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatusaddin_vs2010_progress.png" alt="Build progress" /></p>
<p><img src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/vsbuildstatusaddin_vs2010_error.png" alt="Error during build" /></p>
<p>This was possible by using the Windows 7 Taskbar interop library available on MSDN Code Gallery <a href="http://code.msdn.microsoft.com/Windows7Taskbar/Release/ProjectReleases.aspx?ReleaseId=2246" target="_blank">here</a>.</p>
<p>You can get the latest version of the addin from the Visual Studio Gallery at this <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/2A2293B4-1808-44AA-B030-661F6803D8A1" target="_blank">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2009/12/09/vsbuildstatus-addin-taskbar-progress-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Problems Installing SQL Server 2008</title>
		<link>http://mariusbancila.ro/blog/2009/11/25/problems-installing-sql-server-2008/</link>
		<comments>http://mariusbancila.ro/blog/2009/11/25/problems-installing-sql-server-2008/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 16:44:58 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[SP1]]></category>
		<category><![CDATA[SQLServer2008]]></category>
		<category><![CDATA[VS2008]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=401</guid>
		<description><![CDATA[I ran across a breaking error while trying to install SQL Server 2008 on a Windows 7 machine. The rule &#8220;Previous releases of Microsoft Visual Studio 2008&#8243; failed. Here is the error message that I received. That was odd, because I actually had Visual Studio 2008 with SP1 installed on that machine. So I start [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across a breaking error while trying to install SQL Server 2008 on a Windows 7 machine. The rule &#8220;Previous releases of Microsoft Visual Studio 2008&#8243; failed. Here is the error message that I received.</p>
<div class="wp-caption alignnone" style="width: 535px"><img alt="Rule Previous releases of Microsoft Visual Studio 2008 failed." src="/blog/wp-content/uploads/2009/11/sqlfail.png" title="Rule failure" width="525" height="288" /><p class="wp-caption-text">Rule &quot;Previous releases of Microsoft Visual Studio 2008&quot; failed.</p></div>
<p>That was odd, because I actually had Visual Studio 2008 with SP1 installed on that machine. So I start looking for answers and found this <a href="http://support.microsoft.com/kb/956139" target="_blank">Knowledge Base article (KB956139)</a> from Microsoft that said that if Visual Studio 2008 SP1 was installed then &#8220;<strong>No action is required.</strong>&#8221; Obviously that didn&#8217;t help at all.</p>
<p>Then I start looking into the logs (which are located under C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\). There is a log file called <strong>Detail.txt</strong> that revealed the following error:</p>
<blockquote><p>2009-11-25 17:09:35 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0\IDE<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey 1033<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to get registry value SP<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to get registry value kind for value SP<br />
2009-11-25 17:09:35 Slp: Found Microsoft Visual Studio 2008 edition IDE, language 1033, SP level 0.<br />
2009-11-25 17:09:35 Slp: Microsoft Visual Studio 2008 edition IDE, language 1033 does not have required SP level. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008.<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0\STD<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0\PRO<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0\VSTD<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to open registry subkey 1033<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to get registry value SP<br />
2009-11-25 17:09:35 Slp: Sco: Attempting to get registry value kind for value SP<br />
2009-11-25 17:09:35 Slp: Found Microsoft Visual Studio 2008 edition VSTD, language 1033, SP level 1.<br />
[...]<br />
2009-11-25 17:09:35 Slp: Rule evaluation done   : Failed</p></blockquote>
<p>It looked like the IDE&#8217;s version was not correctly specified in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0\IDE. <a href="http://blogs.msdn.com/heaths/archive/2009/05/29/detecting-visual-studio-2008-service-pack-1.aspx" target="_blank">This post from Heath Stewart&#8217;s blog</a> explains how to detect the version of Visual Studio 2008. The SQL Server 2008 installer looks in the right place, so the only explanation was that there was incorrect data there. So I started regedit.exe and looked at the key. To my surprise there was no IDE key there.</p>
<div class="wp-caption alignnone" style="width: 694px"><img alt="No key for IDE" src="/blog/wp-content/uploads/2009/11/sp1registry1.png" title="Registry keys" width="684" height="443" /><p class="wp-caption-text">No key for IDE</p></div>
<p>But then I remember I was running Windows 7 64-bit and there are several registry editors (I&#8217;m still confused which to use when). So I opened the one located under C:\Windows\SysWOW64\ and this one shown more keys under DevDiv, and under Servicing\9.0 I could also see IDE.</p>
<div class="wp-caption alignnone" style="width: 702px"><img alt="Incorrect version of VS 2008 IDE" src="/blog/wp-content/uploads/2009/11/sp1registry2.png" title="IDE version RTM" width="692" height="374" /><p class="wp-caption-text">Incorrect version of VS 2008 IDE</p></div>
<p>As you can see from the screenshot, the SP value was 0, and SPName was &#8220;RTM&#8221;. The Visual Studio 2008 SP1 installer didn&#8217;t update these keys. (Well, that wasn&#8217;t such a big surprise, because the Visual Studio 2008 SP1 installer really sucks, but that&#8217;s another story.) So, what I did was to change those keys as shown in the following image. SP and SPIndex should have the value 1, and SPName should be &#8220;SP1&#8243;.</p>
<div class="wp-caption alignnone" style="width: 702px"><img alt="These are the correct values" src="/blog/wp-content/uploads/2009/11/sp1registry3.png" title="Fixing registry for IDE" width="692" height="374" /><p class="wp-caption-text">These are the correct values</p></div>
<p>Also, make sure that the same values under the parent (Servicing\9.0) are 1.</p>
<div class="wp-caption alignnone" style="width: 707px"><img alt="Correct values for SP and SPIndex unde Servicing\\9.0" src="/blog/wp-content/uploads/2009/11/sp1registry4.png" title="Fixing registry keys for VS 2008" width="697" height="385" /><p class="wp-caption-text">Correct values for SP and SPIndex unde Servicing\9.0</p></div>
<p>After making these changes I ran the setup again, and this time it worked like a charm. If you run into the same error and Visual Studio 2008 SP1 is installed then check these registry values and make sure they indicate that SP1 is installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2009/11/25/problems-installing-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VSBuildStatusAddin works on Visual Studio 2010</title>
		<link>http://mariusbancila.ro/blog/2009/05/20/vsbuildstatusaddin-works-on-visual-studio-2010/</link>
		<comments>http://mariusbancila.ro/blog/2009/05/20/vsbuildstatusaddin-works-on-visual-studio-2010/#comments</comments>
		<pubDate>Wed, 20 May 2009 12:49:46 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=277</guid>
		<description><![CDATA[Yesterday I have installed Visual Studio 2010 and decided to try my VSBuildStatusAddin. It work on the first try, only with a change to the .AddIn configuration file. Here is some screen shots in Visual Studio 2010. The images above show a new version of the add-in, 1.1.0. This new version provides the following features: [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I have installed Visual Studio 2010 and decided to try my VSBuildStatusAddin. It work on the first try, only with a change to the .AddIn configuration file.</p>
<p>Here is some screen shots in Visual Studio 2010.</p>
<div class="wp-caption alignnone" style="width: 779px"><img title="VSStatusBuild in Visual Studio 2010" src="/blog/wp-content/uploads/2009/05/VSBuildStatus_VS2010_1.png" alt="VSStatusBuild in Visual Studio 2010" width="769" height="367" /><p class="wp-caption-text">VSStatusBuild in Visual Studio 2010</p></div>
<div class="wp-caption alignnone" style="width: 650px"><img title="Visual Studio 2010 about window" src="/blog/wp-content/uploads/2009/05/VSBuildStatus_VS2010_2.png" alt="Visual Studio 2010 about window with VSbuildStatus addin" width="640" height="551" /><p class="wp-caption-text">Visual Studio 2010 about window with VSbuildStatus addin</p></div>
<p>The images above show a new version of the add-in, 1.1.0. This new version provides the following features:</p>
<ul>
<li>displays the build/clean/deploy progress on a status bar</li>
<li>shows information about latest available version with link to download page</li>
<li>as already explained, works in Visual Studio 2010</li>
</ul>
<p>The new version is available at the <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/2a2293b4-1808-44aa-b030-661f6803d8a1" target="_blank">Visual Studio Gallery</a>.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2009/05/20/vsbuildstatusaddin-works-on-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VSBuildStatusAddin 1.0.5</title>
		<link>http://mariusbancila.ro/blog/2009/05/07/vsbuildstatusaddin-105/</link>
		<comments>http://mariusbancila.ro/blog/2009/05/07/vsbuildstatusaddin-105/#comments</comments>
		<pubDate>Thu, 07 May 2009 16:31:14 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[VS2008]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=262</guid>
		<description><![CDATA[I have fixed several bugs on version 1.0.4 of my VSBuildStatus add-in for Visual Studio that displays the status of a build/clean/deploy operation. The bugs were mainly about the batch builds. The new version is 1.0.5. You can download this Visual Studio 2005 &#038; 2008 add-in from here. If you are using a previous build [...]]]></description>
			<content:encoded><![CDATA[<p>I have fixed several bugs on version 1.0.4 of my VSBuildStatus add-in for Visual Studio that displays the status of a build/clean/deploy operation. The bugs were mainly about the batch builds. The new version is 1.0.5.</p>
<p>You can download this Visual Studio 2005 &#038; 2008 add-in from <a href="http://visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=2a2293b4-1808-44aa-b030-661f6803d8a1&#038;type=desc">here</a>. If you are using a previous build I encourage you download and use the latest.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2009/05/07/vsbuildstatusaddin-105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VSBuildStatusAddin for Visual Studio 2008</title>
		<link>http://mariusbancila.ro/blog/2008/12/03/vsbuildstatusaddin-for-visual-studio-2008/</link>
		<comments>http://mariusbancila.ro/blog/2008/12/03/vsbuildstatusaddin-for-visual-studio-2008/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 01:03:05 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[VS2008]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=145</guid>
		<description><![CDATA[I have created an published at Visual Studio Gallery an add-in for Visual Studio 2008, called VSBuildStatusAddin. This add-in shows the status of a build/clean/deploy operation. I hope some of you will find this useful. Bellow is a description of the add-in. Installation Extract the content of the archive to your Visual Studio 2008 add-ins [...]]]></description>
			<content:encoded><![CDATA[<p>I have created an published at <a href="http://www.visualstudiogallery.com" target="_blank">Visual Studio Gallery</a> an add-in for Visual Studio 2008, called <a href="http://www.visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=2a2293b4-1808-44aa-b030-661f6803d8a1" target="_blank">VSBuildStatusAddin</a>. This add-in shows the status of a build/clean/deploy operation. I hope some of you will find this useful. Bellow is a description of the add-in.</p>
<p><strong>Installation</strong><br />
Extract the content of the archive to your Visual Studio 2008 add-ins folder. You can configure that from Tools &gt; Options &gt; Environment &gt; Add-in/Macros Security. You can also extract it to any folder and then add that folder to the Add-in File Paths list.</p>
<p><strong>Startup</strong><br />
The add-in is configured to start when the Visual Studio starts. However, the first you start Visual Studio, after you installed the add-in, you have to go to the Tools menu and use the VSBuildStatusAddin command to show the tool window. For future runs, Visual Studio remembers the position, docking style and visibility. If the add-in window was opened the last time you closed Visual Studio, the next time it starts is automatically shown at the last position.</p>
<p><strong>Usage</strong><br />
On the add-in window toolbar there are four check buttons that are used to select what projects can be shown in the list (depending on their build status) and the number of projects in that state:</p>
<ul>
<li>Done: show projects there were successfully built/cleaned/deployed; displays the number of successfully done projects;</li>
<li>Failed: show projects that failed to build/clean/deploy; displays the number of failed projects;</li>
<li>Skipped: show projects that were skipped for the build/clean/deploy operation; displays the number of skipped projects;</li>
<li>Pending: show projects that were not yet built/cleaned/deployed or are currently building/cleaning/deploying; displays the number of projects not yet done</li>
</ul>
<p>When a build/clean/deploy operation is executing, a progress control shows the progress status, in percentage of completed project out of the total number of projects.</p>
<p>A fifth button, Cancel, is available during the execution of an operation and can be used to cancel the operation.</p>
<p>The projects list shows the name, configuration, target platform, status and completion time for a project. Projects are grouped under solution folders, if any.</p>
<p><img style="vertical-align: middle;" src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/VSBuildStatusAddin1.png" alt="" width="775" height="431" /><br />
The image above shows a solution called DemoSolution with a project, DemoFSharp, directly under root. It has two solution folders, CSharp and CPP, and both have two more solution folders. CSharp has Lesson1 and Lesson2, each with two projects. CPP has Begin and End, each with one project. The second image shows building a project, Chapter2 (that has a dependency on project Chapter1, which is also built), that failed.</p>
<p><img style="vertical-align: middle;" src="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/VSBuildStatusAddin2.png" alt="" width="775" height="431" /></p>
<p>You can also download it from <a href="http://www.mariusbancila.ro/archives/addins/VSBuildStatusAddin/VSBuildStatusAddin.1.0.1.bin.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2008/12/03/vsbuildstatusaddin-for-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Enum Bit Flags Visualization</title>
		<link>http://mariusbancila.ro/blog/2008/03/14/visual-studio-2008-enum-bit-flags-visualization/</link>
		<comments>http://mariusbancila.ro/blog/2008/03/14/visual-studio-2008-enum-bit-flags-visualization/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 08:05:40 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[flags]]></category>
		<category><![CDATA[VC++]]></category>
		<category><![CDATA[VS2008]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=106</guid>
		<description><![CDATA[I&#8217;ve recently discovered a new nice feature in the natice debugger of Visual Studio 2008: the visualization of bit flags. Let&#8217;s take this enumeration for example. Notice that each constant is basically a bit flag. enum Weekdays { Monday = 1, Thuesday = 2, Wednesday = 4, Thursday = 8, Friday = 16, Saturday = [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently discovered a new nice feature in the natice debugger of Visual Studio 2008: the visualization of bit flags.</p>
<p>Let&#8217;s take this enumeration for example. Notice that each constant is basically a bit flag.</p>
<pre class="prettyprint">
enum Weekdays
{
   Monday = 1,
   Thuesday = 2,
   Wednesday = 4,
   Thursday = 8,
   Friday = 16,
   Saturday = 32,
   Sunday = 64
};
</pre>
<p></p>
<p>If we used those bitfields like this:</p>
<pre class="prettyprint">
int _tmain(int argc, _TCHAR* argv[])
{
   Weekdays weeekend = (Weekdays)(Saturday | Sunday);

   return 0;
}
</pre>
<p></p>
<p>The debugger shows them like this:</p>
<p><img border="0" align="middle" width="464" src="/blog/wp-content/uploads/2008/03/debugger_flags.png" alt="Bit fields visualization in debugger." height="193" /></p>
<p>However, if the constants are not bit flags, they are not shown. If you declare the enum like this:</p>
<pre class="prettyprint">
enum Weekdays
{
   Monday,
   Thuesday,
   Wednesday,
   Thursday,
   Friday,
   Saturday,
   Sunday
};
</pre>
<p></p>
<p>you won&#8217;t get that in the debugger.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2008/03/14/visual-studio-2008-enum-bit-flags-visualization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
