<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.professionalvisualstudio.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.professionalvisualstudio.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Professional Visual Studio</title>
	
	<link>http://www.professionalvisualstudio.com/blog</link>
	<description>Tips, Tricks, and Best Practices for professional .NET developers</description>
	<pubDate>Thu, 21 Aug 2008 12:21:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.professionalvisualstudio.com/ProfessionalVisualStudio" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Visual Studio 2008 SDK 1.1</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/21/visual-studio-2008-sdk-11/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/21/visual-studio-2008-sdk-11/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 12:21:30 +0000</pubDate>
		<dc:creator>Keyvan Nayyeri</dc:creator>
		
		<category><![CDATA[SDK]]></category>

		<category><![CDATA[Shell]]></category>

		<category><![CDATA[VSX]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/08/21/visual-studio-2008-sdk-11/</guid>
		<description><![CDATA[Yesterday Microsoft Visual Studio Extensibility team announced a new update in Visual Studio 2008 SDK and released version 1.1 to public.
For VSX developers, this is important news because there are some major updates to improve the extensibility features especially around Visual Studio Shell development. This new version works on .NET Framework 3.5 and Visual Studio [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday Microsoft Visual Studio Extensibility team <a href="http://blogs.msdn.com/vsxteam/archive/2008/08/19/visual-studio-2008-sdk-1-1-has-been-released.aspx">announced</a> a new update in Visual Studio 2008 SDK and released version 1.1 to public.</p>
<p>For VSX developers, this is important news because there are some major updates to improve the extensibility features especially around Visual Studio Shell development. This new version works on .NET Framework 3.5 and Visual Studio 2008 Service Pack 1.</p>
<p>Quan To has outlined these updates on VSX team blog but major updates are a reduction in the size of VS Shell package installers that no longer hold .NET Framework 3.5 data and also there is an update that lets you develop VS Shell applications as a normal Windows user that wasn’t possible before.</p>
<p>You can download Visual Studio 2008 SDK 1.1 from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=59ec6ec3-4273-48a3-ba25-dc925a45584d&amp;DisplayLang=en">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/21/visual-studio-2008-sdk-11/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hiding the Output Window</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/19/hiding-the-output-window/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/19/hiding-the-output-window/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 12:41:02 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[IDE Settings]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/?p=116</guid>
		<description><![CDATA[Hands up if you think the Output window is annoying in its default configuration. I&#8217;m referring to how every time you run a build the Output window pops up and interrupts you, obscuring half the code window. Sometimes I get the feeling that it was starved for attention as a child  

There are a couple [...]]]></description>
			<content:encoded><![CDATA[<p>Hands up if you think the Output window is annoying in its default configuration. I&#8217;m referring to how every time you run a build the Output window pops up and interrupts you, obscuring half the code window. Sometimes I get the feeling that it was starved for attention as a child <img src='http://www.professionalvisualstudio.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img title="The Output Window getting in the way" src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/outputintheway.jpg" alt="Output Window in the way" /></p>
<p>There are a couple of easy solutions to this problem. Firstly, you can simply stop the Output window from being automatically shown during a build. Open the Options dialog (Tools-&gt;Options) and select <strong>Projects and Solutions</strong>. You will find an option under here called <strong>Show Output window when build starts</strong>. Simply uncheck this option and you will never be interrupted again.</p>
<p>However many people, myself included, have found that the Output window is actually quite useful to have around. If that&#8217;s the case, you may want to have it automatically open, but in a different way. My suggestion is to try changing the Output window to display as a Tabbed Document. Simply right-click on the window title bar and select Tabbed Document as shown below:</p>
<p><img title="Changing the Output window to a Tabbed Document" src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/outputtotabbeddocument.png" alt="Output window to Tabbed Document" /></p>
<p>Once you&#8217;ve made this change, the Output window will open at the same level as the active code window. It will still come to the foreground, which I find useful, however to me it feels like it does this in a much more natural and <a title="Coding Horror: Reducing User Interface Friction" href="http://www.codinghorror.com/blog/archives/000866.html">frictionless</a> way. I&#8217;d be very interested to hear whether anyone else prefers this also.</p>
<p><img title="The Output window as a Tabbed Document" src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/outputastabbeddocument.jpg" alt="Output window as Tabbed Document" /></p>
<p>To wrap up this post, here&#8217;s a couple more things about the Output window that are useful to know:</p>
<ul>
<li>Press Ctrl+Alt+O to display and bring the Output window into focus;</li>
<li>Press Ctrl+S when the Output window has focus to save the text in the Output window to an external file;</li>
<li> If you do choose to not automatically display the Output window during a build, you can redirect all Diagnostic messages (e.g. Debug.Print) to the Immediate Window, as mentioned in my <a href="http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/">first Debugging Tip of the Week</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/19/hiding-the-output-window/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Tip of the Week #4: The DebuggerDisplay Attribute</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/15/debugging-tip-of-the-week-4-the-debuggerdisplay-attribute/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/15/debugging-tip-of-the-week-4-the-debuggerdisplay-attribute/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 11:50:46 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/?p=125</guid>
		<description><![CDATA[Last week, we started to explore the first of the Debugger attributes that are found in the System.Diagnostics namespace by looking at the DebuggerBrowsable attribute. I&#8217;d like to continue that theme this week with the DebuggerDisplay attribute.
No doubt you&#8217;ve seen that hovering your mouse over a variable while you are in Break mode will cause [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, we started to explore the first of the Debugger attributes that are found in the <code>System.Diagnostics</code> namespace by looking at <a href="http://www.professionalvisualstudio.com/blog/2008/08/07/debugging-tip-of-the-week-3-the-debuggerbrowsable-attribute/">the DebuggerBrowsable attribute</a>. I&#8217;d like to continue that theme this week with the <strong>DebuggerDisplay</strong> attribute.</p>
<p>No doubt you&#8217;ve seen that hovering your mouse over a variable while you are in Break mode will cause a tooltip to be displayed, which shows the type of object you are hovering over. You can see this below, where the datatip for a Customer object is shown.</p>
<p><img title="Default datatip for a Customer object" src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerdisplay_none.png" alt="Customer class with a default datatip" /></p>
<p>Unfortunately this information is not particularly useful, as most of the time you have a fairly good idea about the type of object you are dealing with. It would be better for this single line to contain more useful information about the object, as is the case with simple types such as strings or integers where the actual value is displayed.</p>
<p>This is where the DebuggerDisplay attribute comes in handy. It can be used to change this single line representation of the object from the default full class name. The attribute takes a single parameter, which is a String. The format of this string can include the { and } braces, which can contain a field, property, or method that returns a value.</p>
<p>For example, you could apply the DebuggerDisplay attribute to the Customer class as follows:</p>
<p><code>[DebuggerDisplay("Customer {CustomerName} has {Orders.Count} orders")]<br />
public class Customer</code></p>
<p>If you apply the attribute in this way, it will result in the following datatip:</p>
<p><img title="The datatip for the Customer class that has a DebuggerDisplay attribute" src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerdisplay_applied.png" alt="Customer class with DebuggerDisplay attribute" /></p>
<p>If you are a C# developer, then in addition to specifying properties and methods in the DebuggerDisplay format string, you can also include a general expression within the braces. For example, the following attribute shows how you could use an expression with a ternary operator:</p>
<p><code>[DebuggerDisplay("Customer {CustomerName} has orders? {(Orders.Count &gt; 0) ? \"Yes\" : \"No\"}")]</code></p>
<p>Which would result in the following datatip:</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerdisplay_expression.png" alt="Customer class showing datatip with DebuggerDisplay attribute expression" title="The datatip for the Customer class that has a DebuggerDisplay attribute with an expression" /></p>
<p>One final thing to note, in addition to Classes, the DebuggerDisplay attribute can be applied to any Struct, Delegate, Enumeration, Field, Property, or even an entire Assembly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/15/debugging-tip-of-the-week-4-the-debuggerdisplay-attribute/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A few good links about SP1</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/14/a-few-good-links-about-sp1/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/14/a-few-good-links-about-sp1/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 08:13:42 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Links]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/08/14/a-few-good-links-about-sp1/</guid>
		<description><![CDATA[By now you&#8217;ve probably heard that Service Pack 1 for Visual Studio 2008 and .NET Framework 3.5 has been released. You can download it as a single setup package for both Visual Studio and .NET Framework 3.5, or just for the .NET Framework 3.5. It takes a while to complete the install, so you may [...]]]></description>
			<content:encoded><![CDATA[<p>By now you&#8217;ve probably heard that Service Pack 1 for Visual Studio 2008 and .NET Framework 3.5 has been released. You can download it as a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;displaylang=en">single setup package for both Visual Studio and .NET Framework 3.5</a>, or just for <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;displaylang=en">the .NET Framework 3.5</a>. It takes a while to complete the install, so you may want to kick it off at the end of the day, rather than tie up your machine for a few hours.</p>
<p>If you&#8217;ve installed any beta stuff (i.e. Silverlight 2 Beta, Framework Source Code perf patch, SP1 Beta) you&#8217;ll also need to download and run the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A494B0E0-EB07-4FF1-A21C-A4663E456D9D&amp;displaylang=en">Visual Studio 2008 Service Pack 1 Preparation Tool</a>. The installer will check for these <abbr title="The opposite of a prerequisite.">antirequisites</abbr> and prompt you to run the preparation tool if necessary.</p>
<p><a href="http://www.hanselman.com/blog/HiddenGemsNotTheSameOld35SP1Post.aspx">Scott Hansleman has a nice roundup</a> of what Service Pack 1 includes for WinForms, WebForms, and the rest the Framework.</p>
<p>I would particularly encourage any web developers to install SP1, as there are a large number of important fixes and enhancements specifically targeting web development. You can find a nice comprehensive overview of these on the <a href="http://blogs.msdn.com/webdevtools/archive/2008/08/11/web-development-updates-in-visual-studio-2008-sp1.aspx">Visual Web Developer Team Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/14/a-few-good-links-about-sp1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Tip of the Week #3: The DebuggerBrowsable Attribute</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/07/debugging-tip-of-the-week-3-the-debuggerbrowsable-attribute/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/07/debugging-tip-of-the-week-3-the-debuggerbrowsable-attribute/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 14:10:23 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/08/07/debugging-tip-of-the-week-3-the-debuggerbrowsable-attribute/</guid>
		<description><![CDATA[In my latest instalment of the Debugging tip of the week, I&#8217;d like to introduce the debugging attributes. These handy attributes, found in the System.Diagnostics namespace, can be applied to your source code in order to control the way the debugger steps through it. Some of the debugging attributes can also be used to customise [...]]]></description>
			<content:encoded><![CDATA[<p>In my latest instalment of the Debugging tip of the week, I&#8217;d like to introduce the debugging attributes. These handy attributes, found in the <code>System.Diagnostics</code> namespace, can be applied to your source code in order to control the way the debugger steps through it. Some of the debugging attributes can also be used to customise the data tips that appear when you hover over a variable in Break mode, or view it in a Watch window.</p>
<p>The first attribute we will cover is the <code>DebuggerBrowsable</code> attribute. This attribute takes a <code>DebuggerBrowsableState</code> enumeration value as a parameter that determines how the member is displayed in the variable tree. In the following code snippet, the field Orders in the Customer class is set to Collapsed:</p>
<p><code>using System.Diagnostics;</code></p>
<p><code>public class Customer<br />
{<br />
&nbsp;&nbsp;&nbsp;[DebuggerBrowsable(DebuggerBrowsableState.Collapsed)]<br />
&nbsp;&nbsp;&nbsp;public List&lt;Order&gt; Orders;<br />
}<br />
</code><br />
Collapsed is the default DebuggerBrowsableState that you would normally see in Visual Studio. If you apply this to a member then it will be displayed, but not expanded by default, as shown below.</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerbrowsablestate_collapsed.png" alt="DebuggerBrowsableState.Collapsed" /></p>
<p>The following shows the same snippet with DebuggerBrowsable set to the RootHidden value. In this case the actual Orders item does not appear as a top-level entry in the data window, just the contents of the collection.</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerbrowsablestate_roothidden.png" alt="DebuggerBrowsableState.RootHidden" /></p>
<p>Finally, the Never value will hide the member completely from the data window. This can be quite useful if you want to hide your private properties. You can see the effect of this below, where the Orders member does not appear at all.</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/08/debuggerbrowsablestate_never.png" alt="DebuggerBrowsableState.Never" /></p>
<p>In .NET Framework 2.0, the <code>DebuggerBrowsable</code>  attribute is only interpreted by the C# debugger and has no effect when it is applied to Visual Basic code. This limitation has been removed in newer versions of the .NET Framework.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/07/debugging-tip-of-the-week-3-the-debuggerbrowsable-attribute/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows Live Tools for Visual Studio (CTP3)</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/08/02/windows-live-tools-for-visual-studio-ctp3/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/08/02/windows-live-tools-for-visual-studio-ctp3/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 23:50:36 +0000</pubDate>
		<dc:creator>Nick Randolph</dc:creator>
		
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/08/02/windows-live-tools-for-visual-studio-ctp3/</guid>
		<description><![CDATA[CTP3 of the Windows Live&#8482; Tools for Microsoft&#174; Visual Studio&#174; 2008 shipped last week.&#160; This includes ASP.NET controls for both Virtual Earth and Silverlight Streaming.&#160; The following two video-casts illustrate how you can get started with these two controls:
Dr Neil on the ASP.NET Silverlight Streaming control

Myself, covering the ASP.NET Virtual Earth control

 
]]></description>
			<content:encoded><![CDATA[<p>CTP3 of the <a href="http://dev.live.com/tools">Windows Live&#8482; Tools for Microsoft&#174; Visual Studio&#174; 2008</a> shipped last week.&#160; This includes ASP.NET controls for both Virtual Earth and Silverlight Streaming.&#160; The following two video-casts illustrate how you can get started with these two controls:</p>
<p><a href="http://drneil.blogspot.com/2008/07/windows-live-tools-for-microsoft-visual.html">Dr Neil on the ASP.NET Silverlight Streaming control</a></p>
<p><iframe style="width: 500px; height: 375px" src="http://silverlight.services.live.com/invoke/24752/WindowsLiveToolsSilverlightMediaPlayer/iframe.html" frameborder="0" scrolling="no"></iframe></p>
<p><a href="http://community.softteq.com/blogs/nick/archive/2008/08/01/asp-net-virtual-earth-control-windows-live-tools-for-vs2008-ctp3.aspx">Myself, covering the ASP.NET Virtual Earth control</a></p>
</p>
<p> <iframe style="width: 500px; height: 375px" src="http://silverlight.services.live.com/invoke/24752/WindowsLiveToolsVirtualEarth/iframe.html" frameborder="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/08/02/windows-live-tools-for-visual-studio-ctp3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Tip of the Week #2: Design-time Expression Evaluation</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/07/31/debugging-tip-of-the-week-2-design-time-expression-evaluation/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/07/31/debugging-tip-of-the-week-2-design-time-expression-evaluation/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 12:43:04 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/07/31/debugging-tip-of-the-week-2-design-time-expression-evaluation/</guid>
		<description><![CDATA[Last week I talked about how useful the Immediate Window is during debug-mode. A less-known, but totally awesome, feature of the Immediate Window is that it can be used at design-time to test/debug your code. This is particularly useful if you are working on a particular class or method that you want to test without [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I talked about how <a href="http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/">useful the Immediate Window is during debug-mode</a>. A less-known, but totally awesome, feature of the Immediate Window is that it can be used at design-time to test/debug your code. This is particularly useful if you are working on a particular class or method that you want to test <strong><em>without running the entire application</em></strong><em>.</em></p>
<p>The best way to understand this is to see it in action. The screenshot below shows a new Customer object being created in a C# project within the Immediate window.</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/07/designtimedebugging.png" alt="Design Time Expression Evaluation in the Immediate Window" /></p>
<p>When you declare a new object in the Immediate window at design-time, Visual Studio will create an instance of that object. However even though it has created this object, Visual Studio will remain in design-mode (For those that are interested, it actually uses the Object Test Bench in the background). If you invoke a method or property that contains an active breakpoint, Visual Studio will change to debug mode and break at the breakpoint. Once you resume execution from the break Visual Studio will return to design-mode.</p>
<p>There are a few gotcha&#8217;s and caveats that you need to be aware of when performing design-time expression evaluation.</p>
<p>Firstly, within a Visual Basic project you can’t use an explicit variable declaration (for example, <code>Dim myCust as Customer</code>). Instead variables are declared implicitly using the assignment operator (for example, <code>myCust = new Customer()</code>).</p>
<p>Secondly, if you are using C#, IntelliSense is not available in the Immediate window during design-time expression evaluation. Visual Basic programmers are a little more spoilt, as they are given a limited form of IntelliSense here.</p>
<p>Thirdly, any statements you enter into the Immediate Window will be evaluated against whatever project is selected in the Solution Explorer. If no project is selected,Visual Studio will evaluate it against the startup project. If the code doesn&#8217;t exist is that project, you will get an error.</p>
<p>Finally, you can&#8217;t use design-time expression evaluation in any project that  requires an execution environment. This includes Web projects, VSTO projects, Smart Device projects, and SQL projects. However as I mentioned earlier, the scope of this is per-project. Therefore, if you have a solution that contains a web project and a separate class library project for your business logic, you can use this method to test any of the business logic code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/07/31/debugging-tip-of-the-week-2-design-time-expression-evaluation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Professional Visual Studio 2008 is now available</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/07/28/professional-visual-studio-2008-is-now-available/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/07/28/professional-visual-studio-2008-is-now-available/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:07:45 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Announcements]]></category>

		<category><![CDATA[Book]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/07/28/professional-visual-studio-2008-is-now-available/</guid>
		<description><![CDATA[Professional Visual Studio 2008 was officially published today and should now be in stock at your favourite online book store. If you&#8217;re an instructor at an accredited educational institution, you can request an evaluation copy from the publisher. Wrox also has a User Group Program, which allows your local user group to request a review [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.professionalvisualstudio.com/books/ProVS2008/">Professional Visual Studio 2008</a> was officially published today and should now be in stock at your favourite <a href="http://www.amazon.com/gp/product/0470229888?ie=UTF8&amp;tag=peaksite-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0470229888">online book store</a>. If you&#8217;re an instructor at an accredited educational institution, you can <a href="http://professor.wiley.com/CGI-BIN/LANSAWEB?PROCFUN+PROF1+PRFFN13+FUNCPARMS+CWIL%28A0010%29:N+LANG%28A0010%29:0+ISBN%28A0090%29:470229888" target="_new">request an evaluation copy</a> from the publisher. Wrox also has a <a href="http://newsletter.wrox.com/optin.asp?sid=TRHWRJTZPPE6P5CNAMCE&amp;id=48">User Group Program</a>, which allows your local user group to request a review copy of the book.</p>
<p>Once you get your hands on a copy of the book, don&#8217;t forget to <a href="http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470229888,descCd-DOWNLOAD.html">download the associated source code</a> from Wrox.</p>
<p>We&#8217;re also excited to announce that Wiley Publishing have advised us that it will be translated into Simplified Chinese. We will update you as soon as we hear any further information on the availability of that version.</p>
<p>We&#8217;ve requested some promotional copies from the publisher to give away to the readers of this website. The details of this are still being worked out, as we are hoping to ensure that it&#8217;s not limited to U.S. residents only. Stay tuned for more information on this in the near future.</p>
<p>We sincerely hope you find <strong>Professional Visual Studio 2008</strong> to be a useful resource. We very keen to hear feedback on the book (both positive and negative), so if you have any comments or questions, please comment on a post in this blog or <a href="http://www.professionalvisualstudio.com/blog/contact/">send us an email</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/07/28/professional-visual-studio-2008-is-now-available/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Tip of the Week #1: The Immediate Window</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 15:34:04 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/</guid>
		<description><![CDATA[This post has been a long time coming, as I previously announced I would start this series following my user group presentation back in June. There&#8217;s a myriad of reasons why I let it go so long, however the impending release of Professional Visual Studio 2008 has kicked me into action.
For the first of what [...]]]></description>
			<content:encoded><![CDATA[<p>This post has been a long time coming, as I previously announced I would start this series following my <a href="http://www.professionalvisualstudio.com/blog/2008/06/03/debugging-tips-and-tricks/">user group presentation back in June</a>. There&#8217;s a myriad of reasons why I let it go so long, however the impending release of <a href="http://www.professionalvisualstudio.com/books/ProVS2008/">Professional Visual Studio 2008</a> has kicked me into action.</p>
<p>For the first of what will become an ongoing weekly series of debugging tips I&#8217;d like to start off with one of my favourite windows in the whole of Visual Studio - the Immediate Window. This useful window can be used during both debugging and at design-time. The window is displayed using the keyboard shortcut Ctrl+Alt+I, or by selecting it from the Debug-&gt;Windows menu. You can also type <code>immed</code> in the Command window and it will display and switch focus to the immediate window.</p>
<p>Quite often when you&#8217;re debugging an application, you&#8217;ll want to evaluate a simple expression either to test a bit of functionality or to remind yourself of how something works. This is one situation where the Immediate window comes in very handy. This window enables you to run expressions as you type them, as shown below.</p>
<p><img src="http://www.professionalvisualstudio.com/blog/wp-content/uploads/2008/07/immediatewindow.png" alt="The Immediate Window" /></p>
<p>To make life easier, the Immediate window supports IntelliSense, and you can use the arrow keys to track back through the history of previous commands executed.</p>
<p>The Immediate window also allows you to execute any Visual Studio command. To submit a command you must enter a greater than symbol &gt; at the start of the line. There is an extremely large set of commands available; in fact almost any action that can be performed within Visual Studio is accessible as a command. Fortunately IntelliSense makes navigating this list of available commands a little more manageable.</p>
<p><a href="http://www.professionalvisualstudio.com/blog/2007/10/22/do-you-have-an-alias-for-that/">Nick blogged last year about aliases</a>, which are available under both the Command and Immediate windows. One of the more well-known aliases is “?”, which is a shortcut for the Debug.Print command that prints out the value of a variable. As long as you have the Immediate window open, this is generally quicker and more convenient than bringing up a watch window, or hovering over a variable and waiting for the data tip to display.</p>
<p>If you start to become really dependant on the Immediate window for your debugging, you should consider enabling the option to <em>Redirect all Output window text to the Immediate window</em>. This option can be enabled under  Tools-&gt;Options-&gt;Debugging. Although the option says it redirects <strong><em>all </em></strong>Output window text, it will actually only redirect the debug messages (e.g. Debug.Print).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/07/24/debugging-tip-of-the-week-1-the-immediate-window/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Tips and Tricks</title>
		<link>http://www.professionalvisualstudio.com/blog/2008/06/03/debugging-tips-and-tricks/</link>
		<comments>http://www.professionalvisualstudio.com/blog/2008/06/03/debugging-tips-and-tricks/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 15:54:37 +0000</pubDate>
		<dc:creator>Dave Gardner</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://www.professionalvisualstudio.com/blog/2008/06/03/debugging-tips-and-tricks/</guid>
		<description><![CDATA[Thursday evening I am presenting at my local .NET User Group on the topic of debugging. The title is &#8220;How to be a Debugging superhero&#8221;, and for the session I will be covering as many Visual Studio 2008 debugging tips, tricks, and best practices as I can fit into an hour. It should be a [...]]]></description>
			<content:encoded><![CDATA[<p>Thursday evening I am presenting at my <a href="http://perthdotnet.org/">local .NET User Group</a> on the topic of debugging. The title is <strong>&#8220;How to be a Debugging superhero&#8221;</strong>, and for the session I will be covering as many Visual Studio 2008 debugging tips, tricks, and best practices as I can fit into an hour. It should be a fun session (100% hands on) and I&#8217;ve also got a bunch of swag to give away, courtesy of the Microsoft <a href="http://www.heroescommunitylaunch.com/">Heroes {Community} Launch</a> program.</p>
<p>For those who can&#8217;t make it to sunny Perth for the session, as of next week I will be starting an ongoing, weekly series of blog posts covering all of the debugging tips and tricks that I can lay my hands on. I wrote 5 chapters on debugging in our upcoming <a href="http://www.professionalvisualstudio.com/books/ProVS2008/">Professional Visual Studio 2008</a> book, so there is plenty of material for me to draw from.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.professionalvisualstudio.com/blog/2008/06/03/debugging-tips-and-tricks/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
