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

<channel>
	<title>Ryan Cromwell &#187; Visual Studio</title>
	<atom:link href="http://blog.cromwellhaus.com/index.php/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cromwellhaus.com</link>
	<description>Improving my craft...</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:06:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Real World Webcast Series for TFS 2010</title>
		<link>http://blog.cromwellhaus.com/2011/02/real-world-webcast-series-for-tfs-2010/</link>
		<comments>http://blog.cromwellhaus.com/2011/02/real-world-webcast-series-for-tfs-2010/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 21:09:03 +0000</pubDate>
		<dc:creator>cromwellryan</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.cromwellhaus.com/2011/02/real-world-webcast-series-for-tfs-2010/</guid>
		<description><![CDATA[I and a few coworkers are running a twice monthly web series starting February 10th.&#160; This series will touch on the opportunities we’ve been involved in to ease real world situations. If you are working with Team Foundation Server 2010 and are interested in making your life a little easier I invite you to come [...]]]></description>
			<content:encoded><![CDATA[<p>I and a few coworkers are running a twice monthly web series starting February 10th.&#160; This series will touch on the opportunities we’ve been involved in to ease real world situations.</p>
<p>If you are working with Team Foundation Server 2010 and are interested in making your life a little easier I invite you to come listen to what I and others have to say.&#160; We’ll do everything we can to keep the schedule tight to 1 hour, but we are always available offline.</p>
<p><strong><a href="https://www.clicktoattend.com/invitation.aspx?code=153495">Automating Team Foundation Server with PowerShell</a>&#160;</strong>Feb 10th, 12pm EST</p>
<p>System administration can be slow and inconsistent when performed manually, or quick and easy when automated. Learn to use PowerShell with TFS to script away that wasted time.</p>
<p>&#160;</p>
<p><a href="http://www.clicktoattend.com/?id=153441"><strong>Continuous Deployment with Team Build and MSDeploy</strong></a> Feb 24th, 12pm EST</p>
<p>Caffeine, pizza, and anxiety are regular tools for a production deployment. Watch and learn how Team Foundation Build 2010 and MSDeploy can turn the last hurdle of software development into a moment of Zen.</p>
<p>&#160;</p>
<p><a href="http://www.clicktoattend.com/?id=153440"><strong>Planning and Executing Manual Tests with Visual Studio Test Professional 2010</strong></a><strong>&#160;</strong>Mar 10th, 12pm EST</p>
<p>Visual Studio Test Professional 2010 makes a real impact on software quality. It’s an integrated testing solution that delivers a complete plan-test-track workflow. It allows the user to quickly identify quality-related bugs and easily report them with rich, actionable information. In this session, we&#8217;ll review test planning and manual testing with Visual Studio Test Professional 2010. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cromwellhaus.com/2011/02/real-world-webcast-series-for-tfs-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ReSharper Test Runner and MSTest Projects</title>
		<link>http://blog.cromwellhaus.com/2010/07/resharper-test-runner-and-mstest-projects/</link>
		<comments>http://blog.cromwellhaus.com/2010/07/resharper-test-runner-and-mstest-projects/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 13:17:08 +0000</pubDate>
		<dc:creator>cromwellryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.cromwellhaus.com/index.php/2010/07/resharper-test-runner-and-mstest-projects/</guid>
		<description><![CDATA[One of my biggest irritants with the Unit Testing ecosystem is that each runner does things a little different. Gallio has helped solve this to some extent, but even that hasn’t solved all the problems that come with content or resource file deployments, coverage settings, etc.&#160; Gallio’s goal is noble if not arrogant, become the [...]]]></description>
			<content:encoded><![CDATA[<p>One of my biggest irritants with the Unit Testing ecosystem is that each runner does things a little different. <a href="http://gallio.org/">Gallio</a> has helped solve this to some extent, but even that hasn’t solved all the problems that come with content or resource file deployments, coverage settings, etc.&#160; Gallio’s goal is noble if not arrogant, become the <em>Runner to Rule Them All.</em>&#160; </p>
<p>Unlikely.<em>&#160; </em></p>
<p><a href="http://www.jetbrains.com/resharper/index.html">ReSharper</a>, on the other hand, has taken the Switzerland approach and tries to be true to each testing frameworks settings and run modes.&#160; It has a gap in regards to MSTest at this point, though.&#160; (Who uses MSTest you say?&#160; Lots of people.&#160; You wanted unit testing to become common place, remember?&#160; Stop complaining.)&#160; ReSharper gives you this nasty warning when running your MSTests with Code Coverage enabled.</p>
<p><a href="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image_thumb.png" width="281" height="169" /></a></p>
<p>See MSTest is actually pretty sweet when it comes to data capture.&#160; It might not be blazing fast, but it lets you capture an awful lot of information in different situations.&#160; In order to support those different situations nicely there is this file type called Test Settings (*.testsettings).&#160; <a href="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" align="right" src="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image_thumb1.png" width="244" height="182" /></a>Test Settings files live in your solution folder and you can have a bunch of them.&#160; In fact, Visual Studio 2010 gives you two by default: Local.testsettings and TraceAndTestImpact.testsettings.&#160; </p>
<p>Local.testsettings doesn’t capture anything by default, but one of the first thing everyone tends to look for when running tests is <a href="http://en.wikipedia.org/wiki/Code_coverage">code coverage</a>.&#160; Since Local.testsettings are their default and people don’t realize you can change your active test settings they open Local.testsettings, choose Data and Diagnostics and check Code Coverage (and probably other things that sound interesting).</p>
<p><a href="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="Enabling Code Coverage in Data and Diagnostics of Local.testsettings" border="0" alt="Enable Code Coverage in Data and Diagnostics of Local.testsettings" src="http://blog.cromwellhaus.com/wp-content/uploads/2010/07/image_thumb2.png" width="244" height="221" /></a></p>
<p>Now you’ve eliminated Resharper as a Test Runner.&#160; But you don’t have too!&#160; Remember how I said you can have a bunch of those .testsettings files and eluded to the fact that one can be made <em>Active.</em>&#160; Here’s what you’re going to do:</p>
<ol>
<li>Right click the Solution Items folder (don’t put them in a different solution folder, VS doesn’t like that, sorry).</li>
<li>Click Add –&gt; New Item </li>
<li>Under Installed Templates (VS 2010) select Test Settings.</li>
<li>Name the new file ReSharper.testsettings (or whatever makes you happy really) and click ok.</li>
</ol>
<p>The Test Settings editor dialog will come up, but you don’t need to change a thing if you don’t want or need.&#160; Data and Diagnostics will be empty which is good for ReSharper.&#160; At this point, you can go to the Test menu option, open Select Active Test Settings and choose your new settings (ReSharper.testsettings in our example).</p>
<p>That’s it, use ReSharper all you like.&#160; There are some other nice things that ReSharper will do for you in regards to abiding by deployment options for content files and things like that, but we’ll save that for a different day.&#160; <a href="http://screencast.com/t/NWQwYWVj" target="_blank">Here’s a quick video</a> that highlights everything I’ve outlined here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cromwellhaus.com/2010/07/resharper-test-runner-and-mstest-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Property C# Code Snippet</title>
		<link>http://blog.cromwellhaus.com/2008/07/virtual-property-c-code-snippet/</link>
		<comments>http://blog.cromwellhaus.com/2008/07/virtual-property-c-code-snippet/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 03:31:00 +0000</pubDate>
		<dc:creator>cromwellryan</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">/blogs/ryanc/archive/2008/07/02/virtual-property-c-code-snippet.aspx</guid>
		<description><![CDATA[For those of you who use NHibernate you may find this convenient, if you don&#8217;t already have your own.&#160; Below is a C# code snippet for creating a public virtual property (code and file are both there).&#160; Just put it in your &#60;Visual Studio 2005/2008&#62;\Code Snippets\Visual C#\My Code Snippets folder and you&#8217;re off and running.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who use NHibernate you may find this convenient, if you don&#8217;t already have your own.&nbsp; Below is a C# code snippet for creating a public virtual property (code and file are both there).&nbsp; Just put it in your <em>&lt;Visual Studio 2005/2008&gt;\Code Snippets\Visual C#\My Code Snippets</em> folder and you&#8217;re off and running.&nbsp; No restart required.</p>
<p><strong><a href="http://cromwellhaus.com/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.06.84/propv.snippet">File</a></strong></p>
<p><strong>Code</strong></p>
<blockquote>
<pre class="code"><span style="color: blue">&lt;?</span><span style="color: #a31515">xml </span><span style="color: red">version</span><span style="color: blue">=</span>"<span style="color: blue">1.0</span>" <span style="color: red">encoding</span><span style="color: blue">=</span>"<span style="color: blue">utf-8</span>" <span style="color: blue">?&gt;
&lt;</span><span style="color: #a31515">CodeSnippets  </span><span style="color: red">xmlns</span><span style="color: blue">=</span>"<span style="color: blue">http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet</span>"<span style="color: blue">&gt;
    &lt;</span><span style="color: #a31515">CodeSnippet </span><span style="color: red">Format</span><span style="color: blue">=</span>"<span style="color: blue">1.0.0</span>"<span style="color: blue">&gt;
        &lt;</span><span style="color: #a31515">Header</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Title</span><span style="color: blue">&gt;</span>propv<span style="color: blue">&lt;/</span><span style="color: #a31515">Title</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Shortcut</span><span style="color: blue">&gt;</span>propv<span style="color: blue">&lt;/</span><span style="color: #a31515">Shortcut</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Description</span><span style="color: blue">&gt;</span>Code snippet for an automatically implemented virtual property<span style="color: blue">&lt;/</span><span style="color: #a31515">Description</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Author</span><span style="color: blue">&gt;</span>Microsoft Corporation<span style="color: blue">&lt;/</span><span style="color: #a31515">Author</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">SnippetTypes</span><span style="color: blue">&gt;
                &lt;</span><span style="color: #a31515">SnippetType</span><span style="color: blue">&gt;</span>Expansion<span style="color: blue">&lt;/</span><span style="color: #a31515">SnippetType</span><span style="color: blue">&gt;
            &lt;/</span><span style="color: #a31515">SnippetTypes</span><span style="color: blue">&gt;
        &lt;/</span><span style="color: #a31515">Header</span><span style="color: blue">&gt;
        &lt;</span><span style="color: #a31515">Snippet</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Declarations</span><span style="color: blue">&gt;
                &lt;</span><span style="color: #a31515">Literal</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">ID</span><span style="color: blue">&gt;</span>type<span style="color: blue">&lt;/</span><span style="color: #a31515">ID</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">ToolTip</span><span style="color: blue">&gt;</span>Property type<span style="color: blue">&lt;/</span><span style="color: #a31515">ToolTip</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">Default</span><span style="color: blue">&gt;</span>int<span style="color: blue">&lt;/</span><span style="color: #a31515">Default</span><span style="color: blue">&gt;
                &lt;/</span><span style="color: #a31515">Literal</span><span style="color: blue">&gt;
                &lt;</span><span style="color: #a31515">Literal</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">ID</span><span style="color: blue">&gt;</span>property<span style="color: blue">&lt;/</span><span style="color: #a31515">ID</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">ToolTip</span><span style="color: blue">&gt;</span>Property name<span style="color: blue">&lt;/</span><span style="color: #a31515">ToolTip</span><span style="color: blue">&gt;
                    &lt;</span><span style="color: #a31515">Default</span><span style="color: blue">&gt;</span>MyProperty<span style="color: blue">&lt;/</span><span style="color: #a31515">Default</span><span style="color: blue">&gt;
                &lt;/</span><span style="color: #a31515">Literal</span><span style="color: blue">&gt;
            &lt;/</span><span style="color: #a31515">Declarations</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Code </span><span style="color: red">Language</span><span style="color: blue">=</span>"<span style="color: blue">csharp</span>"<span style="color: blue">&gt;&lt;![CDATA[</span><span style="color: gray">public virtual $type$ $property$ { get; set; }$end$</span><span style="color: blue">]]&gt;
            &lt;/</span><span style="color: #a31515">Code</span><span style="color: blue">&gt;
        &lt;/</span><span style="color: #a31515">Snippet</span><span style="color: blue">&gt;
    &lt;/</span><span style="color: #a31515">CodeSnippet</span><span style="color: blue">&gt;
&lt;/</span><span style="color: #a31515">CodeSnippets</span><span style="color: blue">&gt;</span></pre>
<pre class="code"><span style="color: blue"></span> </pre>
<pre class="code"><span style="color: blue"></span> </pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.cromwellhaus.com/2008/07/virtual-property-c-code-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

