<?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>florianb.net &#187; Visual Studio</title>
	<atom:link href="http://blog.florianb.net/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.florianb.net</link>
	<description>${just go with the flo(w)}</description>
	<lastBuildDate>Tue, 25 May 2010 20:28:58 +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>Loading projects in Visual Studio using the Shared Profile feature in Parallels</title>
		<link>http://blog.florianb.net/2009/10/31/loading-projects-in-visual-studio-using-the-shared-profile-feature-in-parallels/</link>
		<comments>http://blog.florianb.net/2009/10/31/loading-projects-in-visual-studio-using-the-shared-profile-feature-in-parallels/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 23:11:38 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.florianb.net/?p=6</guid>
		<description><![CDATA[I recently came across a strange problem when setting up my Windows machine using Parallels on my Macbook. I recently bought a Macbook and do all my development stuff using Parallels to host a virtual windows machine. I have 2 virtual machines running, one Windows XP box and one Windows 2008 Server box which is my [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a strange problem when setting up my Windows machine using <a style="color: #7ace11;" href="http://www.parallels.com/" onclick="pageTracker._trackPageview('/outgoing/www.parallels.com/?referer=');">Parallels</a> on my Macbook. I recently bought a Macbook and do all my development stuff using Parallels to host a virtual windows machine. I have 2 virtual machines running, one Windows XP box and one Windows 2008 Server box which is my main develeopment machine. However, the problem occurred on both machines</p>
<p><strong>Scenario:</strong></p>
<p>As I said, the set-up was fine and installing all necessary tools like Visual Studio 2008 and the rest of my development stack was no problem at all. The problem was to get my &#8220;dev&#8221; folder with all my projects and source code libraries on to the virtual machine. The first choice for me was to use the &#8220;Shared Profile&#8221; feature in Parallels. I hate having file on multiple locations and I haven&#8217;t found a free subversion client for Mac OSx so far.</p>
<p><img style="max-width: 800px;" src="http://blog.florianb.net/wp-content/uploads/2009/10/1.png" alt="" width="672" height="549" /></p>
<p>If you enable Shared Profile in the Parallels settings, your existing profile on the Mac gets mapped to the virtual windows machine (same works for normal folders on the mac via Shared Folders), allowing you to have just one folder where you store all your stuff like photos, documents and yes, source code as well. I wanted to be able to have my projects available on my Mac as well so I could use for example Espresso to do some of the html/css work on my Mac while all the hardcore C# coding happens on my virtual machine in Visual Studio. Now the problem was when I tried to open one of my Projects, I got the following error message:</p>
<p><img style="max-width: 800px;" src="http://blog.florianb.net/wp-content/uploads/2009/10/21.png" alt="" /></p>
<p>Basically the problem is, that the source folder is effectively on a network share aka my Macbook. Now this network share by default is a not trusted location so Visual Studio won&#8217;t load my solution. Every folder on that share was marked as being in the &#8220;Internet&#8221; zone thus a not trusted location.</p>
<p><strong>Solution:</strong></p>
<p><span style="line-height: 26px;">Well, there is already a great posts about <a style="color: #7ace11;" href="http://blogs.imeta.co.uk/sstrong/archive/2009/01/29/589.aspx" onclick="pageTracker._trackPageview('/outgoing/blogs.imeta.co.uk/sstrong/archive/2009/01/29/589.aspx?referer=');">how to solve the trusted location problem</a> and after reading it and also reading some in depth stuff about <a style="color: #7ace11;" href="http://msdn.microsoft.com/en-us/library/cb6t8dtz%28VS.80%29.aspx" onclick="pageTracker._trackPageview('/outgoing/msdn.microsoft.com/en-us/library/cb6t8dtz_28VS.80_29.aspx?referer=');">Caspol.exe</a> (Code Access Security Policy Tool) and <a style="color: #7ace11;" href="http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx" onclick="pageTracker._trackPageview('/outgoing/blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx?referer=');">how to fully trust a share</a>, guess what: It didn&#8217;t work. Same error message, same problem. After hours and hours of fiddling around with caspol and the security settings I finally found the solution.</span></p>
<p style="line-height: 26px;">The trick is to simply add the share on my Macbook to the trusted sites in the &#8220;Local intranet&#8221; zone. This can be done in the Internet Explorer settings:</p>
<p style="line-height: 26px;"><img style="max-width: 800px;" src="http://blog.florianb.net/wp-content/uploads/2009/10/3.png" alt="" /></p>
<p style="line-height: 26px;"><img style="max-width: 800px;" src="http://blog.florianb.net/wp-content/uploads/2009/10/4.png" alt="" /></p>
<p style="line-height: 26px;">
<p style="line-height: 26px;">After I&#8217;ve added my share to the local intranet zone my share and the content appeared as being in the &#8220;Local intranet&#8221; zone. Loading projects from my Macbook share in Visual Studio works like charm! <img src='http://blog.florianb.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.florianb.net/2009/10/31/loading-projects-in-visual-studio-using-the-shared-profile-feature-in-parallels/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

