<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>There and Back Again : Visual Studio Team System</title><link>http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx</link><description>Tags: Visual Studio Team System</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Looking for cool VSTS tools</title><link>http://blogs.msdn.com/howard_dierking/archive/2008/06/18/looking-for-cool-vsts-tools.aspx</link><pubDate>Thu, 19 Jun 2008 02:33:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8619198</guid><dc:creator>hdierking</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/8619198.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=8619198</wfw:commentRss><description>&lt;p&gt;My friend and Team System MVP, &lt;a href="http://www.michaelazocar.com/"&gt;Mike Azocar&lt;/a&gt;, is running a contest to find the coolest community-built tools for Team System.&amp;#160; To enter, just submit a screencast that showcases your Team System tool.&amp;#160; You've got until August 31, 2008 to get your entry in, so get crackin!&lt;/p&gt;  &lt;p&gt;More information can be found &lt;a href="http://www.michaelazocar.com/blog/?p=485"&gt;here on Mike's blog&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8619198" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Contests/default.aspx">Contests</category></item><item><title>The Visual Studio Gallery</title><link>http://blogs.msdn.com/howard_dierking/archive/2008/02/28/the-visual-studio-gallery.aspx</link><pubDate>Fri, 29 Feb 2008 04:23:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7939037</guid><dc:creator>hdierking</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/7939037.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=7939037</wfw:commentRss><description>&lt;p&gt; Once upon a time (ok, fine - 2 weeks ago), I was doing some Ruby development in Notepad and just had a craving for more.&amp;#160; Don't get me wrong - I love the raw performance of Notepad, but between Visual Studio (with R#) and Eclipse, I just had a need for something more aesthetically pleasing.&amp;#160; One thing that I've always loved about the Eclipse side of the universe is that if I'm ever in need of a new plug in, I can simply go to the &lt;a href="http://www.eclipseplugincentral.com/"&gt;Plugin Central&lt;/a&gt; portal and browse through hundreds of different plugins, from language tools to modeling tools.&amp;#160; As I was hoping, I came across a &lt;a href="http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-188.html"&gt;fantastic plugin for Ruby development&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you hadn't noticed yet, we have now launched a similar one-stop-shop for Visual Studio add-ins - &lt;a href="http://www.visualstudiogallery.com"&gt;the Visual Studio Gallery&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/howard_dierking/WindowsLiveWriter/TheVisualStudioGallery_F449/image1_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="239" alt="image1" src="http://blogs.msdn.com/blogfiles/howard_dierking/WindowsLiveWriter/TheVisualStudioGallery_F449/image1_thumb.png" width="644" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;One of the things that I found particularly interesting about the &lt;a href="http://www.visualstudiogallery.com"&gt;Visual Studio Gallery&lt;/a&gt; is in how you can source Visual Studio add-ins from a variety of different sources, from &lt;a href="http://www.codeplex.com/"&gt;CodePlex&lt;/a&gt; to the new &lt;a href="http://code.msdn.microsoft.com/"&gt;MSDN Code Gallery&lt;/a&gt; portal (if you just want to surface the code and not binaries), to your own hosting provider.&amp;#160; The particular combination of this with something like &lt;a href="http://www.codeplex.com/"&gt;CodePlex&lt;/a&gt; strikes me as particularly cool.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7939037" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Microsoft+.NET+Programming/default.aspx">Microsoft .NET Programming</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category></item><item><title>So Mad Right Now</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/10/03/so-mad-right-now.aspx</link><pubDate>Thu, 04 Oct 2007 05:24:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5270261</guid><dc:creator>hdierking</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/5270261.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=5270261</wfw:commentRss><description>&lt;p&gt;All I want to do is install VS 2008 - that's all.&amp;nbsp; Unfortunately, the uninstall story with VS 2005 is so complicated that in the process of individually uninstalling the 10+ different applications (according to MSI), I have somehow also corrupted my LifeCam software, so now I'm unable to webcam with my wife and new baby while traveling.&lt;/p&gt; &lt;p&gt;Maybe I had never noticed before because I was a full-time developer and I was in a constant state of reformatting my machine anyway, but seriously - is formatting the only viable option for installing Visual Studio?&lt;/p&gt; &lt;p&gt;At the moment, it certainly seems that way...&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5270261" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category></item><item><title>Error Installing VS.NET 2005 SP1?  0x643 Ring a Bell?</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/05/26/error-installing-vs-net-2005-sp1-0x643-ring-a-bell.aspx</link><pubDate>Sun, 27 May 2007 07:06:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2908959</guid><dc:creator>hdierking</dc:creator><slash:comments>13</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/2908959.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=2908959</wfw:commentRss><description>&lt;p&gt;I have run across this error now in a couple of VPCs - and I finally cared enough to search out the problem today.&amp;nbsp; The error occurs when trying to install Visual Studio 2005 SP1 - as far as I know, the error is not limited to a specific edition of the product.&amp;nbsp; The installation will get to about 50% completion and then throw an error with an error code 0x643.&amp;nbsp; In doing a little digging, it seems that the solution is to update your software restriction policies as follows.&amp;nbsp; This information was pulled from &lt;a href="http://support.microsoft.com/kb/925336"&gt;this KB article&lt;/a&gt;.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Click &lt;strong&gt;Start&lt;/strong&gt;, click &lt;strong&gt;Run&lt;/strong&gt;, type control admintools, and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt; &lt;li&gt;Double-click &lt;strong&gt;Local Security Policy&lt;/strong&gt;.&lt;/li&gt; &lt;li&gt;Click &lt;strong&gt;Software Restriction Policies&lt;/strong&gt;. &lt;br&gt;&lt;b&gt;Note&lt;/b&gt; If no software restrictions are listed, right-click &lt;strong&gt;Software Restriction Policies&lt;/strong&gt;, and then click &lt;strong&gt;Create New Policy&lt;/strong&gt;.&lt;/li&gt; &lt;li&gt;Under &lt;strong&gt;Object Type&lt;/strong&gt;, double-click &lt;strong&gt;Enforcement&lt;/strong&gt;.&lt;/li&gt; &lt;li&gt;Click &lt;strong&gt;All users except local administrators&lt;/strong&gt;, and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt; &lt;li&gt;Restart the computer.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Not sure if you've run into this problem yet, but if I've seen it more than once, so I'm fairly certain that you either have seen it or will see it in the future.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2908959" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Miscellaneous/default.aspx">Miscellaneous</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category></item><item><title>DSLs - Not Quite Child's Play ... But Closer!</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/05/16/dsls-not-quite-child-s-play-but-closer.aspx</link><pubDate>Wed, 16 May 2007 20:53:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2677471</guid><dc:creator>hdierking</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/2677471.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=2677471</wfw:commentRss><description>&lt;p&gt;One of the books I've been reading recently Jack Greenfield's (and several other really smart people) book &lt;a href="http://www.amazon.com/o/ASIN/0471202843/ref=s9_asin_image_2-2288_p/102-5904142-8869700?pf_rd_m=ATVPDKIKX0DER&amp;amp;pf_rd_s=center-2&amp;amp;pf_rd_r=09ZBKEZNTZ3FESHEGV5Q&amp;amp;pf_rd_t=101&amp;amp;pf_rd_p=288448501&amp;amp;pf_rd_i=507846"&gt;Software Factories&lt;/a&gt;.&amp;nbsp; While I'm not yet sure that I buy into the notion that the creation of software solutions will undergo an &lt;a href="http://en.wikipedia.org/wiki/Industrial_revolution"&gt;industrial revolution&lt;/a&gt; of sorts (at least in a measurable timeframe), the thing that really drove me to this book was the discussion on domain specific languages - or "little languages" if you're coming from the UNIX world.&amp;nbsp; I've been following the efforts on DSL coming out of companies such as &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx"&gt;Microsoft&lt;/a&gt;, &lt;a href="http://www.jetbrains.com/mps/"&gt;JetBrains&lt;/a&gt;, and &lt;a href="http://www.intentionalsoftware.com/"&gt;Intentional Software&lt;/a&gt; for a while now and while I think that &lt;a href="http://www.martinfowler.com/bliki/ModelDrivenArchitecture.html"&gt;model driven architecture&lt;/a&gt; is probably too prescriptive as an approach, I do think that there is a great deal of business value to be gained by promoting &lt;a href="http://www.onboard.jetbrains.com/is1/articles/04/10/lop/"&gt;language oriented programming&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;While Jack's book is incredibly insightful, it also (at least for me) can be a pretty difficult read as it takes me back&amp;nbsp;to my old CS days.&amp;nbsp; In fact, much of the work on DSLs reads this way as we are just now starting to try and describe and articulate the theory behind the tools.&amp;nbsp; Therefore, I think it's always fun to see a practical implementation of a "little language".&lt;/p&gt; &lt;p&gt;The &lt;a href="http://web.mit.edu/newsoffice/2007/resnick-scratch.html"&gt;Scratch language&lt;/a&gt; is a visual programming language for kids developed by Mitchel Resnick and team at &lt;a href="http://www.media.mit.edu/"&gt;MIT's Media Lab&lt;/a&gt;.&amp;nbsp; The language allows kids to build software systems that do some very basic - but very real things.&amp;nbsp; What's cool is to think about&amp;nbsp;the next step - when we come to a better understanding of integrating different DSLs to create richer systems.&amp;nbsp; As an example, taking a Scratch application and integrating it into a distribution language would be an easy leap for allowing kids to create simple games that they can immediately promote to the Internet to play with other kids all over the world!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2677471" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Architecture/default.aspx">Architecture</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Agile/default.aspx">Agile</category></item><item><title>Microsoft Acquires TeamPlain – Free to TFS Customers!</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/03/27/microsoft-acquires-teamplain-free-to-tfs-customers.aspx</link><pubDate>Tue, 27 Mar 2007 21:18:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1966434</guid><dc:creator>hdierking</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/1966434.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=1966434</wfw:commentRss><description>&lt;p&gt;This is a really awesome deal for current Microsoft Team Foundation Server customers.  Check out the &lt;a href="http://blogs.msdn.com/robcaron/archive/2007/03/26/1952943.aspx"&gt;entry on Rob Caron's blog&lt;/a&gt; for more information.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1966434" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Microsoft+.NET+Programming/default.aspx">Microsoft .NET Programming</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Test+Driven+Development/default.aspx">Test Driven Development</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category></item><item><title>Stop the Presses – TFS Exam!</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/02/28/stop-the-presses-tfs-exam.aspx</link><pubDate>Thu, 01 Mar 2007 00:43:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1775844</guid><dc:creator>hdierking</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/1775844.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=1775844</wfw:commentRss><description>&lt;p&gt;Saw some &lt;a href="http://mcpmag.com/news/article.asp?EditorialsID=1219"&gt;nice coverage&lt;/a&gt; the other day regarding the &lt;a href="http://www.microsoft.com/learning/exams/70-510.mspx"&gt;Team Foundation Server exam (70-510)&lt;/a&gt; – currently in beta.  The beta for this exam has received overwhelmingly strong interest and I'm very excited to see how it does when it goes live.  &lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/default.aspx"&gt;Team System&lt;/a&gt; is a big part of Microsoft's long term developer story and it's good to see that there's so much interest even at this early stage of its development.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1775844" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Certifications/default.aspx">Certifications</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category></item><item><title>Team System Unit Tests and Deployment Items</title><link>http://blogs.msdn.com/howard_dierking/archive/2007/02/24/team-system-unit-tests-and-deployment-items.aspx</link><pubDate>Sun, 25 Feb 2007 02:24:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1754599</guid><dc:creator>hdierking</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/howard_dierking/comments/1754599.aspx</comments><wfw:commentRss>http://blogs.msdn.com/howard_dierking/commentrss.aspx?PostID=1754599</wfw:commentRss><description>&lt;p&gt;Just a quick tip in case you haven't yet encountered this yet. In the course of my development rhythm, I use both &lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/aa718823.aspx"&gt;Visual Studio Team Edition for Software Testers&lt;/a&gt; and &lt;a href="http://www.testdriven.net/"&gt;TestDriven.Net&lt;/a&gt; as test harnesses for my unit tests. This is primarily due to speed. As I'm sure you're aware, the VSTE test engine takes a good bit longer to initialize than TD.NET and because my programming style is very &lt;a href="http://en.wikipedia.org/wiki/Test_driven_development"&gt;TDD&lt;/a&gt; in nature, I like to run my tests more frequently, and from the test code itself. Now, I ran into a situation today where I wanted to do some testing on an Xml schema that I wrote. Therefore, I have the following test.&lt;/p&gt; &lt;div class="csharpcode"&gt;&amp;nbsp;&lt;/div&gt; &lt;div class="csharpcode"&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;[WorkItem(93), TestMethod]    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; testGetAssetTypeSchema() {    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;    XmlSchema assetTypeSchema = &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;      ((IXmlSerializable) &lt;span class="kwrd"&gt;new&lt;/span&gt; AssetType(&lt;span class="str"&gt;"temp"&lt;/span&gt;)).GetSchema();    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;    XmlReaderSettings xmlSettings = &lt;span class="kwrd"&gt;new&lt;/span&gt; XmlReaderSettings();    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;    xmlSettings.CloseInput = &lt;span class="kwrd"&gt;true&lt;/span&gt;;    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;    xmlSettings.IgnoreComments = &lt;span class="kwrd"&gt;true&lt;/span&gt;;    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;    xmlSettings.IgnoreWhitespace = &lt;span class="kwrd"&gt;true&lt;/span&gt;;    &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;    xmlSettings.Schemas.Add(assetTypeSchema);   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;    xmlSettings.ValidationFlags = &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;      XmlSchemaValidationFlags.ProcessIdentityConstraints;   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;    xmlSettings.ValidationType = ValidationType.Schema;   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;    xmlSettings.ValidationEventHandler += &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;      &lt;span class="kwrd"&gt;new&lt;/span&gt; ValidationEventHandler(settings_ValidationEventHandler);   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;    XmlReader xrdr = XmlReader.Create(&lt;span class="str"&gt;"Workstation.xml"&lt;/span&gt;, xmlSettings);   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;    XmlDocument xdoc = &lt;span class="kwrd"&gt;new&lt;/span&gt; XmlDocument();   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;    xdoc.Load(xrdr);   &lt;/pre&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;}&lt;/pre&gt;&lt;/div&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;My "Workstation.xml" file sits in the project directory along with everything all of the rest of my code files. I run my test using TD.NET and I get a file IO exception – my Xml file could not be located. Oh – woops! I forgot to change the "Copy to Output Directory" property. This ensures that when I build my project, the Xml file will always get copied into the output directory along with my assemblies. To do this, I select my Xml file in the solution explorer, and look at the properties window. I can then find the "Copy to Output Directory" setting and change it to "Copy always". &lt;/p&gt;
&lt;p&gt;Now, at this point, my test will run just fine with TD.NET because that test harness runs my tests "in place". However, VSTE creates an entirely different folder structure to manage test runs and test results. Therefore, when I run my test with VSTE, my test fails again. To correct the problem, I need to add one more attribute.&lt;/p&gt;&lt;pre class="csharpcode"&gt;[WorkItem(93), DeploymentItem(&lt;span class="str"&gt;"Workstation.xml"&lt;/span&gt;), TestMethod] 
&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; testGetAssetTypeSchema() { ... }&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;The "DeploymentItemAttribute" will cause the VSTE test engine to copy my Xml file from the assembly output folder to the test deployment folder – and therefore the relative path I specify in my test still works flawlessly.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1754599" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Microsoft+.NET+Programming/default.aspx">Microsoft .NET Programming</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Test+Driven+Development/default.aspx">Test Driven Development</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/howard_dierking/archive/tags/Agile/default.aspx">Agile</category></item></channel></rss>