<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Jason Zander's WebLog</title><subtitle type="html">General Manager, Visual Studio, Developer Division</subtitle><id>http://blogs.msdn.com/jasonz/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/jasonz/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-05-22T08:00:00Z</updated><entry><title>Announced at TechEd Europe, Teamprise Client Suite Acquisition</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/11/09/announced-at-teched-europe-teamprise-client-suite-acquisition.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/11/09/announced-at-teched-europe-teamprise-client-suite-acquisition.aspx</id><published>2009-11-09T09:58:42Z</published><updated>2009-11-09T09:58:42Z</updated><content type="html">&lt;p&gt;This afternoon in Berlin I gave the Developer General Session (keynote) around Visual Studio 2010.&amp;#160; As part of that keynote we have formally announced the purchase of the Teamprise Client Suite from Teamprise (a division of SourceGear). You can read details on Brian Harry’s blog &lt;a href="http://blogs.msdn.com/bharry/archive/2009/11/09/microsoft-has-acquired-the-teamprise-client-suite.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I’m very excited about bringing Teamprise into the Visual Studio family of products.&amp;#160; Many of you work in heterogeneous environments and having the Teamprise Client Suite means you can collaborate through Team Foundation Server (TFS) even if parts of your team are working with other systems like Eclipse.&amp;#160; I want to welcome the new Teamprise employees who now join our team at Microsoft!&lt;/p&gt;  &lt;p&gt;Also at during the keynote I had a chance to bring three of our partners on stage to demo their new products base on Visual Studio 2010:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Micro Focus&lt;/strong&gt; demonstrated their new COBOL support in the IDE including using the editor extensions for visually showing code flow, architecture diagram extensions (through DGML) for showing a flowchart of code logic, and new visualization support for seeing a preview of mainframe terminal displays. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Quest Software&lt;/strong&gt; demonstrated their Oracle support for the advanced database features (now part of Visual Studio Premium and Ultimate).&amp;#160; With this support you can now import Oracle schema directly into Visual Studio, refactor database schema, and the other pre and post production features. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;PreEmptive Solutions&lt;/strong&gt; demonstrated their new support for instrumentation of code which can return runtime statics and information about how code is executed in the wild.&amp;#160; New support includes extensions for the architecture diagram (through DGML), a new margin control with preview of runtime data, and an inline WPF based graph system so one can review data directly in their editor next to the code which is impacted. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;All of these solutions demonstrate the advanced features we are now starting to see on the core investments made with VS2010 (including the new editor, WPF investments, DGML, and others).&lt;/p&gt;  &lt;p&gt;TechEd has been a lot of fun so far.&amp;#160; For those of you here in Berlin, I look forward to seeing you at the celebrations of the 20th anniversary of the “fall of the wall” this evening.&amp;#160; Enjoy TechEd!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9919451" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>VS2010 Beta 2 Feedback Survey</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/10/29/vs2010-beta-2-feedback-survey.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/10/29/vs2010-beta-2-feedback-survey.aspx</id><published>2009-10-29T20:58:54Z</published><updated>2009-10-29T20:58:54Z</updated><content type="html">&lt;p&gt;Last week we &lt;a href="http://blogs.msdn.com/jasonz/archive/2009/10/19/announcing-vs2010-net-framework-beta-2.aspx"&gt;shipped Beta 2&lt;/a&gt; for broad distribution.&amp;#160; Many of you have already sent us comments and improvement suggestions (thanks!)&lt;/p&gt;  &lt;p&gt;At this point we are down to our final set of bug fixing, perf tuning, etc.&amp;#160; I’m very much interested in your feedback so we can take action on it before we ship the final version.&amp;#160; To help make it easy, you can &lt;a href="https://mscuillume.smdisp.net/Collector/Survey.ashx?Name=D10G1"&gt;take this simple survey&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="https://mscuillume.smdisp.net/Collector/Survey.ashx?Name=D10G1"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010Beta2FeedbackSurvey_C49A/image_3.png" width="240" height="92" /&gt;&lt;/a&gt;One thing in particular I am hearing a lot of feedback on is performance.&amp;#160; We are working hard on the next round of perf improvements.&amp;#160; You can supply your feedback through the survey.&amp;#160; When you give us your feedback, the more actionable you can make it the better.&amp;#160; We need to know what operations you are doing (like editing, debugging, etc), what kind of hardware you have (CPU, RAM, disk), and your hosting scenario (main machine, running in VM, terminal server, etc).&lt;/p&gt;  &lt;p&gt;thanks in advance for your feedback!&lt;/p&gt;  &lt;p&gt;Jason&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914934" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author></entry><entry><title>Tutorial: Getting Started with TFS in VS2010</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/10/21/tutorial-getting-started-with-tfs-in-vs2010.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/10/21/tutorial-getting-started-with-tfs-in-vs2010.aspx</id><published>2009-10-21T12:00:00Z</published><updated>2009-10-21T12:00:00Z</updated><content type="html">&lt;P&gt;Earlier this month we announced the &lt;A href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx" mce_href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx"&gt;new Basic configuration for TFS&lt;/A&gt;.&amp;nbsp; This configuration gives you an easy to set up version of TFS that supports source control, work items, and builds.&amp;nbsp; It is a great place to migrate your Visual Source Safe assets and pick up new features in the process.&amp;nbsp; Now that we have released the formal Beta 2 bits for VS2010, I wanted to do a walk through on how to get started using the system.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;This post will be most helpful for those of you who have not installed or used TFS before.&amp;nbsp; TFS can support sophisticated environments that include reporting, SharePoint integration, support across multiple domains, distributed databases, etc.&amp;nbsp; I’m not going to cover any of that here.&amp;nbsp; Instead my goal is to help you understand “why TFS” and how you can get started using the system.&amp;nbsp; In a future post I will walk through the process to convert a Visual Source Safe database into TFS in case you are coming from a VSS deployment today.&lt;/P&gt;
&lt;P&gt;First let’s talk about “why TFS?”&amp;nbsp; The goal of &lt;A href="http://msdn.microsoft.com/en-us/teamsystem/dd408382.aspx" mce_href="http://msdn.microsoft.com/en-us/teamsystem/dd408382.aspx"&gt;Team Foundation Server&lt;/A&gt; is to create a central repository with a set of tools that make it really easy to collaborate between roles.&amp;nbsp; You could try to stitch together multiple disparate systems as follows:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image1.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image1.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image1_thumb.png" width=562 height=246 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image1_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In this case each system has its own storage, own set of identity for assets, own commands and tools.&amp;nbsp; Getting this going is like trying to hook up a set of custom stereo components:&amp;nbsp; you can pull it off but it’s going to be a lot of work and you are missing out on some stuff.&lt;/P&gt;
&lt;P&gt;What I’d rather have is a system which can integrate these items together and then enable my default work flow through the system:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image10.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image10_thumb.png" width=358 height=251 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image10_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This integration enables some very common scenarios.&amp;nbsp; In a typical day I’m going to edit source code, build the product, test it, file bugs, fix them, lather/rinse/repeat.&amp;nbsp; When the entire work flow is supported with one integrated repository then all items can be related to each other.&amp;nbsp; As an example when I check in bug fixes I’d really like to see those defects resolved with the change set recorded (see sample below).&lt;/P&gt;
&lt;P&gt;The Basic configuration of TFS allows you to do precisely this which is a big improvement over just having source control.&amp;nbsp; The full version of TFS then adds new features including automated testing, virtual lab deployment, and architectural validation (to name a few).&amp;nbsp; This expands your work flow as follows:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image14.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image14_thumb.png" width=431 height=300 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image14_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You can decide which of these new components you add when you use the Visual Studio Premium and Ultimate SKUs.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;There are many ways to access TFS.&amp;nbsp; As an engineer your most typical access point will be a version of Visual Studio.&amp;nbsp; But if you are a tester you can use the new Test and Lab Manager product (no VS install necessary).&amp;nbsp; If you are a project manager, you can also use the Web interface, Excel, Microsoft Project, or (new for VS2010) MOSS support for dashboards.&amp;nbsp; More on this later.&lt;/P&gt;
&lt;P&gt;In the rest of this post I will give you some step by step instructions on how to get going with TFS using the basic configuration for your first project.&lt;/P&gt;
&lt;H2&gt;Getting Started&lt;/H2&gt;
&lt;P&gt;Now that you have the conceptual level it’s time to hook things up.&amp;nbsp; You should start by doing the steps listed in Brian Harry’s TFS post &lt;A href="http://blogs.msdn.com/bharry/archive/2009/10/01/tfs-2010-for-sourcesafe-users.aspx" mce_href="http://blogs.msdn.com/bharry/archive/2009/10/01/tfs-2010-for-sourcesafe-users.aspx"&gt;here&lt;/A&gt;.&amp;nbsp; This will get all the required software on your machine with a default collection, creatively enough called DefaultCollection.&lt;/P&gt;
&lt;P&gt;At this point we can connect to the TFS collection from Visual Studio.&amp;nbsp; The easiest way to accomplish this is to use the Team Menu (you can also use the link from the home page):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb.png" width=412 height=276 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You will be asked to find the Server where TFS lives.&amp;nbsp; In this case my Windows 7 machine is called JLZB2REL.&amp;nbsp; Add the server to the list using the Add button, then click Close:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image4.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image4_thumb.png" width=560 height=432 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image4_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;At this point you can select the server from the combo box and then the DefaultCollection, then click Connect:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image8.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image8_thumb.png" width=557 height=434 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image8_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The Team Explorer tab will now have your server connection and DefaultCollection, but we don’t yet have a TFS Project to store anything in yet:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image131%5B1%5D.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image131%5B1%5D.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image131%5B1%5D_thumb.png" width=195 height=100 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image131%5B1%5D_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;For this tutorial I have created a new Windows Form project to act as our sample solution (File, New Project, Windows Forms).&amp;nbsp; If you try to add this new code project to source control, you will get an error.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image16.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image16.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image16_thumb.png" width=406 height=455 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image16_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;After you select the “Add Solution to Source Control” menu item you get the error “No team project source control folders are available.”:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_12.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_12.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_5.png" width=338 height=156 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The error isn’t that intuitive (especially given the word project is used for both TFS and inside your VS code solution but are different things).&amp;nbsp; The error means you must create an actual TFS project to contain all of the assets for your work.&amp;nbsp; In the Team Explorer, right click your collection and choose New Team Project:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_34.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_34.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_16.png" width=491 height=306 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_16.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In this case I’m going to create a TFS project for an Accounts Payable system.&amp;nbsp; This project will contain all of the solutions, data, etc required for the overall system.&amp;nbsp; After entering the data, click Next:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image671.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image671.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image671_thumb.png" width=573 height=463 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image671_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The Agile template is the default but you can also select CMMI.&amp;nbsp; You can find more details on MSDN about the project template types.&amp;nbsp; If you are using any agile methodologies (like TDD) this is a fine choice.&amp;nbsp; After making a choice, just click Finish:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image71.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image71.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image71_thumb.png" width=576 height=466 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image71_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You will get various status updates as the project is being created:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image75.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image75.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image75_thumb.png" width=582 height=468 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image75_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;After success, click the Close button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image79.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image79.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image79_thumb.png" width=588 height=478 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image79_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Team Explorer will now have the project ready to hold Work Items, Builds, and Source Control:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_44.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_44.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_21.png" width=268 height=352 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_21.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;At this point you can update the project collection.&amp;nbsp; Let’s add the new solution to TFS again.&amp;nbsp; Right click the project in the Solution Explorer and select Add Solution to Source Control:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_46.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_46.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_22.png" width=406 height=455 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_22.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;At this point you could create a new folder in TFS for the solution or just take the default.&amp;nbsp; When you are happy, click the OK button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image91.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image91.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image91_thumb.png" width=475 height=471 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image91_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Upon success the Solution Explorer will now show the files are under source control (see the ‘+’ symbol in front of the files):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image95.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image95.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image95_thumb.png" width=301 height=190 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image95_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You will also see the list source control actions taken to publish the solution.&amp;nbsp; Add a comment and then click Check-In:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image104.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image104.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image104_thumb.png" width=671 height=293 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image104_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Confirm the check-in by clicking Yes.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image108.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image108.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image108_thumb.png" width=240 height=139 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image108_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;At this point your new solution is in TFS and ready for Work Items.&lt;/P&gt;
&lt;H2&gt;Work Items&lt;/H2&gt;
&lt;P&gt;You can create work items directly inside Visual Studio using the Team Explorer, through the web front end, and the Test and Lab Management tool.&amp;nbsp; To look at your work items, open the Team Explorer and expand the Work Items, Team Queries item.&amp;nbsp; You can then double click any query (such as Active Bugs) to see any items available to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_58.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_58.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_28.png" width=275 height=284 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_28.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Our TFS project is empty so there are no active bugs in the list:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_60.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_60.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_29.png" width=554 height=174 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_29.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Let’s create a new item just to get us in business.&amp;nbsp; Select the Team, New Work Item menu.&amp;nbsp; Here you can create several types of work items to track features, defects, etc.&amp;nbsp; We’ll select Bug to get going:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_62.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_62.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_30.png" width=484 height=170 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_30.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Enter any data you want for the new bug and click Save Work Item to commit it to the database:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image123.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image123.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image123_thumb.png" width=613 height=386 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image123_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;If you now refresh your active bug query list, you will see the new bug:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_66.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_66.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_32.png" width=613 height=532 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_32.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Let’s add a real bug to fix our project.&amp;nbsp; In my example I just created a default Windows Forms application.&amp;nbsp; We’ll want to update the title:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_68.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_68.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_33.png" width=603 height=506 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_33.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now we need to fix the bug.&amp;nbsp; Navigate back to the Solution Explorer, select Form1.cs then choose Check Out for Edit:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_70.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_70.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_34.png" width=363 height=237 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_34.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click the Check Out button to confirm:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image139.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image139.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image139_thumb.png" width=597 height=378 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image139_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The file will now have a check mark next to it so you know it is open for edit:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_74.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_74.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_36.png" width=244 height=176 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_36.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;As you update the Text property of the main window, VS will automatically check out any dependent files for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_76.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_76.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_37.png" width=265 height=544 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_37.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is a Windows Forms application but it works on all solution/project types.&amp;nbsp; Now that we are happy with the code change, select the Pending Changes tab in the bottom of VS:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_78.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_78.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_38.png" width=396 height=267 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_38.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In this case we are fixing a bug, so click the Work Items icon button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_80.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_80.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_39.png" width=134 height=204 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_39.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Select bug #2 which tracks our title error.&amp;nbsp; We are going to resolve it with this check-in:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_82.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_82.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_40.png" width=554 height=155 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_40.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Add any comments you want and click Check-In, then Yes to confirm:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_84.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_84.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_41.png" width=338 height=200 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_41.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image165.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image165.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image165_thumb.png" width=240 height=153 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image165_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;If you refresh bug #2, you will now see the status changed to Resolved and the history is updated:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_88.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_88.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_43.png" width=388 height=239 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_43.png"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice the change set (the set of source control changes) have been automatically included in the history.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image176.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image176.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image176_thumb.png" width=401 height=224 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image176_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;At this point you could continue to create and fix bugs as required to ship your solution.&amp;nbsp; &lt;/P&gt;
&lt;H2&gt;Other Ways to Explore TFS&lt;/H2&gt;
&lt;P&gt;I mentioned that you don’t have to use VS itself to access the TFS repository.&amp;nbsp; We’ve done a lot of deep integration with other clients like the Web and Office.&amp;nbsp; As an example, I can simply pull up my web browser and go right to my server by using the server name (where 8080 is the default port):&amp;nbsp; &lt;A title=http://jlzb2rel:8080/tfs/ href="http://jlzb2rel:8080/tfs/" mce_href="http://jlzb2rel:8080/tfs/"&gt;http://jlzb2rel:8080/tfs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image18.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image18.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image18_thumb.png" width=571 height=435 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image18_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;At this point I can explore my collections and projects.&amp;nbsp; If you select the new AccountsPayable project we just created then the Continue button, you get more details.&amp;nbsp; In this case by navigating to the Work Items tab I can find the bugs in the system including our newly resolved bug:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image22.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image22.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image22_thumb.png" width=575 height=438 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image22_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is a really easy way to explore your project from any machine with no setup required.&amp;nbsp; There is similar support for using Excel, Microsoft Project, etc.&amp;nbsp; This kind of access makes it easy for all people working on your project (engineers and project managers) to work together. &lt;/P&gt;
&lt;P&gt;At this point you have a very useful set of assets you can use to get your job done.&amp;nbsp; For those of you using VSS today, you might be very happy with just this level of support.&amp;nbsp; You can put down this tutorial now and come back later if you want to try some advanced features, for example the testing scenario I showed using beta 1 in this &lt;A href="http://blogs.msdn.com/jasonz/archive/2009/05/26/vs2010-tutorial-testing-tutorial-step-2.aspx" mce_href="http://blogs.msdn.com/jasonz/archive/2009/05/26/vs2010-tutorial-testing-tutorial-step-2.aspx"&gt;tutorial&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Build Support&lt;/H2&gt;
&lt;P&gt;The next typical part of your work flow will be to automate your builds for the product.&amp;nbsp; Assuming you followed Brian’s installation instructions, you now have local build support on your machine with TFS Basic.&amp;nbsp; The first step is to navigate to the Team Explorer, right click on Build Definitions, and select New Build Definition:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_102.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_102.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_50.png" width=515 height=387 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_50.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This will give us a set of definitions to fill out, just like a code project property page:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_104.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_104.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_51.png" width=312 height=194 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_51.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The Trigger page allows us to decide when builds are kicked off.&amp;nbsp; You have many options to pick from:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;By default this is manual which is the option we will use.&amp;nbsp; We will have to kick of our own builds with this option. &lt;/LI&gt;
&lt;LI&gt;Continuous Integration is very helpful when you want to have a new build after every check-in.&amp;nbsp; This allows you to validate new changes right away rather than waiting later when many check-ins get mixed together.&amp;nbsp; &lt;/LI&gt;
&lt;LI&gt;Rolling builds give you a way to batch changes together which is very handy when builds are starting to take a while and you can’t afford to do every one.&amp;nbsp; &lt;/LI&gt;
&lt;LI&gt;Gated Check-ins allow you to ensure all check-ins build before they are committed to TFS.&amp;nbsp; This makes sure you never expose a build break to other members of your team. &lt;/LI&gt;
&lt;LI&gt;Scheduled builds are useful for getting a daily build out for the entire team to try out. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;You can create and use many different build definitions which allow you to employ different build types for different purposes.&lt;/P&gt;
&lt;P&gt;You can explore all the tabs at your leisure (each is fully documented with the product).&amp;nbsp; But we need to resolve the yellow warning sign on Build Defaults by giving the build a place to store our new build, in this case a public UNC I created on my machine:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_108.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_108.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_53.png" width=550 height=238 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_53.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now you can save the build definition to TFS.&amp;nbsp; If we go back to the Team Explorer we can queue a build of the project:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_110.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_110.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_54.png" width=434 height=350 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_54.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;We’ll get a confirmation dialog where we can just select the Queue button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image461.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image461.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image461_thumb.png" width=412 height=525 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image461_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This will then queue off a build on my machine as shown by the status page:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image511.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image511.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image511_thumb.png" width=541 height=250 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image511_thumb.png"&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If you double click the queued build you will get the detailed status of the build:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image551.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image551.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image551_thumb.png" width=543 height=285 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image551_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;From here you can see warnings and errors, view the log file, navigate to the drop, etc.&amp;nbsp; As an example if you select the “View Log File” link you can see the executed build script (subset):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image591.png" target=_blank mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image591.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image591_thumb.png" width=537 height=259 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image591_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you select the Open Drop Folder link you will be taken to our drop location:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image63.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image63.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image63_thumb.png" width=528 height=299 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image63_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now anyone can pick up the build and do their daily testing, release to a customer, etc.&lt;/P&gt;
&lt;P&gt;At this point you really have everything you need to make full use of the Basic configuration of TFS.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In the future I will do a tutorial on how to hook up the Virtual Lab system (part of Visual Studio Ultimate) which allows you to deploy complex applications to a Hyper-V environment and do automated testing.&lt;/P&gt;
&lt;H2&gt;Creating a New TFS Collection&lt;/H2&gt;
&lt;P&gt;[Note this section is totally optional]&amp;nbsp; You can store all of your work in one TFS Collection if you like.&amp;nbsp; If you are a Visual SourceSafe user today, this is just fine and you can skip this whole section.&amp;nbsp; But if you want to create a new top level collection, it is pretty easy.&amp;nbsp; The first step is to start then Team Foundation Administration Console:&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_14.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_6.png" width=244 height=195 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_6.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After the console starts, select the Team Project Collections item and click the “Create Team Project Collection” link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image27.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image27.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image27_thumb.png" width=558 height=384 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image27_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Fill in a name for the project collection and any description you want, then click Next:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_18.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_18.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_8.png" width=461 height=234 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_8.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Accept the defaults for the data tier, then click Next:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_20.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_20.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_9.png" width=464 height=211 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_9.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The Basic configuration for TFS does not support Lab Management, so just click Next on this step:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_22.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_22.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_10.png" width=469 height=149 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_10.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;At this point all the required data is configured and you can click the Verify button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_24.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_24.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_11.png" width=527 height=268 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_11.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The verification step will ensure the collection can be created:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_26.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_26.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_12.png" width=527 height=178 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_12.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Once it passes, click the Create button:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_28.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_28.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_13.png" width=516 height=260 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_13.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This will provision all the required pieces of the TFS store per our configurations.&amp;nbsp; Click Next and you are done:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_30.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_30.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_14.png" width=534 height=181 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_14.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You will now see the new project collection with the default version:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_32.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_32.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_15.png" width=435 height=155 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TFSTutorial_A94C/image_thumb_15.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9906956" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Announcing VS2010 / .NET Framework Beta 2!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/10/19/announcing-vs2010-net-framework-beta-2.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/10/19/announcing-vs2010-net-framework-beta-2.aspx</id><published>2009-10-19T17:07:00Z</published><updated>2009-10-19T17:07:00Z</updated><content type="html">&lt;P&gt;I’m happy to announce that Beta 2 is now ready for download!&amp;nbsp; MSDN subscribers may download the beta immediately with general availability on Wednesday.&amp;nbsp; Beta 2 comes with a “go live” license which means you can start using the product for production related work (see the license agreement with the product for more details).&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=151797" mce_href="http://go.microsoft.com/fwlink/?LinkID=151797"&gt;Download Beta 2&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I have a few tutorials queued up which I will be publishing over the next several weeks; stay tuned.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb.png" width=288 height=42 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The biggest change you’ll see with these release is the change to the SKU line up.&amp;nbsp; The goal with the new line up is to reduce the number of SKU’s you have to think about and install and make it a very simple set:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Visual Studio Express:&amp;nbsp; &lt;/STRONG&gt;the free Express SKUs for C++, C#, VB, and Web have been updated and released with this version and give you the basics for writing applications&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Professional with MSDN&lt;/B&gt;: professional development tools as you are used to today with the addition of source control integration, extensibility, etc.&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Premium with MSDN&lt;/B&gt;: Premium has everything in Professional plus advanced development (including profiling and debugging), advanced database support, coded UI testing, etc.&amp;nbsp; Rather than buying multiple “Team” SKUs, you can now get this combination of features in one box.&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Ultimate with MSDN&lt;/B&gt;: Ultimate has everything in Premium plus additional advanced features for developers, testers, and architects including features like Intellitrace (formerly Historical Debugging), the new architecture tools (UML, discovery), etc.&amp;nbsp; All of the scenarios we’ve talked about are supported with this version of the product.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In addition to these changes, Team Foundation Server (TFS) is now available with all versions of Visual Studio 2010.&amp;nbsp; You can get started with &lt;A href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx" mce_href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx"&gt;TFS Basic&lt;/A&gt; and work up to full multi-sever support, SharePoint integration, etc as your needs grow.&lt;/P&gt;
&lt;P&gt;The new “Test Elements” SKU is designed for testers who don’t need to write code.&amp;nbsp; You can manage your test cases, work items, and do manual testing using the SKU.&amp;nbsp; Because everything is integrated through TFS, you can continue to collaborate with the entire team.&lt;/P&gt;
&lt;P&gt;The UI has been refreshed with a new start page that gives you quick links to common tasks or background on programming tasks.&amp;nbsp; I have TFS Basic installed on my laptop; you can see Team Explorer support for source control, work items, and builds:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_4.png" target=_blank mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_1.png" width=554 height=335 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Beta 2 now ships with several new project types we’ve mentioned before such as Windows Azure (under “Cloud Service”) and SharePoint, all available for C# and Visual Basic programmers:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_6.png" target=_blank mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_6.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_2.png" width=548 height=379 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In addition support for Silverlight 3 and ASP.NET MVC 2 are included in the build.&lt;/P&gt;
&lt;P&gt;As an engineering team, the goal for Beta 2 was to work very hard on performance, stability, and the integration of the feature set.&amp;nbsp; Our focus is now transitioning to getting your feedback on the product and preparing for the release candidate (RC) milestone which is our final milestone before shipping the product.&amp;nbsp; Please download the beta and send us your feedback.&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909235" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /><category term=".NET" scheme="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx" /></entry><entry><title>Announcing TFS Basic!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx</id><published>2009-10-02T06:21:02Z</published><updated>2009-10-02T06:21:02Z</updated><content type="html">&lt;p&gt;If you are a SourceSafe user you know VSS is an easy to install and easy to use source control system.&amp;#160; TFS gives you a much more powerful system including not only source control but also work item tracking and build support.&amp;#160; Today we are announcing the new Basic configuration for TFS coming your way with Beta 2 of VS2010.&amp;#160; Brian Harry has a &lt;a href="http://blogs.msdn.com/bharry/archive/2009/10/01/tfs-2010-for-sourcesafe-users.aspx"&gt;great post&lt;/a&gt; introducing the new configuration and going over some history and design goals.&amp;#160; My favorite features:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You can use SQL Server Express as the database &lt;/li&gt;    &lt;li&gt;The install runs in about 20 minutes and configures everything for you automatically &lt;/li&gt;    &lt;li&gt;It can run on your client machine &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I’ve been using it to build out several new tutorials I’m queuing up for Beta 2.&amp;#160; It’s awesome!&amp;#160; Stay tuned for Beta 2 and make sure to give it a try...&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9902193" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Staff Meeting Bingo (aka Geo Distributed Engineering Challenges)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/09/04/staff-meeting-bingo-aka-geo-distributed-engineering-challenges.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/09/04/staff-meeting-bingo-aka-geo-distributed-engineering-challenges.aspx</id><published>2009-09-05T00:11:21Z</published><updated>2009-09-05T00:11:21Z</updated><content type="html">&lt;p&gt;Like many of you my engineering organization is spread out around the globe.&amp;#160; With some recent relocations we’ve hit a point where we can no longer have a staff meeting slot that actually works for everyone.&amp;#160; &lt;a href="http://blogs.msdn.com/jeffbe/"&gt;Jeff Beehler&lt;/a&gt; (our Chief of Staff for Visual Studio) just sent out a great chart demonstrating the issue as we searched for a good time to meet:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/StaffMeetingBingoakaGeoDistributedEngine_C785/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/StaffMeetingBingoakaGeoDistributedEngine_C785/image_thumb.png" width="426" height="545" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;We use several different techniques to help make things work (not exhaustive).&amp;#160; &lt;/p&gt;  &lt;p&gt;For keeping the team in sync, every meeting has a &lt;a href="http://office.microsoft.com/en-us/livemeeting/default.aspx"&gt;Live Meeting&lt;/a&gt; link in the invite.&amp;#160; My “All Hands” meetings are also done with a Live Meeting link and in some cases I’ll repeat the content in person when I’m visiting a dev center.&lt;/p&gt;  &lt;p&gt;For engineering purposes we (obviously) make heavy use of TFS to track features, source, etc.&amp;#160; Product teams work in their own “PU branches” for reasonable isolation and changes are integrated at the central branch on a regular basis.&amp;#160; Standard sets of tests and verifications are run as code goes up / down in the system to help prevent breaks across the system.&amp;#160; Making these kind of scenarios easier was part of the motivation behind our new &lt;a href="http://blogs.msdn.com/jasonz/archive/2009/05/26/vs2010-tutorial-testing-tutorial-step-2.aspx"&gt;testing features in VS2010&lt;/a&gt;.&amp;#160; There are similar benefits with the new architecture features (like layer validation).&amp;#160; Etc…&lt;/p&gt;  &lt;p&gt;Have you developed best practices for working in a geo distributed environment?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9891614" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Pointy Hair" scheme="http://blogs.msdn.com/jasonz/archive/tags/Pointy+Hair/default.aspx" /></entry><entry><title>Sample:  Parsing Content in C# Using IFilter</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/08/31/sample-parsing-content-in-c-using-ifilter.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/08/31/sample-parsing-content-in-c-using-ifilter.aspx</id><published>2009-08-31T07:09:06Z</published><updated>2009-08-31T07:09:06Z</updated><content type="html">&lt;p&gt;I’m working on a 3 (or 4) part tutorial right now that requires parsing of PDF files.&amp;#160; The code started to get big enough I decided to pull it out and turn it into a new post that I can use in the series (stay tuned).&lt;/p&gt;  &lt;p&gt;There are several solutions for reading through various file formats.&amp;#160; The IFilter interface was defined to help Windows do search indexing on files for this purpose.&amp;#160; There are lot’s of filter providers for various formats, including several from Microsoft.&amp;#160; If you want to parse PDF files you’ll need to have a provider installed for that as well.&amp;#160; The &lt;a href="http://www.foxitsoftware.com/pdf/ifilter/" target="_blank"&gt;FoxIt IFilter download page&lt;/a&gt; has a provider that according to their website is free for client use (my case).&lt;/p&gt;  &lt;p&gt;In looking around for some sample code I found a few examples that did close to what I wanted but didn’t have a lot of luck finding a C# example.&amp;#160; I’ve pulled together various pieces of code to create a basic implementation for my (simple) needs.&amp;#160; You can find some interesting links here:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms691105(VS.85).aspx" target="_blank"&gt;MSDN Documentation for IFilter&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://ifilter.codeplex.com/" target="_blank"&gt;Codeplex IFilter sample code in C++&lt;/a&gt; (under MS-PL)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.pinvoke.net/default.aspx/query/LoadIFilter.html" target="_blank"&gt;P-Invoke definitions for IFilter and related members&lt;/a&gt; from &lt;a href="http://www.pinvoke.net"&gt;www.pinvoke.net&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The sample contains a class library for parsing the code and a console application that can be used to exercise the library against files.&amp;#160; The code is built using a current internal build of VS2010 (stay tuned here for beta notice) but the key code (FilterCode.cs) should work fine on previous versions of VS and .NET Framework.&lt;/p&gt;  &lt;p&gt;I’ve uploaded the solution to the MSDN code gallery here:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://code.msdn.microsoft.com/ifiltersample" target="_blank"&gt;Download source code&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;To use the sample, include FilterCode.cs in your project, create a new instance of FilterLibrary.FilterCode, and call the GetTextFromDocument method against the file you want to parse.&amp;#160; If you have a filter installed for that document type, you will get back a StringBuilder with the text contents of the file.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889221" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term=".NET" scheme="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx" /><category term="Sample" scheme="http://blogs.msdn.com/jasonz/archive/tags/Sample/default.aspx" /></entry><entry><title>Popfly Game Engine Source Code Released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/08/27/popfly-game-engine-source-code-released.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/08/27/popfly-game-engine-source-code-released.aspx</id><published>2009-08-27T05:42:28Z</published><updated>2009-08-27T05:42:28Z</updated><content type="html">&lt;p&gt;Ben Anderson just released the source code for the Popfly Game Engine on codeplex.&amp;#160; You can read Ben’s full post &lt;a href="http://blogs.msdn.com/ben_anderson/archive/2009/08/26/popfly-parting-present.aspx"&gt;here&lt;/a&gt; and download the source code &lt;a href="http://popflygameengine.codeplex.com/"&gt;here&lt;/a&gt;.&amp;#160; The project is a C# Silverlight application that demonstrates several concepts of XAML and .NET for RIA.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9886347" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Silverlight" scheme="http://blogs.msdn.com/jasonz/archive/tags/Silverlight/default.aspx" /></entry><entry><title>Announcing the XP2Win7 Reference Application</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/07/14/announcing-the-xp2win7-reference-application.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/07/14/announcing-the-xp2win7-reference-application.aspx</id><published>2009-07-14T18:46:21Z</published><updated>2009-07-14T18:46:21Z</updated><content type="html">&lt;p&gt;If you are like me you’ve been using Windows 7 for a while now and it’s a great release!&amp;#160; There are a number of very cool features in the system, including things like touch and sensor support.&amp;#160; We want to make sure it is easy for you to get started lighting up your application, managed or unmanaged, with the new system.&amp;#160; To that end I’m happy to announce the availability of the new XP2Win7 Reference Application which you can download here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/XP2Win7"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Filmstrip" border="0" alt="Filmstrip" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingtheXP2Win7ReferenceApplication_975C/Splash_3.png" width="411" height="155" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/XP2Win7"&gt;XP2Win7 Reference Application&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The download contains a full set of reference material and source code.&amp;#160; The demo is a fully functional application called PhotoView which shows many categories:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Infrastructural work like Restart &amp;amp; Recovery, and IO Optimization&lt;/li&gt;    &lt;li&gt;User interaction support like jump lists and local search&lt;/li&gt;    &lt;li&gt;And cool Windows 7 light up with touch and sensors&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The application makes it easy to explore each feature with a tab pane at the top:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingtheXP2Win7ReferenceApplication_975C/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingtheXP2Win7ReferenceApplication_975C/image_thumb.png" width="482" height="329" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;In this example you can see a light sensor plugged into the left (the bar chart mixer view).&lt;/p&gt;  &lt;p&gt;Win7 is going to be an awesome release and I hope you will find this application a great resource to get started.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9833272" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Distinguished T-Shirt Engineer Best Hits</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/06/17/distinguished-t-shirt-engineer-best-hits.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/06/17/distinguished-t-shirt-engineer-best-hits.aspx</id><published>2009-06-17T17:55:06Z</published><updated>2009-06-17T17:55:06Z</updated><content type="html">&lt;p&gt;One of the fun things I used to do while running the CLR team was help pick out the final design for our t-shirts (not that picking out code generation strategies wasn’t also fun).&amp;#160; Fortunately Sonja Keserovic on our team is a master at designing awesome shirts (while not doing her day job designing engines and languages).&amp;#160; She just sent me the “best of” shirts from over the years:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%201_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sonja&amp;#39;s TShirts 1" border="0" alt="Sonja&amp;#39;s TShirts 1" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%201_thumb.jpg" width="606" height="748" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;“Enter the Core”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;You’ll notice a big movie inspiration in the designs.&amp;#160; The matrix style green text is actually the MSIL for “Hello World” run through ildasm.&amp;#160; You can read through the PE file header and string table in addition to the IL instructions themselves.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%207_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sonja&amp;#39;s TShirts 7" border="0" alt="Sonja&amp;#39;s TShirts 7" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%207_thumb.jpg" width="601" height="750" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;“Roll Call”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Always the analytical bunch, this shirt has every email name for everyone on the team. Colors denote discipline (I’m white for ‘pointy hair’), font size denotes how long you’d been on the CLR team.&amp;#160; The island behind the front logo is Whidbey island, the code name for V2.0.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%204_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sonja&amp;#39;s TShirts 4" border="0" alt="Sonja&amp;#39;s TShirts 4" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%204_thumb.jpg" width="596" height="744" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;“One Runtime to Run them All”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Around the time of LOTR, this text that makes up the ring is actually the source control root for every Microsoft project using the CLR at the time (with a nice Elvish style font).&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%205_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sonja&amp;#39;s TShirts 5" border="0" alt="Sonja&amp;#39;s TShirts 5" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/DistinguishedTShirtEngineerBestHits_6F4F/Sonja's%20TShirts%205_thumb.jpg" width="592" height="739" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;“Don’t Panic”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;The final build number for the V2.0 product was V2.0.50727.42, just around the time the Hitchhiker’s Guide movie came out.&amp;#160; Did I mention we like geeky stuff?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Sonja is now a SDE on the languages team in VS and is creating an awesome new VS design involving pi calculus, can’t wait to see it! &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9769564" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="JasonZ" scheme="http://blogs.msdn.com/jasonz/archive/tags/JasonZ/default.aspx" /></entry><entry><title>MVC 1.1 for VS2010 Beta 1 Released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/06/12/mvc-1-1-for-vs2010-beta-1-released.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/06/12/mvc-1-1-for-vs2010-beta-1-released.aspx</id><published>2009-06-12T21:43:11Z</published><updated>2009-06-12T21:43:11Z</updated><content type="html">&lt;p&gt;The MVC framework for ASP.NET allows you to create applications that follow the model/view/controller architecture.&amp;#160; VS2010 Beta 1 did not have MVC built-in to the product but you can now download it &lt;a href="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28527"&gt;here&lt;/a&gt;.&amp;#160; MVC will be included in the final release of the product.&lt;/p&gt;  &lt;p&gt;After installation you will have MVC templates installed for both VB and C#:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/MVC1.1forVS2010Beta1Released_A4C6/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/MVC1.1forVS2010Beta1Released_A4C6/image_thumb.png" width="598" height="365" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Scott Guthrie has a fantastic &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/03/10/free-asp-net-mvc-ebook-tutorial.aspx"&gt;walk through&lt;/a&gt; on MVC using the VS2008 product which is also be relevant to V2010 (modulo a few dialog changes here and there).&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9737275" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>VS2010 Tutorial: Building VS Extensions with the Beta 1 SDK</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/06/01/visual-studio-2010-sdk-beta-1-is-now-live.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/06/01/visual-studio-2010-sdk-beta-1-is-now-live.aspx</id><published>2009-06-01T18:00:00Z</published><updated>2009-06-01T18:00:00Z</updated><content type="html">&lt;p&gt;The SDK is used to create extensions to Visual Studio itself like those you can find on &lt;a href="www.vsgallery.com" target="_blank"&gt;VS Gallery&lt;/a&gt;.&amp;#160; You can download it &lt;a href="http://go.microsoft.com/fwlink/?LinkId=147422" target="_blank"&gt;here&lt;/a&gt;.&amp;#160; The installation is done on top of an existing install of VS 2010 and gives you a set of build tools, templates, and a short cut for debugging devenv.exe (VS) that can be used for testing your new extensions.&lt;/p&gt;  &lt;p&gt;Once you get the SDK installed, you will find a new set of templates.&amp;#160; Let’s start by doing File, New Project.&amp;#160; Type ‘editor’ in the search box to find example editor extensions:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb.png" width="514" height="315" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the ‘Editor Text Adornment’ template and click OK.&amp;#160; This sample template extends the editor with a Text Adornment which basically gives you the ability to change how text is displayed.&amp;#160; By default this adornment finds all instances of the character ‘a’ and highlights them.&lt;/p&gt;  &lt;p&gt;Build the solution (Ctrl+Shift+B).&amp;#160; The template automatically packages the new .dll into a .vsix file (basically a zip with some dialogs, the code, and other data required to extend VS).&amp;#160; It then copies the new package into the Extensions directory for the test instance of VS:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_8.png" width="534" height="159" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now hit F5 to debug the new extension.&amp;#160; Because you are extending Visual Studio itself, the test instance of VS is launched:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_1.png" width="520" height="311" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is a separate instance of devenv.exe as shown by tlist:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_2.png" width="526" height="34" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Notice the key difference is devenv.exe is launched with a special /rootsuffix flag which gives it a different instance for the extension location:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_3.png" width="530" height="133" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In the experimental instance of VS, open a text file (such as the one generated for this add-in).&amp;#160; When it loads, you’ll notice the editor extension is in effect and has drawn a red box around every ‘a’ in the file:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_4.png" width="535" height="356" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_5.png" width="420" height="261" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The code is pretty straightforward.&amp;#160; The constructor sets up a event handler for layout changed, whenever the change happens every line is scanned, within each line when an ‘a’ is found a red box is placed around it.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;If you open the .vsixmanifest file you will get an editor for all the settings an extension needs:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_9.png" width="604" height="294" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This includes things like the images you will see when you browse / install the extension, the description, etc.&amp;#160; &lt;/p&gt;  &lt;p&gt;Extensions can be easily shared with your friends.&amp;#160; To install an extension, either double click the VSIX file to install it or copy the unzipped extension contents to your extensions directory.&lt;/p&gt;  &lt;p&gt;In addition to local usage, you can also publish (or acquire) extensions from the VS Gallery.&amp;#160; This is easy to do from inside VS by choosing Tools, Extension Manager:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_10.png" width="397" height="284" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you select the Online Gallery, you will find all the controls, templates, and tools from the public site:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_11.png" width="557" height="341" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can easily download and install an extension by selecting it and hitting the Download button. In this case I’ll download the Demo Dashboard which is one of our samples:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_13.png" width="301" height="453" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;After you download the file (assuming you accept the license), you will be prompted to restart VS so the extension can be loaded:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_14.png" width="483" height="46" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;If you select Restart Now, VS will start again and restore your state.&amp;#160; The new extension is now in place:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_15.png" width="466" height="362" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once you have written an extension you really like and you think others may want, you can use the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/en-us/" target="_blank"&gt;VS Gallery site&lt;/a&gt; to upload your item:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VisualStudio2010SDKBeta1isNowLive_12994/image_thumb_16.png" width="475" height="298" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can update, delete, etc your extension after it is uploaded.&lt;/p&gt;  &lt;p&gt;As you can see, loading new items, creating new items, etc is very straightforward.&amp;#160; I’m looking forward to seeing what you come up with.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9638425" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Azure: New Support for the Cloud, New Skills Not Required</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/05/28/azure-new-support-for-the-cloud-new-skills-not-required.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/05/28/azure-new-support-for-the-cloud-new-skills-not-required.aspx</id><published>2009-05-28T13:00:00Z</published><updated>2009-05-28T13:00:00Z</updated><content type="html">&lt;p&gt;Last October at PDC, the Windows Azure team released the first CTP of &lt;a href="http://www.microsoft.com/azure/default.mspx" target="_blank"&gt;Windows Azure&lt;/a&gt; along with the first SDK for developers who are interested in pushing their apps to the cloud.&amp;#160; The team committed to releasing regular SDK updates, and today we are announcing an &lt;a href="http://www.microsoft.com/azure/sdk.mspx"&gt;update to Windows Azure Tools for Visual Studio&lt;/a&gt;.&amp;#160; This release includes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Visual Studio 2010 Beta 1 support &lt;/li&gt;    &lt;li&gt;Update for Visual Studio 2008 support&lt;b&gt;&lt;/b&gt; &lt;/li&gt;    &lt;li&gt;Improved Visual Studio integration with Development Fabric and Development Storage &lt;b&gt;&lt;/b&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This is in addition to the current Windows Azure Tools for Visual Studio, which includes:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;C# and VB Project Templates for building Cloud Services &lt;/li&gt;    &lt;li&gt;Tools to change the Service Role configuration &lt;/li&gt;    &lt;li&gt;Integrated local development via Development Fabric and Development Storage services &lt;/li&gt;    &lt;li&gt;Debugging Cloud Service Roles running in the Development Fabric &lt;/li&gt;    &lt;li&gt;Building and packaging of Cloud Service Packages &lt;/li&gt;    &lt;li&gt;Browsing to the Azure Services Developer Portal &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;One of our key goals is to make your skills as a developer easily transferrable to new domains. If you learn .NET, pick a favorite language (like VB or C#), and learn Visual Studio, then you can easily use your skills to target the ASP.NET, Silverlight, SharePoint, Windows Mobile, and even the Xbox.&amp;#160; The tooling support for Azure brings your same skill set forward into the Cloud.&lt;/p&gt;  &lt;p&gt;You can download the latest SDK for Windows Azure &lt;a href="http://www.microsoft.com/azure/sdk.mspx"&gt;here&lt;/a&gt;.&amp;#160; If you’re interested in the cloud, check out the Windows Azure CTP and the SDK.&amp;#160; Make sure to check out the how to videos &lt;a href="http://www.microsoft.com/azure/videos.mspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9641007" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /><category term="Azure" scheme="http://blogs.msdn.com/jasonz/archive/tags/Azure/default.aspx" /></entry><entry><title>VS2010 Tutorial: Testing Tutorial (Step 2)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/05/26/vs2010-tutorial-testing-tutorial-step-2.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/05/26/vs2010-tutorial-testing-tutorial-step-2.aspx</id><published>2009-05-26T10:00:00Z</published><updated>2009-05-26T10:00:00Z</updated><content type="html">&lt;p&gt;Last week I posted the &lt;a href="http://blogs.msdn.com/jasonz/archive/2009/05/22/vs2010-tutorial-build-a-wpf-app-with-beta-1.aspx" target="_blank"&gt;Step 1 tutorial&lt;/a&gt; for creating a WPF application from scratch using Visual Studio 2010.&amp;#160; In this post, I’m going to create a test plan and test case for the application using the new Visual Studio Test and Lab Manager project.&lt;/p&gt;  &lt;p&gt;For this tutorial, I’m using Visual Studio Team Suite 2010 (which includes all of the roles and TFS access).&amp;#160; I’ve already added the demo to TFS so I have full source control.&amp;#160; For the sake of demonstration, I’ve commented out the final fix from the walk through so the label does not update:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb.png" width="525" height="147" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When I run the application, the label is not updated:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_1.png" width="537" height="248" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;The Tester&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To create my test, I’m going to run the Test and Lab Manager tool from the start menu:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_2.png" width="389" height="498" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The main page has tabs for test plans, tests, and for tracking work items:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_3.png" width="526" height="374" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;First I need to connect to my TFS server by click Add.&amp;#160; My server is VLM13267036 (auto generated name by our internal Hyper-V testing tools):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_4.png" width="280" height="249" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ve already got a collection with my code stored in the Projects folder:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_5.png" width="267" height="166" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next I’ll select Projects and choose the Connect option. This prompts me to set a context:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_6.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ll choose “Set context” which brings up the editor for my new context:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_7.png" width="244" height="160" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ll select New:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_8.png" width="244" height="149" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I can now edit all of the properties:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_9.png" width="501" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;After all data has been entered, click Save and Close.&amp;#160; The new item is now in our list:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_10.png" width="501" height="95" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Double clicking the item allows me to add a new test case to this test suite:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_11.png" width="504" height="206" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here you can fill out all details for the test case:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_13.png" width="500" height="433" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Steps can now be added by clicking on the “Click here to add a step”:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_15.png" width="501" height="89" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ve added a few steps including launching the application, hitting the buttons, etc:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_16.png" width="504" height="137" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now hit Save and Close to go back to the test case list.&amp;#160; The Plan is now complete.&amp;#160; We can run it any time a new build is produced, for each flavor of build, for different configurations, etc.&amp;#160; To execute the test, change focus to the Test tab:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_17.png" width="511" height="196" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Our test plan and test case are already in the list.&amp;#160; Right click the test case and select Run:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_18.png" width="430" height="299" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This will launch the test case.&amp;#160; The manual test runner window docks itself to the left side of my desktop so I can see both the steps I want to run and the full Windows desktop:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_19.png" width="284" height="404" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The “Start test and record” option allows me to not only do the testing steps, but it will also allow recording a WMV of all the steps I do as well as recording my steps to help me author coded UI tests (big helper with automation).&amp;#160; This is really handy if you want someone to see exactly what you did to produce a bug and automate testing in the future.&amp;#160; &lt;/p&gt;  &lt;p&gt;In this case I will select “Start test”.&amp;#160; Notice the Test Runner now shows the steps I created above:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_20.png" width="251" height="374" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The first step is to “Launch the PicViewer application” which I’ll do by running the application.&amp;#160; Since that worked, I’ll press the combo box status item behind the step and select ‘Pass’ from the drop down:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_21.png" width="485" height="345" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The item is now marked as passing:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_22.png" width="371" height="233" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ll repeat the process for the next two steps, so far so good:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_23.png" width="374" height="241" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When I get to my last step, I discover the file path isn’t actually set.&amp;#160; That makes this item a failure.&amp;#160; Select the drop down box and choose ‘Fail’ from the list.&amp;#160; I’m automatically asked for comments on the failure:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_24.png" width="285" height="497" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Since I didn’t record a video of my steps, I would like to give the developer a screen shot of what went wrong.&amp;#160; Select the camera tool bar button:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_52.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_25.png" width="356" height="208" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This will bring up a capture tool turning the cursor into a cross hair that allows me to select a region of the screen.&amp;#160; I’ll select the top of the application to demonstrate the busted label:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_54.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_26.png" width="358" height="144" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice that the failed test now has a .png file added with the image:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_56.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_27.png" width="365" height="133" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ve got enough supporting data now so I’ll create a new bug using the toolbar:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_58.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_28.png" width="396" height="131" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’m now prompted to create my bug with a description, etc:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_60.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_29.png" width="395" height="289" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice the detailed test steps I’ve taken have already been added to the bug:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_62.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_30.png" width="374" height="322" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;As has my screen shot (the .png file):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_64.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_31.png" width="378" height="141" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I’ll now do a Save and Close which will commit the bug to TFS as a Work Item.&amp;#160; Finally I’ll do End Test then Save and Close the test runner.&amp;#160; This will return us to Test and Lab Manager.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_66.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_32.png" width="305" height="88" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;as a tester, I could now double click the test case and see all of the same data I just saved for the failure:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_68.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_33.png" width="514" height="418" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I can also select My Bugs and see the bug filed for this issue (since I conveniently assigned it to me):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_70.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_34.png" width="517" height="179" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;And just to show how everything is wired together, I can open Visual Studio, Team Explorer and look for bugs assigned to me there as well:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_72.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_35.png" width="530" height="363" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;At this point my job as a tester is now done.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;The Developer&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;As a developer, I can now open the bug and read through the issue.&amp;#160; If I select Other Links I’ll find the .png which I can open to see the issue:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_74.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_36.png" width="528" height="410" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Sure enough, the label is not updated.&amp;#160; If a WMV had been recorded, I could have actually watched the testing steps in action.&amp;#160; Because the bug is quite simple to find and fix (some idiot commented out the update line!) I can simply make my fix and test it.&lt;/p&gt;  &lt;p&gt;Now that things are fixed, I want to check in the bug fix and resolve the work item at the same time.&amp;#160; Click on the Pending Changes tab in VS and select the correct work item:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_76.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_37.png" width="529" height="120" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now we can Check In the fix:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_78.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_38.png" width="521" height="222" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I can now verify the bug has been Resolved:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_80.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010TutorialTestingTutorial_51/image_thumb_39.png" width="520" height="386" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;In Summary&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;A key goal for Visual Studio Team System 2010 was to reduce the number of times a tester and developer wind up in a ‘no-repro’ situation.&amp;#160; There are several things I’ve demonstrated in this tutorial which help:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Test case steps are documented and set up for repeatable execution &lt;/li&gt;    &lt;li&gt;Pass/Fail steps are outlined and stored in bugs automatically &lt;/li&gt;    &lt;li&gt;Video capture is allowed to see all steps taken, and screen snapshots are easy to acquire and file with a bug &lt;/li&gt;    &lt;li&gt;System information including build number, OS, etc are recorded for you (System Info tab) &lt;/li&gt;    &lt;li&gt;Although not shown, I could also have collected all of the historical debugging traces from the run as well &lt;/li&gt;    &lt;li&gt;All data from test cases, results, work items, and source code are kept in TFS and can be shared by test and dev &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I hope you’ll pick up Beta 1 and try this set of tutorials for yourself.&amp;#160; Let us know how well it works for you and if you have any suggestions.&amp;#160; I should also point out the work item tracking, auto resolve, etc are all part of VS 2008 so a great way to get prepared for the new version is to get TFS deployed today and get your projects into the system.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9617993" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>VS2010 Tutorial: Build a WPF App (Step 1)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jasonz/archive/2009/05/22/vs2010-tutorial-build-a-wpf-app-with-beta-1.aspx" /><id>http://blogs.msdn.com/jasonz/archive/2009/05/22/vs2010-tutorial-build-a-wpf-app-with-beta-1.aspx</id><published>2009-05-22T10:00:00Z</published><updated>2009-05-22T10:00:00Z</updated><content type="html">&lt;p&gt;For this post I’m going to build a WPF application from scratch using VS2010 Beta 1.&amp;#160; Along the way I’m going to show off a few new features of the product.&amp;#160; I built this demo using the Beta 1 build on Windows 7 RC, but it should work fine on other systems as well.&lt;/p&gt;  &lt;p&gt;If you haven’t already downloaded the software, you can find a great walk through of how to do that on &lt;a href="http://channel9.msdn.com/shows/10-4/10-4-Episode-20-Downloading-and-Installing-Visual-Studio-2010-Beta-1/" target="_blank"&gt;Channel 9 from Brian Keller&lt;/a&gt;.&amp;#160; Brian explains how to install the entire product, including TFS.&amp;#160; TFS is not required for Step 1 (this tutorial), but will be for Step 2.&lt;/p&gt;  &lt;p&gt;First we’ll start off in Visual Studio 2010 and do a File, New Project.&amp;#160; I’m going to select “WPF Application” and call my application PicViewer (this is the new Beta 1 dialog):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_3.png" width="569" height="407" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This will give us the default project template including a Window with a Grid and my default C# project code:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_5.png" width="575" height="347" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To start, I’m going to drag the Window out to be larger which you can do by dragging the actual window in the designer or you can edit the XAML Width=”” tag.&amp;#160; I’ll make mine 700:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_6.png" width="564" height="347" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;At the top of the application we want a button to display the Previous and Next pictures in the list.&amp;#160; We also want to display the full path so we’ll need a label.&amp;#160; Step 1 is to add a row to the grid.&amp;#160; In this case I’ll select the &amp;lt;Grid&amp;gt; label and move the cursor to where I want the row:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_8.png" width="561" height="81" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When I make the row, it also adjusts the XAML for this page as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_9.png" width="367" height="128" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Let’s adjust the first row Height to “35” instead of “29*” just to make sure my buttons are of reasonable size.&amp;#160; The aesthetics are really up to you.&lt;/p&gt;  &lt;p&gt;We want WPF to do the layout of the buttons and the label.&amp;#160; To do this, create a &amp;lt;StackPanel&amp;gt; bound to Grid.Row=”0”.&amp;#160; The StackPanel by default flows items vertically so let’s change the Orientation to “Horizontal”.&amp;#160; You can do this either by using the XAML editor or by dragging the items from the ToolBox.&amp;#160; Your final markup should look like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_11.png" width="367" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Let’s drag a button onto the Row from the Toolbox:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_12.png" width="355" height="130" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I want this to be the Previous button.&amp;#160; I’ll do this by editing the settings in the Properties window:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_14.png" width="304" height="179" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;First change the Name field to “buttonPrev” and then change the Content setting to “Prev”.&amp;#160; Repeat this process by dragging another button to the right of the Prev button and edit that item to Name “buttonNext” and Content “Next”.&amp;#160; You should see the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_64.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_4.png" width="217" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;This is functional, but doesn’t look good.&amp;#160; We can add some white space around the buttons in the StackPanel by setting the margin which defines how much space should be around an item.&amp;#160; Select the Prev button and change this setting:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_16.png" width="244" height="141" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;which will give the button a Margin of 5 on all sides (you can independently set left|right|top|bottom as well).&amp;#160; Repeat the same for the Next button.&amp;#160; At this point you’ll see the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_17.png" width="242" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Finally drag a label to the right of the Next button making the Name “labelPath” and set the Width to “400”.&amp;#160; When you are done, your XAML markup should look as follows (you can edit the text if it isn’t just right):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_18.png" width="475" height="73" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;To display our pictures, we will need to have an Image control in the bottom.&amp;#160; To do this, drag an Image control from the ToolBox to the bottom of the grid.&amp;#160; This will do the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_19.png" width="500" height="461" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is a case where having the Smart Tag feature of Windows Forms would be really handy.&amp;#160; This is on the feature list but not yet in the WPF Designer.&amp;#160; In this case I’m going to edit the XAML itself to remove everything the designer added except the Grid.Row, Margin, and Name settings.&amp;#160; Make your settings look like the following and the image control will now fill the bottom of the grid with a nice white space border:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_20.png" width="511" height="67" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_21.png" width="520" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Now the look of the application is coming along and we need to add some code to make it work.&amp;#160; To start, double click on the title bar of the Window to create a load handler:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_23.png" width="244" height="62" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_22.png" width="530" height="87" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Repeat this process by double clicking on the Prev and Next buttons.&amp;#160; This will give you the following code outline:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_24.png" width="544" height="409" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;For this picture viewer, I’m going to get a list of jpg files from my Windows 7 user directory and display those.&amp;#160; What I’d really like to do is write the view code in Window1.xaml.cs in a way that makes sense to me, then go write the underlying logic.&amp;#160; To get started, I’m going to declare a new instance of a class that doesn’t exist yet:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_54.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_26.png" width="407" height="199" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Because the class doesn’t exist yet, I am getting the red squiggles under the type.&amp;#160; That’s ok, we’ll create the class in a minute.&lt;/p&gt;  &lt;p&gt;The next step is to stub out all the view code in this file.&amp;#160; We’ll start with the Window_Loaded() method.&amp;#160; Notice that even though the class has not been defined, Intellisense will include the type after the new keyword so you can use it:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_2.png" width="457" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;We want to initialize the list and display the first picture when the application starts.&amp;#160; The code is as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_66.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_32.png" width="461" height="132" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once again I have parse errors for items which don’t exist which is ok.&amp;#160; Move on to the Previous button handler and start typing in that method.&amp;#160; When I get to the DisplayPicture function call, you’ll notice the function doesn’t show up in the IntelliSense window because it doesn’t exist yet.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_60.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_29.png" width="426" height="129" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you hit &amp;lt;Ctrl&amp;gt;+&amp;lt;Alt&amp;gt;+Space you’ll change the mode into “consume first” which means I want the editor to give me these names while I’m typing.&amp;#160; Now when I start typing, my new (and undeclared) function shows up in the list so IntelliSense doesn’t auto-complete on items already in the completion list:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_62.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_30.png" width="570" height="115" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;My code then looks like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_68.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_33.png" width="588" height="412" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;I’m happy with this basic view logic.&amp;#160; Now I need to actually create the support class that finds my pictures.&amp;#160; Let’s start by placing the cursor on the PictureList class declaration then press the &amp;lt;Ctrl&amp;gt; key and the period (&amp;lt;Ctrl&amp;gt;+.) at the same time to expand the smart tag.&amp;#160; You’ll get the following pop up:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_70.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_34.png" width="503" height="193" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the first menu item, “Generate class for ‘PictureList’”.&amp;#160; This will add a new file, PictureList.cs, to the project and generate the class PictureList in that file.&amp;#160; Now that the class has been defined, the squiggles go away:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_72.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_35.png" width="242" height="38" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You will then notice all the methods you have invoked on the class are showing up as syntax errors.&amp;#160; Put your cursor in the Init() method and press &amp;lt;Ctrl&amp;gt;+. to get the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_74.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_36.png" width="514" height="138" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the menu item so the code is generated for you.&amp;#160; Repeat this process for the Peek(), Prev(), and Next() methods.&amp;#160; If we then open PictureList.cs file, you will find the following code stubbed out for you:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_76.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_37.png" width="394" height="470" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice that because the code we wrote to consume methods like _PicList.Peek() expect a string back, the editor has automatically given the methods a return type of ‘string’.&lt;/p&gt;  &lt;p&gt;Now I’ll add the logic to retrieve a list of jpg’s from the Windows install and give me the ability to walk through them:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_80.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_39.png" width="549" height="365" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The last step is to write the DisplayPicture method in Window1.xaml.cs.&amp;#160; I can do this once again by selecting the method name and hitting &amp;lt;Ctrl&amp;gt;+. and then fill out the code as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_82.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_40.png" width="559" height="143" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This code will take the jpg and convert it into a BitmapImage that can be displayed.&amp;#160; The next line of code sets the Source of our XAML image contorl to this bitmap so it can be displayed on the screen.&lt;/p&gt;  &lt;p&gt;The program now builds cleanly.&amp;#160; I will set a breakpoint in the Peek() method as well as the DisplayPicture method.&amp;#160; Do this by placing the cursor on those functions and hitting the F9 button (notice the red breakpoint circle in the margin):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_84.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_41.png" width="439" height="106" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_86.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_42.png" width="442" height="112" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now let’s run the application by hitting the F5 button.&amp;#160; Our first breakpoint in the Peek() method is now hit:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_88.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_43.png" width="640" height="386" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You’ll find your breakpoint marked in yellow where we stopped.&amp;#160; In addition you’ll find the traditional Call Stack view in the lower right.&amp;#160; Because I’m using Visual Studio Team System, I also have the “Debug History” view on by default:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_118.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_58.png" width="332" height="396" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The default settings have captured interesting information about the execution of my program so far including all of the Registry accesses my program has made (either by me or the underlying system) and system events (like breakpoints, exceptions, etc).&lt;/p&gt;  &lt;p&gt;If I hover my cursor over the _PicList variable in the editor, I get a pop up watch window.&amp;#160; If I hover my cursor over the little square at the end and click:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_90.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_44.png" width="441" height="126" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;then you will get a sticky DataTips window in the editor (the arrow is just to demonstrate the result, it isn’t in the editor):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_92.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_45.png" width="590" height="97" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is a simple example of using the new WPF editor.&amp;#160; The sticky DataTips window is a WPF adornment to the text buffer tied into the debugger.&amp;#160; You can use it like a normal watch window by expanding the array contents, etc.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_94.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_46.png" width="505" height="184" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Let’s hit F5 and continue the program.&amp;#160; My application now works including the Prev and Next buttons:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_96.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_47.png" width="588" height="287" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The only issue is the name of the file is not being updated.&amp;#160; Click the Next button again to our break point in DisplayPicture().&amp;#160; There is no code to update the label in this method:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_98.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_48.png" width="525" height="117" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To fix this, let’s add a new line of code:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_100.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_49.png" width="379" height="357" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;With the Edit &amp;amp; Continue feature you can make new code changes while the application is running.&amp;#160; Update the code to the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_102.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_50.png" width="385" height="109" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now press F5 to continue and the path is updated:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_104.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_51.png" width="511" height="243" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;There are a couple of fit and finish things I’d like to change.&amp;#160; Let’s stretch the image to fit by adding Stretch=”Fill”:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_106.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_52.png" width="514" height="274" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next let’s add a rectangle to frame the picture:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_112.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_55.png" width="538" height="57" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can then select the rectangle and set the Fill property to give it a color.&amp;#160; This brings up the new inline color palate:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_108.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_53.png" width="213" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I chose a blue/black color and you get the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_114.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_56.png" width="554" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The final XAML markup then looks like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_116.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_57.png" width="574" height="218" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This sample could be improved in a number of ways, including using data bound controls to enumerator classes, adding all the proper try/catch logic, etc.&amp;#160; But my main goal here was to show off some editor / designer features so I’ll leave that as an exercise to the user.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9597944" width="1" height="1"&gt;</content><author><name>Jasonz</name><uri>http://blogs.msdn.com/members/Jasonz.aspx</uri></author><category term="WPF" scheme="http://blogs.msdn.com/jasonz/archive/tags/WPF/default.aspx" /><category term="Visual Studio" scheme="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx" /><category term="Tutorial" scheme="http://blogs.msdn.com/jasonz/archive/tags/Tutorial/default.aspx" /><category term=".NET" scheme="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx" /></entry></feed>