<?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>PGS Software &#187; visual studio</title>
	<atom:link href="http://www.pgs-soft.com/tag/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pgs-soft.com</link>
	<description>Nearshore Outsourcing IT Company - Offshore Development</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:54:59 +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>Web Deployment Project &#8211; Visual Studio 2008 Add-in</title>
		<link>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html</link>
		<comments>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 10:50:40 +0000</pubDate>
		<dc:creator>mstankala</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[AfterBuild]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[BeforeBuild]]></category>
		<category><![CDATA[merging assemblies]]></category>
		<category><![CDATA[pluggable configuration files]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[WebDeploymentProject]]></category>
		<category><![CDATA[WebDeploymentSetup]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=3174</guid>
		<description><![CDATA[Visual Studio Web Deployment Projects, provide additional functionality to build and deploy Web sites and Web applications in Visual Studio 2008. This Add-In can be downloaded from Microsoft website: Web Deployment Projects. The Visual Studio built-in &#8220;Copy Website&#8221; and &#8220;Publish Website&#8221; options are lacking of flexibility. Web Deployment Projects provides additional functionality for example: - [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fwebdeploymentsetup-visual-studio-2008-add-in.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fwebdeploymentsetup-visual-studio-2008-add-in.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.pgs-soft.com/wp-content/uploads/2010/02/webdeploymentproject.jpg"><img src="http://www.pgs-soft.com/wp-content/uploads/2010/02/webdeploymentproject.jpg" alt="webdeploymentproject" width="420" class="aligncenter size-full wp-image-3176" /></a></p>
<p>Visual Studio Web Deployment Projects, provide additional functionality to build and deploy Web sites and Web applications in Visual Studio 2008. This Add-In can be downloaded from Microsoft website: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en">Web Deployment Projects</a>.</p>
<p>The Visual Studio built-in &#8220;Copy Website&#8221; and &#8220;Publish Website&#8221; options are lacking of flexibility. Web Deployment Projects provides additional functionality for example:<br />
- merging assemblies (from context menu)<br />
- the ability to create pluggable configuration files (from context menu)<br />
- exclude files and folders (*.wdproj file in deployment project)</p>
<p><strong>When merging assemblies</strong> you can specify to get only <strong>1 result DLL</strong>, instead of multiple when using &#8220;Publish web site&#8221;.<br />
Second thing is, that you can <strong>define a strong name of result DLL</strong> file which means, that it will be easier to updates the web site on the webserver &#8211; just replacing the DLL, instead of deleting all assemblies with *.compiled XMLs and copying new ones (can be hundreds). So you don&#8217;t have to carry about the &#8220;strange&#8221; assemblies file names (with the hash code varying) like: App_Web_0375kxso.dll, etc.</p>
<p>Ability to create <strong>pluggable configuration files</strong> allows you to specify independent files, that store the contents of a particular configuration section independently, based on solution configurations. That means for example, that the Web.config  section will include <strong>different database connectionString for Debug and Release</strong>, or any other user specified solution configuration.</p>
<p>You can also <strong>exclude files and folders</strong> that shouldn&#8217;t be part of the release, e.g: reports, uploaded files, etc.</p>
<p>Finally the *.wdproj configuration file has a MSBuild syntax, so you can specify there whatever you want. <strong>Out of the box</strong> there are 4 build process sections: <strong>BeforeBuild, BeforeMerge, AfterMerge, AfterBuild</strong>, where you can specify your tasks.</p>
<p><strong>The detailed description of the Web Deployment Projects</strong> can be found <a href="http://msdn.microsoft.com/en-us/magazine/cc163448.aspx">HERE</a>.<br />
*********************************************************<br />
Find below some of my *.<strong>wdproj configuration examples</strong>:</p>
<p><strong>Exclude directory</strong>:<br />
<code style="font-size:11px">&lt;ItemGroup&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\_svn\**" /&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\.svn\**" /&gt;<br />
&lt;/ItemGroup&gt;<br />
</code></p>
<p><strong>Exclude directory except specified file</strong>:<br />
<code style="font-size:11px">&lt;ItemGroup&gt;<br />
&lt;ExcludeFromBuild Include="$(SourceWebPhysicalPath)\ChartImages\**\*.*" Exclude="$(SourceWebPhysicalPath)\ChartImages\**\place.holder" /&gt;<br />
&lt;/ItemGroup&gt;<br />
</code></p>
<p><strong>Minimize (shrink) JavaScript files using Microsoft Ajax Minifier</strong> <a href="http://gasior.net.pl/2009/11/30/kurczymy-skrypty-javascript-microsoft-ajax-minifier/">(based on Łukasz Gąsior blog</a>):<br />
<code style="text-align:left;font-size:9px">&lt;Import Project="$(MSBuildExtensionsPath)\Microsoft\MicrosoftAjax\AjaxMin.tasks" /&gt;<br />
&lt;Target Name="AfterBuild"&gt;<br />
&lt;ItemGroup&gt;<br />
&lt;!-- Create the list of JS files to minimize. Exclude *.min.js files, e.g. jquery-xxx.min.js --&gt;<br />
 &lt;JsFilesDevelopment Include="$(OutputPath)\**\*.js" Exclude="$(OutputPath)\**\*.min.js" /&gt;<br />
&lt;/ItemGroup&gt;<br />
&lt;!-- Minimize the JavaScript using AjaxMin  --&gt;<br />
&lt;AjaxMin SourceFiles="@(JsFilesDevelopment)" SourceExtensionPattern="\.js$" TargetExtension=".js" LocalRenaming="CrunchAll" /&gt;<br />
&lt;/Target&gt;<br />
</code></p>
<p>*********************************************************</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html#comments">Comments (1)</a> - originally posted here <a href="http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html">http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html' rel='bookmark' title='Permanent Link: Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010'>Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010</a></li>
<li><a href='http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 .NET 4.0 (Beta 1)'>Visual Studio 2010 .NET 4.0 (Beta 1)</a></li>
<li><a href='http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 Beta 2 and Ajax Library'>Visual Studio 2010 Beta 2 and Ajax Library</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 Beta 2 and Ajax Library</title>
		<link>http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html</link>
		<comments>http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html#comments</comments>
		<pubDate>Tue, 20 Oct 2009 14:00:35 +0000</pubDate>
		<dc:creator>Marcin Stawarz</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2635</guid>
		<description><![CDATA[Visual Studio 2010 is available for download for MSDN subscribers and in a few days it should be available for everybody. http://weblogs.asp.net/scottgu/archive/2009/10/19/vs-2010-and-net-4-0-beta-2.aspx Also Ajax Library Preview 6 is available for download. http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34488 Have fun! Copyright &#169; 2004 - 2010 by PGS Software Comments (0) - originally posted here http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html Related postsVisual Studio 2010 .NET 4.0 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fvisual-studio-2010-beta-2-and-ajax-library.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fvisual-studio-2010-beta-2-and-ajax-library.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Visual Studio 2010 is available for download for MSDN subscribers and in a few days it should be available for everybody.</p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2009/10/19/vs-2010-and-net-4-0-beta-2.aspx">http://weblogs.asp.net/scottgu/archive/2009/10/19/vs-2010-and-net-4-0-beta-2.aspx</a></p>
<p>Also Ajax Library Preview 6 is available for download.</p>
<p><a href="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34488">http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34488</a></p>
<p>Have fun!</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html">http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 .NET 4.0 (Beta 1)'>Visual Studio 2010 .NET 4.0 (Beta 1)</a></li>
<li><a href='http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html' rel='bookmark' title='Permanent Link: Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010'>Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010</a></li>
<li><a href='http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html' rel='bookmark' title='Permanent Link: Web Deployment Project &#8211; Visual Studio 2008 Add-in'>Web Deployment Project &#8211; Visual Studio 2008 Add-in</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 .NET 4.0 (Beta 1)</title>
		<link>http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html</link>
		<comments>http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html#comments</comments>
		<pubDate>Thu, 21 May 2009 10:58:29 +0000</pubDate>
		<dc:creator>Marcin Stawarz</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2533</guid>
		<description><![CDATA[Yes, there is new Beta 1 version of Visual Studio avaliable for download. You can download it here. The whole IDE has been refreshed. It has been built on WPF and it will be much more extensible which, I hope, will benefit in the future with some nice and handy third party solutions and extensions. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Fvisual-studio-2010-net-4-0-beta-1.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Fvisual-studio-2010-net-4-0-beta-1.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Yes, there is new Beta 1 version of Visual Studio avaliable for download. You can download it <a href="http://blogs.msdn.com/jasonz/archive/2009/05/18/announcing-vs2010-net-framework-4-0-beta-1.aspx">here</a>.</p>
<p>The whole IDE has been refreshed. It has been built on WPF and it will be much more extensible which, I hope, will benefit in the future with some nice and handy third party solutions and extensions.</p>
<p>There are a lot of cool features introduced. If you want to learn more I recommend nice, detailed and full of screen shots blog entry from Jason Zender.</p>
<p><a href="http://blogs.msdn.com/jasonz/archive/2009/05/18/announcing-vs2010-net-framework-4-0-beta-1.aspx">http://blogs.msdn.com/jasonz/archive/2009/05/18/announcing-vs2010-net-framework-4-0-beta-1.aspx</a></p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html">http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/visual-studio-2010-beta-2-and-ajax-library.html' rel='bookmark' title='Permanent Link: Visual Studio 2010 Beta 2 and Ajax Library'>Visual Studio 2010 Beta 2 and Ajax Library</a></li>
<li><a href='http://www.pgs-soft.com/manycore-and-the-microsoft-net-framework-4-a-match-made-in-microsoft-visual-studio-2010.html' rel='bookmark' title='Permanent Link: Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010'>Manycore and the Microsoft .NET Framework 4: A Match Made in Microsoft Visual Studio 2010</a></li>
<li><a href='http://www.pgs-soft.com/webdeploymentsetup-visual-studio-2008-add-in.html' rel='bookmark' title='Permanent Link: Web Deployment Project &#8211; Visual Studio 2008 Add-in'>Web Deployment Project &#8211; Visual Studio 2008 Add-in</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/visual-studio-2010-net-4-0-beta-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
