<?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>blah blah blah</title>
	<atom:link href="http://www.slinkysoftware.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.slinkysoftware.com/blog</link>
	<description>ramblings of a C# developer from London</description>
	<lastBuildDate>Fri, 18 May 2012 20:54:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Connecting to a SqlExpress instance with Wix</title>
		<link>http://www.slinkysoftware.com/blog/?p=317&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=connecting-to-a-sqlexpress-instance-with-wix</link>
		<comments>http://www.slinkysoftware.com/blog/?p=317#comments</comments>
		<pubDate>Sat, 12 May 2012 11:59:10 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Problems Solved]]></category>
		<category><![CDATA[MsSql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[wix]]></category>
		<category><![CDATA[wix3.6]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=317</guid>
		<description><![CDATA[The other day I came across a bit of a strange issue when trying to delploy a backup to a fresh SqlExpress 2008 R2 instance. I had setup the Wix Sql database tag using a loopback address: &#60;sql:SqlDatabase Id=&#34;DbNameRef&#34; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Database=&#34;DbName&#34; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The other day I came across a bit of a strange issue when trying to delploy a backup to a fresh SqlExpress 2008 R2 instance. I had setup the Wix Sql database tag using a loopback address:</p>
<div class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sql:SqlDatabase</span> <span style="color: #000066;">Id</span>=<span style="color: #ff0000;">&quot;DbNameRef&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Database</span>=<span style="color: #ff0000;">&quot;DbName&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Server</span>=<span style="color: #ff0000;">&quot;127.0.0.1&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Instance</span>=<span style="color: #ff0000;">&quot;SQLEXPRESS&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">CreateOnInstall</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">DropOnUninstall</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">User</span>=<span style="color: #ff0000;">&quot;MySQLUser&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">ContinueOnError</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></div></div>
<p>but for some reason it wasn&#8217;t connecting at all just erroring with a most helpful error message:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CreateDatabase:  Error 0x80004005: failed to create SQL database but continuing, error: unknown error, Database: [DATABASE_NAME]</div></div>
<p>I enabled TCP/IP so that I could use sql profiler and re-ran the installer hey presto guess what it worked! Obviously as SqlExpress only installs with &#8220;Shared memory&#8221; enabled this was the issue, it couldn&#8217;t connect. I tried the sqlcmd method of using &#8220;lpc:&#8221; as a prefix but still no joy. It turns out that if you cannot use a hostname or ip for the servername to switch over to shared memory&#8217; you have to use &#8220;.&#8221; as the server name:</p>
<div class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sql:SqlDatabase</span> <span style="color: #000066;">Id</span>=<span style="color: #ff0000;">&quot;DbNameRef&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Database</span>=<span style="color: #ff0000;">&quot;DbName&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Server</span>=<span style="color: #ff0000;">&quot;.&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">Instance</span>=<span style="color: #ff0000;">&quot;SQLEXPRESS&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">CreateOnInstall</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">DropOnUninstall</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">User</span>=<span style="color: #ff0000;">&quot;MySQLUser&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">ContinueOnError</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></div></div>
<div class="shr-publisher-317"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=317</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up your environment to build the Wix3.6 sources</title>
		<link>http://www.slinkysoftware.com/blog/?p=310&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-your-environment-to-build-the-wix3-6-sources</link>
		<comments>http://www.slinkysoftware.com/blog/?p=310#comments</comments>
		<pubDate>Wed, 09 May 2012 10:51:39 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[win-sdk]]></category>
		<category><![CDATA[wix]]></category>
		<category><![CDATA[wix3.6]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=310</guid>
		<description><![CDATA[Recently I have been back creating Wix installers and unfortunately I came across a a bug in the RC0 that was causing issues with my Burn bootstrapper. This had already been fixed in the latest sources so I went ahead and built the latest sources. This wasn&#8217;t as easy as I though it would be [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Recently I have been back creating Wix installers and unfortunately I came across a a bug in the RC0 that was causing issues with my Burn bootstrapper. This had already been fixed in the latest sources so I went ahead and built the latest sources. This wasn&#8217;t as easy as I though it would be so here are the steps I needed to take:</p>
<ol>
<li>Install the Windows SDK 7.1 (<a href="http://www.microsoft.com/en-us/download/details.aspx?id=8279">http://www.microsoft.com/en-us/download/details.aspx?id=8279</a>) (I just did a full install)</li>
<li>Install Mercurial (<a href="http://mercurial.selenic.com/">http://mercurial.selenic.com/</a>)</li>
<li>Clone the latest Wix sources into a local folder (hg clone https://hg.codeplex.com/wix)</li>
<li>Change directory to the new wix folder.</li>
<li>Switch to the Wix36 branch (hg update wix36).</li>
<li>Setup an environment variable called <strong>WIX_ROOT </strong>pointing to your newly downloaded sources (In my case C:\source\codeplex\wix).</li>
<li>Open up a VS2010 command prompt in administrator mode and navigate to the <strong>WIX_ROOT </strong>path.</li>
<li>Run make.bat.</li>
</ol>
<p>Now once that is completed, hopefully you should only have non-fatal errors and warnings an if that is the case the latest wix installer will be located under %WIX_ROOT%\build\debug\x86\release\%WIX_VERSION%\.</p>
<div class="shr-publisher-310"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=310</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS2010 Caching MSBuild properties</title>
		<link>http://www.slinkysoftware.com/blog/?p=290&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vs2010-caching-msbuild-properties</link>
		<comments>http://www.slinkysoftware.com/blog/?p=290#comments</comments>
		<pubDate>Tue, 01 May 2012 18:39:05 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=290</guid>
		<description><![CDATA[This really bit me in the arse today and wasted about 2 hours of my time so I thought I&#8217;d better blog about it! I was splitting out the Properties required for a WixProject today and could not work out why the changes to my imported proj file were not being imported. It turns out [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This really bit me in the arse today and wasted about 2 hours of my time so I thought I&#8217;d better blog about it! </p>
<p>I was splitting out the Properties required for a WixProject today and could not work out why the changes to my imported proj file were not being imported. </p>
<p>It turns out that VS2010 is really helpful when it comes to this and will cache the properties the first time they are loaded. Unfortunately it looks like the only way to get around this &#8220;feature&#8221; is to restart visual studio or use the msbuild commandline to build your project.</p>
<p>Joyness!</p>
<div class="shr-publisher-290"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=290</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing dead library servers and hosts from SCVMM</title>
		<link>http://www.slinkysoftware.com/blog/?p=237&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=removing-dead-library-servers-and-hosts-from-scvmm</link>
		<comments>http://www.slinkysoftware.com/blog/?p=237#comments</comments>
		<pubDate>Tue, 15 Nov 2011 16:58:02 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Problems Solved]]></category>
		<category><![CDATA[SqlServer]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Lab management]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[tfs]]></category>

		<guid isPermaLink="false">http://slinkysoftware.com/blog/?p=237</guid>
		<description><![CDATA[A while back I was setting up TFS Lab management so that we can start automating a lot of our integration testing. In the process of testing the deployment of the servers and the auto configuration scripts I was creating a lot of temporary virtual servers on the domain and using up IP&#8217;s on the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>A while back I was setting up TFS Lab management so that we can start automating a lot of our integration testing. In the process of testing the deployment of the servers and the auto configuration scripts I was creating a lot of temporary virtual servers on the domain and using up IP&#8217;s on the network before they could be released. Therefore I wasn&#8217;t too popular with the OP&#8217;s guys and they decided to put the lab server in it&#8217;s own domain.</p>
<p>Unfortunately this caused a few issues as it meant that the SCVMM backed could not contact the hosts and the library servers as they had moved domain. Removing the hosts was a simple matter of dropping to PowerShell (There is a handy button at the top of the SCVMM Admin console) and running the following command:</p>
<div class="codecolorer-container powershell twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="powershell codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Remove<span style="color: pink;">-</span>VMHost <span style="color: #800000;">&quot;[SERVER_FQDN]&quot;</span> <span style="color: #008080; font-style: italic;">-Force</span></div></div>
<p>However the PowerShell command for removing dead library servers is not so helpful as it doesn&#8217;t have a &#8220;Force&#8221; flag and it comes up with an error saying it can&#8217;t be contacted:</p>
<p><a href="http://www.slinkysoftware.com/blog/wp-content/uploads/2011/06/screenshot.47.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-246" title="Error (406) - Access has been denied while contacting the server" src="http://www.slinkysoftware.com/blog/wp-content/uploads/2011/06/screenshot.47-300x82.jpg" alt="Error (406) - Access has been denied while contacting the server" width="300" height="82" /></a></p>
<p>Luckily as the SCVMM backend is controlled by Sql server it wasn&#8217;t too difficult to find where the definitions of the library server were stored. Just connect to the SCVMM database instance ([YOUR_SCVMM_SERVER]\MICROSOFT$VMM$) and the table you need to look at is the tbl_ADHC_Library table. Firstly do a select on the table to get the GUID/UNIQUEIDENTIFIER of the library server(s) you need to delete:</p>
<div class="codecolorer-container tsql twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="tsql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0000FF;">use</span> VirtualManagerDB<br />
go<br />
<br />
<span style="color: #0000FF;">select</span> <br />
&nbsp; &nbsp; LibraryID,<br />
&nbsp; &nbsp; ComputerName<br />
<span style="color: #0000FF;">from</span> dbo.<span style="color: #202020;">tbl_ADHC_Library</span></div></div>
<p>From this query take the LibraryID field and for each of the library servers you need removing, run the following command:</p>
<div class="codecolorer-container tsql twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="tsql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0000FF;">use</span> VirtualManagerDB<br />
go<br />
<br />
<span style="color: #0000FF;">exec</span> prc_ADHC_Library_Delete <span style="color: #FF0000;">'[LibraryID]'</span></div></div>
<p>Hey presto all the dead servers are now gone! </p>
<p>As always please make sure you have a backup and don&#8217;t blame me if you break your SCVMM server!!</p>
<div class="shr-publisher-237"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=237</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Badger Sponsorship plug!</title>
		<link>http://www.slinkysoftware.com/blog/?p=257&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=coding-badger-sponsorship-plug</link>
		<comments>http://www.slinkysoftware.com/blog/?p=257#comments</comments>
		<pubDate>Wed, 27 Jul 2011 16:29:29 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=257</guid>
		<description><![CDATA[Thanks to Barry O&#8217;connor for sponsoring me on my charity challenge! Take a gander at his blog which can be found here and you may learn a thing or two! I certainly did, apparently Barry has so much spare time he can answer lots of questions on StackOverflow! Oh to be a contractor!!]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Thanks to Barry O&#8217;connor for sponsoring me on my charity challenge!</p>
<p>Take a gander at his blog which can be found <a href="http://codingbadger.com/ ">here</a> and you may learn a thing or two! I certainly did, apparently Barry has so much spare time he can answer lots of questions on StackOverflow! Oh to be a contractor!! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="shr-publisher-257"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sponsor me and get a &#8220;free&#8221; plug to your website on my blog!</title>
		<link>http://www.slinkysoftware.com/blog/?p=271&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sponsor-me-and-get-a-free-plug-to-your-website-on-my-blog</link>
		<comments>http://www.slinkysoftware.com/blog/?p=271#comments</comments>
		<pubDate>Wed, 27 Jul 2011 15:51:32 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=271</guid>
		<description><![CDATA[Thanks to SharpCrafters (the makers of PostSharp THE AOP framework for .Net ) sponsoring me on my Princes Trust charity challenge I have had the great idea of giving away free plugs to your site and/or product if you sponsor me. Any amount will get a thank-you blog post but if you sponsor me £100 [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Thanks to <a href="http://www.sharpcrafters.com/" target="_blank">SharpCrafters </a>(the makers of PostSharp <strong>THE</strong> AOP framework for .Net <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) sponsoring me on my Princes Trust charity challenge I have had the great idea of giving away free plugs to your site and/or product if you sponsor me.</p>
<p>Any amount will get a thank-you blog post but if you sponsor me £100 or more you will be able guide the content of the blog-post  (within reason! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). If you have donated over £100 DM me (<a href="http://twitter.com/#!/caveman_dick" target="_blank">@caveman_dick</a>) and I will send you details of how to contact me!</p>
<p>As SharpCrafters were the first they even get a banner!</p>
<p><a href="http://www.sharpcrafters.com/"><img src="http://d27zia7qovbru8.cloudfront.net/Design/art/logo-99a4481edd7431019f6f944cc8829c51.png" alt="SharpCrafters banner" style="background-color:white;padding:5px;" /></a></p>
<div class="shr-publisher-271"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Specifying a different source directory in OpenWrap</title>
		<link>http://www.slinkysoftware.com/blog/?p=241&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=specifying-a-different-source-directory-in-openwrap</link>
		<comments>http://www.slinkysoftware.com/blog/?p=241#comments</comments>
		<pubDate>Wed, 20 Jul 2011 18:17:05 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Tips and Hints]]></category>
		<category><![CDATA[openwrap]]></category>

		<guid isPermaLink="false">http://slinkysoftware.com/blog/?p=241</guid>
		<description><![CDATA[Currently our source tree is very similar to the recommended OpenWrap layout other than one difference, the &#8220;src&#8221; dir is called &#8220;Source&#8221;. This only causes an issue when it comes to building the wrap itself as by default the command tries to find any projects in the src folder. It&#8217;s a simple config change to [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Currently our source tree is very similar to the recommended OpenWrap layout other than one difference, the &#8220;src&#8221; dir is called &#8220;Source&#8221;. This only causes an issue when it comes to building the wrap itself as by default the command tries to find any projects in the src folder. It&#8217;s a simple config change to get this to work, just add the following line to your .wrapdesc file:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">build: msbuild; project=[PathToTheProject]\[CsProjFile]</div></div>
<p>Thanks to <a href="http://twitter.com/#!/serialseb">SerialSeb</a> for an awesome package manager and super-quick support via twitter! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-241"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=241</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Please sponosor me on my charity challenge!</title>
		<link>http://www.slinkysoftware.com/blog/?p=254&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=please-sponosor-me-on-my-charity-challenge</link>
		<comments>http://www.slinkysoftware.com/blog/?p=254#comments</comments>
		<pubDate>Wed, 20 Jul 2011 18:04:47 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.slinkysoftware.com/blog/?p=254</guid>
		<description><![CDATA[This year at the end of September I am embarking on a charity challenge for the Princes Trust. This has been partially organised through my new employers (Advanced Health and Care Ltd part of the Advanced Computer Software Group) and they will be kindly sponsoring me to the tune of &#163;100 but I need to [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This year at the end of September I am embarking on a charity challenge for the Princes Trust. This has been partially organised through my new employers (Advanced Health and Care Ltd part of the Advanced Computer Software Group) and they will be kindly sponsoring me to the tune of &pound;100 but I need to raise the rest.</p>
<p>The challenge I&#8217;m entering is the Wild UK challenge which involves racing from the north coast to the south coast of Devon by cycling, hiking and kayaking a total of 100 miles! </p>
<p>So far I have managed to raise a bit at work by doing selling some cakes I have baked and will be doing a lottery next payday. I did plan to sort out a load of my junk to sell at a boot fair however this has been quite difficult to find the time (I moved out of London in Jan as my mum health was deteriorating and she has recently been diagnosed with Alzheimer&#8217;s <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ). </p>
<p>Unfortunately I&#8217;m still majorly short of the &pound;800 target (&pound;600 of which I need to raise by the end of August!), so hopefully this is where you will be able to help! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>My sponsorship page can be found <a href="https://secure.artezglobal.com/registrant/PersonalPage.aspx?eventid=15967&#038;RegistrationID=345143" target="_blank">here</a>. Anything that you can spare would be very much appreciated. Just think if you don&#8217;t have that extra drink down the pub on Friday, you can easily spare a fiver! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks everyone! <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-254"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=254</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resharper Tip: Generating guids</title>
		<link>http://www.slinkysoftware.com/blog/?p=231&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=resharper-tip-generating-guids</link>
		<comments>http://www.slinkysoftware.com/blog/?p=231#comments</comments>
		<pubDate>Thu, 12 May 2011 15:26:35 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Tips and Hints]]></category>
		<category><![CDATA[guid]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[wix]]></category>

		<guid isPermaLink="false">http://slinkysoftware.com/blog/?p=231</guid>
		<description><![CDATA[Need to insert a guid into your code? ReSharper can help with this, just type &#8220;nguid&#8221; and press tab, hey-presto a new guid is generated and shown in different formats in the intellisense dropdown:]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Need to insert a guid into your code? ReSharper can help with this, just type &#8220;nguid&#8221; and press tab, hey-presto a new guid is generated and shown in different formats in the intellisense dropdown:</p>
<p><img src="http://slinkysoftware.com/blog/wp-content/uploads/2011/05/screenshot.40.jpg" alt="" title="screenshot.40" width="537" height="98" class="aligncenter size-full wp-image-232" /></p>
<p><img src="http://slinkysoftware.com/blog/wp-content/uploads/2011/05/screenshot.41.jpg" alt="" title="screenshot.41" width="564" height="200" class="aligncenter size-full wp-image-233" /></p>
<div class="shr-publisher-231"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=231</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling a project to have multiple StyleCop targets.</title>
		<link>http://www.slinkysoftware.com/blog/?p=187&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enabling-a-project-to-have-multiple-stylecop-targets</link>
		<comments>http://www.slinkysoftware.com/blog/?p=187#comments</comments>
		<pubDate>Wed, 27 Apr 2011 16:43:17 +0000</pubDate>
		<dc:creator>caveman_dick</dc:creator>
				<category><![CDATA[Tips and Hints]]></category>
		<category><![CDATA[csproj]]></category>
		<category><![CDATA[msbuild]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[stylecop]]></category>

		<guid isPermaLink="false">http://slinkysoftware.com/blog/?p=187</guid>
		<description><![CDATA[As the RC is now out for StyleCop 4.5 I wanted to give it a go mainly to see if the ReSharper integration included works with Resharper 6 (unfortunately it doesn&#8217;t ). Unfortunately it includes a breaking-change if you import the StyleCop.targets file (so that violations are shown as either errors or warnings when building [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>As the RC is now out for StyleCop 4.5 I wanted to give it a go mainly to see if the ReSharper integration included works with Resharper 6 (unfortunately it doesn&#8217;t <img src='http://www.slinkysoftware.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ). Unfortunately it includes a breaking-change if you import the StyleCop.targets file (so that violations are shown as either errors or warnings when building the project) as the path has changed.</p>
<p>To enable me to continue to use the 4.5RC version and my workmates to carry on using 4.4 I had to make some changes to the csproj file to cater for both:</p>
<div class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;PropertyGroup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;StyleCop4_4Path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>$(MSBuildExtensionsPath32)\Microsoft\StyleCop\v4.4\Microsoft.StyleCop.targets<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/StyleCop4_4Path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;StyleCop4_5Path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>$(MSBuildExtensionsPath32)\StyleCop\v4.5\StyleCop.targets<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/StyleCop4_5Path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/PropertyGroup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Import</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">&quot;!exists($(StyleCop4_5Path))&quot;</span> <span style="color: #000066;">Project</span>=<span style="color: #ff0000;">&quot;$(StyleCop4_4Path)&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Import</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">&quot;exists($(StyleCop4_5Path))&quot;</span> <span style="color: #000066;">Project</span>=<span style="color: #ff0000;">&quot;$(StyleCop4_5Path)&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></div>
<p>This disables the 4.4 target if 4.5 is installed, however if neither are installed it will fail the build trying to find 4.4. If you need to disable both if they are not installed you can replace the first import with the following:</p>
<div class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Import</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">&quot;exists($(StyleCop4_4Path))&quot;</span> <span style="color: #000066;">Project</span>=<span style="color: #ff0000;">&quot;$(StyleCop4_4Path)&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></div>
<div class="shr-publisher-187"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.slinkysoftware.com/blog/?feed=rss2&#038;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

