<?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>Concurrent Development &#187; Visual Studio</title>
	<atom:link href="http://www.concurrentdevelopment.co.uk/blog/index.php/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.concurrentdevelopment.co.uk/blog</link>
	<description>Musings and tips from the Concurrent Development guys</description>
	<lastBuildDate>Tue, 22 Feb 2011 09:50:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Visual Studio hangs on debug</title>
		<link>http://www.concurrentdevelopment.co.uk/blog/index.php/2009/05/hello-world/</link>
		<comments>http://www.concurrentdevelopment.co.uk/blog/index.php/2009/05/hello-world/#comments</comments>
		<pubDate>Wed, 13 May 2009 12:17:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.concurrentdevelopment.co.uk/blog/?p=1</guid>
		<description><![CDATA[So, I start our blog off with what will hopefully be a useful tip for anyone else who comes across this problem. Certain projects within Visual Studio 2008 would not allow me to debug. I could attempt this either through pressing F5 or through attaching to the already running project via ctrl-alt-p, but the result [...]]]></description>
			<content:encoded><![CDATA[<p>So, I start our blog off with what will hopefully be a useful tip for anyone else who comes across this problem.</p>
<p>Certain projects within Visual Studio 2008 would not allow me to debug. I could attempt this either through pressing F5 or through attaching to the already running project via ctrl-alt-p, but the result would be the same &#8211; Visual Studio would hang. Killing the devenv process would be the inevitable next step.</p>
<p>I stumbled upon <a title="Visual Studio 2008 SP1 hangs during debugging" href="http://social.microsoft.com/Forums/en-US/vsdebug/thread/82ffab71-da4f-446b-8fe4-d2a5be13dbaf">this solution</a> when frantically trying to sort this out. Bingo!</p>
<p>Without wishing to tread on <a href="http://social.microsoft.com/Forums/en-US/user?user=Sedge.Rev">Sedge.Rev</a>&#8216;s toes, here is a step by step method to fix the problem.</p>
<ol>
<li>Using a text editor (Notepad, Context etc&#8230;) open the .csproj file for the offending web project and find the ProjectGuid node (around line 5).</li>
<li>Generate a new guid &#8211; my preferred method is using command line sql (obviously only works if you&#8217;ve got SQL)
<pre><code>sqlcmd -E -Q "select newid()"</code></pre>
<p>though I&#8217;ve just discovered this <a title="Online Guid Generator" href="http://www.guidgenerator.com/online-guid-generator.aspx">Online GUID Generator</a> which will probably be where I get them from now.</li>
<li>Search for the guid from step 1. and replace with the guid from step 2. in the .csproj and .sln files for that solution.</li>
</ol>
<p>Open Visual Studio, load the project / solution and no more debug problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.concurrentdevelopment.co.uk/blog/index.php/2009/05/hello-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

