<?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>Codepolice.net &#187; visual studio</title>
	<atom:link href="http://codepolice.net/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://codepolice.net</link>
	<description>C#, ASP.NET, MVC, LINQ, Wordpress and stuff like that</description>
	<lastBuildDate>Mon, 26 Jul 2010 08:58:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Metalscroll makes the scrollbar in Visual Studio awesome!</title>
		<link>http://codepolice.net/2010/03/20/metalscroll-makes-the-scrollbar-in-visual-studio-awesome/</link>
		<comments>http://codepolice.net/2010/03/20/metalscroll-makes-the-scrollbar-in-visual-studio-awesome/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 11:18:04 +0000</pubDate>
		<dc:creator>Ola</dc:creator>
				<category><![CDATA[visual studio]]></category>
		<category><![CDATA[add-on]]></category>
		<category><![CDATA[metalscrool]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://codepolice.net/?p=250</guid>
		<description><![CDATA[Today i decided to look through tweets a favorited the last couple of month and one of the tweets I favorited was about a small add-on to Visual Studio called Metalscroll. Metalscroll basically make your scrollbar alot mor intersting. It&#8217;s kind of hard to describe but a picture says more then 1000 word so have [...]]]></description>
			<content:encoded><![CDATA[<p>Today i decided to look through tweets a favorited the last couple of month and one of the <a href="http://twitter.com/shanselman/status/7396991327">tweets</a> I favorited was about a small add-on to Visual Studio called <a href="http://code.google.com/p/metalscroll/">Metalscroll</a>. Metalscroll basically make your scrollbar alot mor intersting. It&#8217;s kind of hard to describe but a picture says more then 1000 word so have a look at this. Click on it to get it in full size.</p>
<p><a href="http://codepolice.net/wp-content/uploads/2010/03/Metalscroll.png"><img class="aligncenter size-full wp-image-251" title="Metalscroll" src="http://codepolice.net/wp-content/uploads/2010/03/Metalscroll.png" alt="" width="486" height="224" /></a></p>
<p>What you see to the right is Metalscroll. It&#8217;s kind of a thumbnail view of all the sourcecode in the file you currently have open. And that is maybe not that usefull since you can&#8217;t see anything. But there&#8217;s more. if you have any breakpoints in the file you see that as small red block in Metalscroll. Bookmarks turns up as small blue blocks. If you hold down the alt-key and double click a word you see all occurences of that word as small orange blocks in Metalscrool, just press ESC to remove the highlight for this word. Simply awesome!</p>
<p>You can also click with the middle mouse button in Metalscrol  to get a zoomed in view of the code on that location. Well .. it&#8217;s a really neat little add-on that makes Visual Studio even more awesome then it is out of the box. Hopefully it will work with Visual Studio 2010 also!</p>
]]></content:encoded>
			<wfw:commentRss>http://codepolice.net/2010/03/20/metalscroll-makes-the-scrollbar-in-visual-studio-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with MSBUILD tasks after playing with Visual Studio 2010</title>
		<link>http://codepolice.net/2010/02/22/problems-with-msbuild-tasks-after-playing-with-visual-studio-2010/</link>
		<comments>http://codepolice.net/2010/02/22/problems-with-msbuild-tasks-after-playing-with-visual-studio-2010/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:16:46 +0000</pubDate>
		<dc:creator>Ola</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[visual studio 2010]]></category>
		<category><![CDATA[vs2010]]></category>

		<guid isPermaLink="false">http://codepolice.net/?p=225</guid>
		<description><![CDATA[I use a custom MSBUILD xml file to build some of my projects so that i can run stuff to compress CSS/JS files and stuff like that. After installing Visual Studio 2010 and playing around a bit with suddenly my builds started to fail. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets(132,11): error MSB4064: The "Retries" parameter is not supported [...]]]></description>
			<content:encoded><![CDATA[<p>I use a custom MSBUILD xml file to build some of my projects so that i can run stuff to compress CSS/JS files and stuff like that. After installing Visual Studio 2010 and playing around a bit with suddenly my builds started to fail.</p>
<pre class="brush:shell">C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets(132,11):
error MSB4064: The "Retries" parameter is not supported by the "Copy" task. Verify the parameter exists on the task, and it is a settable public instance property.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets(130,5):
error MSB4063: The "Copy" task could not be initialized with its input parameters.</pre>
<p>After some debugging i realized that Visual Studio 2010 had changed a line in the csproj file of my web application project.</p>
<p><strong>From: </strong></p>
<p><strong>To: </strong></p>
<p>I just had to change this line back to v9.0 to get it to work again. Hopefully this can help someone that has the same problem as me.</p>
<h3>UPDATE!</h3>
<p>Now when the RTM of Visual Studio was released i of course ran into this problem again. This time i tried to find a better solution and found this <a href="http://devlicio.us/blogs/derik_whittaker/archive/2010/02/27/issues-compiling-vs2010-solutions-with-web-projects-from-nant.aspx">post on devlicio</a>. In the comments to that post i found a solution that worked great for me.</p>
<blockquote><p>I had the same issue. I had to alter the MSbuild WebApplication file  located: C:\Program Files  (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications and remove  these entries.</p>
<p>Retries=&#8221;$(CopyRetryCount)&#8221;</p>
<p>and          RetryDelayMilliseconds=&#8221;$(CopyRetryDelayMilliseconds)&#8221;</p>
<p>Once both of these were removed (in 13 places) everything worked  fine. Hope it helps you too.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://codepolice.net/2010/02/22/problems-with-msbuild-tasks-after-playing-with-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quick attach to process in Visual Studio</title>
		<link>http://codepolice.net/2009/09/01/quick-attach-to-process-in-visual-studio/</link>
		<comments>http://codepolice.net/2009/09/01/quick-attach-to-process-in-visual-studio/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 09:09:47 +0000</pubDate>
		<dc:creator>Ola</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[attach]]></category>
		<category><![CDATA[macro]]></category>

		<guid isPermaLink="false">http://codepolice.net/?p=162</guid>
		<description><![CDATA[When i debug web applications i like to go with the attach to process instead of pressing F5 when i use IIS as the development web server. It has lot of advantages: If you are &#8220;deep down&#8221; in your application you do not have to start from the beginning again. Attach to process lets you [...]]]></description>
			<content:encoded><![CDATA[<p>When i debug web applications i like to go with the <strong>attach to process</strong> instead of pressing F5 when i use IIS as the development web server. It has lot of advantages:</p>
<ul>
<li>If you are &#8220;deep down&#8221; in your application you do not have to start from the beginning again. Attach to process lets you debug the tab/window you already using.</li>
<li>When you &#8220;press play&#8221; in VS and have Firefox as the default search engine you Visual Studio opens a new tab each time you start and you end up with X number of tabs with your app.</li>
<li>Probably more that i can&#8217;t think of right now.</li>
</ul>
<p>Anyway the big disadvantage with this is that it is a pretty tedious process to attach to a process.</p>
<ul>
<li>Press <strong><em>ctrl-alt-p</em></strong> to bring up the attach to process dialog.</li>
<li>Scroll down to w3wp.exe and &#8220;attach&#8221; it. For some reason it doesn&#8217;t work to press &#8220;w&#8221; here either so you have to scroll down manually.</li>
<li>Click ok and then you have to confirm that you really have to do it.</li>
</ul>
<p>I have been doing this for months but today i decided to see if Google had any answer to my problem and surely it did. I found <a href="http://stackoverflow.com/questions/894848/how-can-i-attach-to-a-process-in-visual-studio">this question</a> on Stackoverflow. The answer to the question was to record a macro in Visual Studio that do this for you.</p>
<ul>
<li>Press <strong><em>ctrl-shift-r</em></strong> to start record the Macro.</li>
<li>Do the steps i described above to attach to the process.</li>
<li>Press <strong><em>ctrl-shift-r</em></strong> again to stop the recording.</li>
</ul>
<p>Now you have the attach to process as a temporary macro and can run it with <strong><em>ctrl-shift-p</em></strong>. You will get an error if you try to run it when you already attach to a process and so on but it work. If you want to you can look for the error 0x8971001E and add DTE.Debugger.Stop(True) in the catch part of the macro.</p>
<p>You can also save the macro and add it to your toolbar, attach your own keyboard shortcut to it and so on. Check out <a href="http://www.switchonthecode.com/tutorials/how-to-configure-and-use-visual-studio-macros">this article about macros</a> on &#8220;Switch on the code&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://codepolice.net/2009/09/01/quick-attach-to-process-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My favorite Visual Studio dark theme</title>
		<link>http://codepolice.net/2009/08/11/my-favorite-visual-studio-dark-theme/</link>
		<comments>http://codepolice.net/2009/08/11/my-favorite-visual-studio-dark-theme/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 07:37:51 +0000</pubDate>
		<dc:creator>Ola</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[dark theme]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[vs]]></category>

		<guid isPermaLink="false">http://codepolice.net/?p=158</guid>
		<description><![CDATA[Every time i reinstall my computer i spend 30 minutes trying to find my favorite dark Visual Studio theme from the web. So i thought i better write about it here so i do not have to look for it again. So for my own pleasure, download the theme here. Link: Rob Conery]]></description>
			<content:encoded><![CDATA[<p>Every time i reinstall my computer i spend 30 minutes trying to find my favorite dark Visual Studio theme from the web. So i thought i better write about it here so i do not have to look for it again. So for my own pleasure, <a href="http://blog.wekeroad.com/2007/10/17/textmate-theme-for-visual-studio-take-2/">download the theme here</a>.</p>
<p><a href="http://codepolice.net/wp-content/uploads/2009/08/codefile.gif"><img class="aligncenter size-full wp-image-159" title="codefile" src="http://codepolice.net/wp-content/uploads/2009/08/codefile.gif" alt="codefile" width="496" height="422" /></a></p>
<p>Link: <a href="http://blog.wekeroad.com/2007/10/17/textmate-theme-for-visual-studio-take-2/">Rob Conery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://codepolice.net/2009/08/11/my-favorite-visual-studio-dark-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publish web application project failed</title>
		<link>http://codepolice.net/2009/01/14/publish-web-application-project-failed/</link>
		<comments>http://codepolice.net/2009/01/14/publish-web-application-project-failed/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 17:58:19 +0000</pubDate>
		<dc:creator>Ola</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[Publish failed]]></category>
		<category><![CDATA[Publish fails]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://www.codepolice.net/?p=133</guid>
		<description><![CDATA[I have had huge problems on various projects with the &#8220;publish&#8221; functionality in Visual Studio 2008. I like the feature, you just click publish, choose a directory and the files that is needed on the webserver is placed in the folder and you can easliy copy it to your server or whatever. The problem with [...]]]></description>
			<content:encoded><![CDATA[<p>I have had huge problems on various projects with the &#8220;publish&#8221; functionality in Visual Studio 2008. I like the feature, you just click publish, choose a directory and the files that is needed on the webserver is placed in the folder and you can easliy copy it to your server or whatever.</p>
<p>The problem with it is that it seems to fail from time to time. The output window gives no clues what so ever what has gone wrong so it&#8217;s kind of hard to debug. When you google it you get all sorts of threads and post about people having problems with this but it seems like it a diffrent solution for it everywhere.</p>
<p>Anyway i gave up and started looking towards MSBUILD and found <a href="http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/">this great post</a> about how to simulate the behavior of the publish feature with MSBUILD. You just create a Build.xml file and then you run msbuild.exe build.xml. My Build.xml file looks like this.</p>
<div class="codecolorer-container xml twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><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;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;utf-8&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;Project</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;</span> <span style="color: #000066;">DefaultTargets</span>=<span style="color: #ff0000;">&quot;Run&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Import</span> <span style="color: #000066;">Project</span>=<span style="color: #ff0000;">&quot;C:\Program Files\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <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;OutputFolder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Publish<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/OutputFolder<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;ProjectDir<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>C:\code\<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ProjectDir<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CompilationDebug</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CustomErrorsMode</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ContentEditorsEmail</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;AdministratorsEmail</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <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; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;PropertyGroup</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">&quot;$(Environment) == 'Test'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;DeploymentFolder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>C:\Staging\Test<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/DeploymentFolder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <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; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;PropertyGroup</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">&quot;$(Environment) == 'Live'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;DeploymentFolder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>C:\Staging\Live<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/DeploymentFolder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <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 />
<br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;Run&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CallTarget</span> <span style="color: #000066;">Targets</span>=<span style="color: #ff0000;">&quot;Compile&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;CallTarget</span> <span style="color: #000066;">Targets</span>=<span style="color: #ff0000;">&quot;Publish&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;Clean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ItemGroup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;BinFiles</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;bin\*.*&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ItemGroup<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;Delete</span> <span style="color: #000066;">Files</span>=<span style="color: #ff0000;">&quot;@(BinFiles)&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;Compile&quot;</span> <span style="color: #000066;">DependsOnTargets</span>=<span style="color: #ff0000;">&quot;Clean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;MSBuild</span> <span style="color: #000066;">Projects</span>=<span style="color: #ff0000;">&quot;myproject.csproj&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;Publish&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;RemoveDir</span> <span style="color: #000066;">Directories</span>=<span style="color: #ff0000;">&quot;$(OutputFolder)&quot;</span> <span style="color: #000066;">ContinueOnError</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;MSBuild</span> <span style="color: #000066;">Projects</span>=<span style="color: #ff0000;">&quot;myproject.csproj&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">Targets</span>=<span style="color: #ff0000;">&quot;ResolveReferences;_CopyWebApplication&quot;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">Properties</span>=<span style="color: #ff0000;">&quot;WebProjectOutputDir=$(OutputFolder);OutDir=$(WebProjectOutputDir)\&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Project<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>This works great for me for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://codepolice.net/2009/01/14/publish-web-application-project-failed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->