<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>vs2008 &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/vs2008/</link>
	<description>Feed of posts on WordPress.com tagged "vs2008"</description>
	<pubDate>Mon, 28 Dec 2009 15:26:13 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Adding double quote in NAnt task]]></title>
<link>http://minalabib.wordpress.com/2009/12/18/adding-double-quote-in-nant-task/</link>
<pubDate>Fri, 18 Dec 2009 19:49:14 +0000</pubDate>
<dc:creator>Mina  Labib</dc:creator>
<guid>http://minalabib.wordpress.com/2009/12/18/adding-double-quote-in-nant-task/</guid>
<description><![CDATA[I was struggling this morning with issue in simple NAnt script, I was trying to uses &lt;exec&gt; ta]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I was struggling this morning with issue in simple NAnt script, I was trying to uses &#60;exec&#62; task to call msbuild tool. </p>
<p>Ok quick brief on the issue, <a title="NAnt 0.86 Beta 1" href="http://nant.sourceforge.net/release/0.86-beta1/help/" target="_blank">NAnt 0.86 Beta 1</a> does not able to run its <a title="NAntContib - Solution" href="http://nant.sourceforge.net/release/0.86-beta1/help/tasks/solution.html" target="_blank">solution</a> task to build Microsoft Visual Studio solutions against Visual Studio 2008 solution files, however it can build solution for .NET 3.5 Framework. so I found two solutions –till now-, both of them are using <a title="MSBuild - MSDN" href="http://msdn.microsoft.com/en-us/library/wea2sca5.aspx" target="_blank">MSBuild</a> tool to build my solution with two different ways; first one is to use <a title="NAntConrib website" href="http://nantcontrib.sourceforge.net/" target="_blank">NAntContrib</a> as extension for NAnt and use its <a title="NAntContrib - msbuild" href="http://nantcontrib.sourceforge.net/release/0.85-rc4/help/tasks/msbuild.html" target="_blank">msbuild</a> task to fire msbuild tool – I did not try that yet –, and the other one is to use NAnt <a title="NAnt - exec" href="http://nant.sourceforge.net/release/latest/help/tasks/exec.html" target="_blank">exec</a> task to call msbuild tool and throw to it my solution file as parameter; and while I am try that I found issue, I need to add /p:Platform=”Any CPU” as msbuild command switch but how to add double quote to task attributes, it fails if I wrote:</p>
<pre class="code"><span style="color:blue;">&#60;</span><span style="color:#a31515;">exec </span><span style="color:red;">program</span><span style="color:blue;">=</span>&#34;<span style="color:blue;">${framework::get-framework-directory
      (framework::get-target-framework())}\msbuild.exe</span>&#34;
      <span style="color:red;">commandline</span><span style="color:blue;">=</span>&#34;<span style="color:blue;">mysolution.sln /p:Platform=”Any CPU”</span>&#34;<span style="color:blue;">/&#62;</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Fortunately, I found nice simple <a title="Passing double/single quote in Nant task" href="http://jingyeluo.blogspot.com/2005/10/passing-doublesingle-quote-in-nant.html" target="_blank">post</a> to solve this issue by adding property to NAnt script with double quote as value and use it in my command as following:</p>
<pre class="code"><span style="color:blue;">&#60;</span><span style="color:#a31515;">property </span><span style="color:red;">name</span><span style="color:blue;">=</span>&#34;<span style="color:blue;">dbl_quote</span>&#34; <span style="color:red;">value</span><span style="color:blue;">=</span>'<span style="color:blue;">&#34;</span>'<span style="color:blue;">/&#62;
&#60;</span><span style="color:#a31515;">exec </span><span style="color:red;">program</span><span style="color:blue;">=</span>&#34;<span style="color:blue;">${framework::get-framework-directory
      (framework::get-target-framework())}\msbuild.exe</span>&#34;
      <span style="color:red;">commandline</span><span style="color:blue;">=</span>&#34;<span style="color:blue;">mysolution.sln
      /p:Platform=”${dbl_quote}Any CPU${dbl_quote}</span>&#34;<span style="color:blue;">/&#62;</span></pre>
<p><a href="http://11011.net/software/vspaste"></a>It is nice and quick solution.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Mercurial, VisualHG and Visual Studio 2008 together]]></title>
<link>http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-studio-2008-together/</link>
<pubDate>Wed, 16 Dec 2009 21:48:48 +0000</pubDate>
<dc:creator>jat45</dc:creator>
<guid>http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-studio-2008-together/</guid>
<description><![CDATA[There is a strong desire in our group to move towards distributed version control systems specifical]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>There is a strong desire in our <a href="http://wwmm.ch.cam.ac.uk/wikis/wwmm/index.php/Main_Page">group</a> to move towards <a href="http://en.wikipedia.org/wiki/Distributed_revision_control">distributed version control systems</a> specifically <a href="http://mercurial.selenic.com/">mercurial</a>. As I spend most of my time working on the <a href="http://research.microsoft.com/en-us/projects/chem4word/">Chemistry Add-in for Word 2007</a> (Chem4Word) I have been using Visual Studio 2008. This doesn&#8217;t come with source control support out of the box &#8211; but you can (and we have) added on team foundation server support but this isn&#8217;t distributed and quite frankly sucked.</p>
<p>I have spent the last couple of days investigating other options and having got a good solution up and running thought I should share this with the world. This definitely isn&#8217;t meant to be an introduction to mercurial in general and I won&#8217;t be explaining all the terms (good intros are available from the <a href="http://mercurial.selenic.com/">mercurial website</a> and elsewhere). I will be giving both command line and GUI instructions.</p>
<h2>Installing VisualHG</h2>
<p>The instructions on the <a href="http://sharesource.org/project/visualhg/wiki/">VisualHG</a> site are pretty good &#8211; but you only need to go through the first three. Basically you need to download and install <a href="http://tortoisehg.bitbucket.org/">TortoiseHg</a> and then VisualHG.</p>
<p>Next make VisualHG the current active Source Control Plugin in Visual Studio 2008. <em><strong>&#60;Tools&#62; -&#62; &#60;Options&#62;</strong></em> -&#62; <em><strong>&#60;Source Control&#62;</strong></em>. Set the value of the drop-down list (Current Source Control plug-in) to <em><strong>&#60;VisualHG&#62;</strong></em>.</p>
<h2>How to create a new repository and add it to source control</h2>
<p>Open Visual Studio 2008 and create a new solution (in my case I went for a Console Application called <code>cs-walkthrough</code> under <code>C:\projects\c#</code> and I didn&#8217;t want a new directory for the solution)</p>
<p>In a command window change directory so you are in <code>cs-walkthrough</code>.</p>
<p><code>&#62;hg init</code></p>
<p>this will create the <code>.hg</code> directory</p>
<p>create a file called <code>.hgignore</code> as a sibling of the <code>.hg</code> directory the contents of the file should be:<br />
<code><br />
</code></p>
<blockquote><p>syntax: glob</p>
<p>*.csproj.user<br />
obj/<br />
bin/<br />
*.ncb<br />
*.suo<br />
_ReSharper.*<br />
*.resharper.user</p></blockquote>
<p>Create a project on <a href="http://bitbucket.org">bitbucket</a> with the same name as the solution (doesn&#8217;t have to be but will make things easier). So in this case I now have a publicly viewable repository on bitbucket <code>http://bitbucket.org/jat45/cs-walkthrough</code>.</p>
<p>Now create a file called <code>hgrc</code> under the <code>.hg</code> directory. This file should contain the following text:</p>
<blockquote><p>[paths]<br />
default = http://bitbucket.org/jat45/cs-walkthrough</p>
<p>[ui]<br />
username = Joe Townsend</p></blockquote>
<p>where <code>jat45</code> should be replaced with your bitbucket id and <code>cs-walkthrough</code> should be replaced by the name of the bitbucket repository you just created.</p>
<p>From here on in you can do everything either from the command line or from within Visual Studio. I will give both commands (to access the VisualHG commands right-click on any of the files in the solution). All the command line commands should be run from the <code>[cs-walkthrough]</code> directory.<br />
<code><br />
&#62;hg status</code></p>
<p style="text-align:center;"><img class="size-full wp-image-41 aligncenter" title="hg-status-1" src="http://jat45.wordpress.com/files/2009/12/hg-status-1.jpg" alt="hg status from the command line" width="312" height="101" /></p>
<p>or <code>&#60;HG status&#62;</code> from VisualHG</p>
<p style="text-align:center;"><img class="size-full wp-image-42 aligncenter" title="hg-status-visual-1" src="http://jat45.wordpress.com/files/2009/12/hg-status-visual-1.jpg" alt="hg status from VisualHG" width="450" height="197" /></p>
<p>We want all these files under source control so either use</p>
<p><code>&#62;hg add</code><br />
or select all the files from the GUI and click <code>Add</code> then close the window</p>
<p>To commit these additions either use<br />
<code>&#62;hg commit -m "initial commit"</code><br />
or commit using <code>&#60;HG Commit&#62;</code></p>
<p>Now push these changes to bitbucket</p>
<p><code>&#62;hg push</code><br />
or <code>&#60;HG Synchronize&#62;</code>(this will allow you to push, pull and see the incoming and outgoing changes).</p>
<h3>Warning</h3>
<p>Before committing or pushing changes you <strong><em>must</em></strong> make sure you build the solution first. This ensures that the <code>[project].csproj</code> file is correctly updated.</p>
<h2>Getting an existing project</h2>
<p>This is much easier than creating a new repository from scratch. Once again though we are back to the command line.</p>
<p>Change directory to the parent of where you would like the new project repository to be checked out to. In my case this is <code>c:\projects\c#</code>.</p>
<p>I am now going to get a clone of the cs-walkthough code from bitbucket but put it in a new location.</p>
<p><code>c:\projects\c#&#62;hg clone http://bitbucket.org/jat45/cs-walkthrough my-new-source-dir</code></p>
<p>You can use the same command because the project is public so you can access the source code but not commit.</p>
<p>So I think that is it. You can do all the usual, push, pull, diff and so on either from the command line or from the VisualHG add-in. The one only thing that must be done from the command line is the initial <code>clone</code> or <code>init</code>. I am also investigating if everything works in VS2010 &#8211; so far no problems but if I run into any I will update you.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Steps to enable NAnt intellisense in Visual Studio]]></title>
<link>http://minalabib.wordpress.com/2009/12/16/steps-to-enable-nant-intellisense-in-visual-studio/</link>
<pubDate>Wed, 16 Dec 2009 17:26:42 +0000</pubDate>
<dc:creator>Mina  Labib</dc:creator>
<guid>http://minalabib.wordpress.com/2009/12/16/steps-to-enable-nant-intellisense-in-visual-studio/</guid>
<description><![CDATA[NAnt is helpful, open source, and free tool for automated .NET-build process, same as Ant but it is ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>NAnt is helpful, open source, and free tool for automated .NET-build process, same as Ant but it is targeting .NET frameworks rather than Java, and according to <a title="Wikipedia - NAnt" href="http://en.wikipedia.org/wiki/NAnt" target="_blank">Wikipedia</a> the name NAnt is coming from Not Ant <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>NAnt allows you to build a script (XML Script) configuring tasks and dependencies with reach NAnt functions, expressions, data types etc…</p>
<p>Alright, going back to this post purpose; here you are the steps to allow NAnt intellisense in VS 2008 (I believe for other VS versions too) in Windows operating systems.</p>
<ul>
<li>Download Nant binaries or source code from <a title="NAnt website" href="http://nant.sourceforge.net/" target="_blank">here</a>, I will go with latest one NAnt 0.86 Beta 1. </li>
<li>Extract the compressed folder and follow NAnt installation steps as explained <a title="NAnt installtion steps" href="http://nant.sourceforge.net/release/0.86-beta1/help/introduction/installation.html" target="_blank">here</a>. </li>
<li>Copy nant.xsd file from extracted folder (&#60;Base installation directory&#62;\schema\nant.xsd) </li>
<li>Paste this file into XML schema folder in Visual Studio installation directory; it should be as following in x32 bit operating systems (C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas) or (C:\Program Files (x86)\Microsoft Visual Studio 9.0\Xml\Schemas) in x64 bit operating systems. </li>
</ul>
<ul>You should be done now with those steps, do start new NAnt XML script and get use of Intellisense, create new XML file in VS 2008, and in the root node &#60;project&#62; add the attribute xmlns=” now you should see NAnt schema in the drop down list as bellow:</ul>
<ul><img style="display:inline;border-width:0;" title="NAnt01" border="0" alt="NAnt01" src="http://minalabib.files.wordpress.com/2009/12/nant01.png?w=640&#038;h=241" width="640" height="241" /></ul>
<ul>And now you have NAnt XML intellisense enabled in VS 2008 as bellow:</ul>
<ul><img style="display:inline;border-width:0;" title="NAnt02" border="0" alt="NAnt02" src="http://minalabib.files.wordpress.com/2009/12/nant02.png?w=640&#038;h=288" width="640" height="288" />&#160; </ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[First tryst with .Net]]></title>
<link>http://akmanocha.wordpress.com/2009/12/07/first-tryst-with-net/</link>
<pubDate>Mon, 07 Dec 2009 09:09:11 +0000</pubDate>
<dc:creator>akmanocha</dc:creator>
<guid>http://akmanocha.wordpress.com/2009/12/07/first-tryst-with-net/</guid>
<description><![CDATA[Disclaimer in the beginning itself : I am a java professional basically and Java J2EE and RDBMS is m]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Disclaimer in the beginning itself : I am a java professional basically and Java J2EE and RDBMS is my bread and butter.</p>
<p>Still, in the due course of time and out of passion for different programming languages, to gain versatility, and because of mood swings I get rather frequently than rarely, I have a fair bit of flair for PHP, Ruby, Python et al&#8230;</p>
<p>C and C++ was my introduction to programming language world, some 10 years back, but never got chance to work extensively on those. Had C# basic knowledge as such, but nothing concrete again. That sums up .Net.</p>
<p>But recently got into the project which has its backend in Java and client written in C#. Want to take full use of technologies.</p>
<p>Intsalled .Net framework 1.0/2.0 and 3.5 which comes bundled with VS2008. First thing first, being a Eclipse/Idea guy all along, spent my hours making VS too similar to Eclipse for me. Second, I always start a project with &#8220;debug&#8221;. Now I am not aware of the theories regarding whether its right or wrong to do so, but yet this is my modus operandi, so I set sail on my debug journey.</p>
<p>Got my debug working. Found out two-three things in first hour, these are:</p>
<p>1. Just like jars, here the things resolve around dlls.</p>
<p>2. the interface to include those dependencies though are pretty bad.</p>
<p>3. VS is much much slow than Eclipse in my humble opinion. You can say I knew it by birth, but now I can definitely write so too.</p>
<p>4. Strange things happen in .Net world (Pardon me, I have heard that too many times that it has definitely affected my viewpoint). My project was supposed to work from the word &#8220;go&#8221;, but it didn&#8217;t. Got some System.DLLexception: and it was not able to load some DLL we are creating in the project through NAnt.  (It was my first experience with NAnt too, something, a very little tiny thing about that in some other post too.) so, DLL was there. But why the f***, it was not able to load then. Got to know it might be because of some other DLLs which this DLL is dependent on. Fine. I thought I will check that. got to know about dependecnychecker, run it and to my surprise and irritation found that whatever dlls it require are present in my system, their path is already included. What the hack! Then, just it happens, sometimes some idea strikes by lightning, I thought to give VS a restart and viola! (Questions for experts here first: I have seen these kind of things sometime happening with Eclipse too, not with jars, is it VS issue or some crap of .Net?)</p>
<p>5. Shortcuts with VS are so bad, I say.</p>
<p>6. Good learning,  and my learning starts with the DLLimport sort of keywords, already a stuff of intermediate level I guess(other experts can confirm or take me out of my fairy tales)</p>
<p>7. Did learn about setting arguments, setting output directories, Assembly Infos in the first go. first two much like Java, not a big deal!</p>
<p>Hope I will get more insight with already running (although crappy)  code at my disposal.</p>
<p>One last question: What&#8217;s the best framework to embed MVC in window Form applications?</p>
<p>And what the hack is Resharper?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Unable to see default Silverlight control in Toolbox]]></title>
<link>http://littletalk.wordpress.com/2009/12/02/unable-to-see-default-silverlight-control-in-toolbox/</link>
<pubDate>Wed, 02 Dec 2009 00:29:27 +0000</pubDate>
<dc:creator>ken zheng</dc:creator>
<guid>http://littletalk.wordpress.com/2009/12/02/unable-to-see-default-silverlight-control-in-toolbox/</guid>
<description><![CDATA[If you can&#8217;t see default Silverlight control in Toolbox, run &#8220;devenv /setup&#8221; or ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you can&#8217;t see  default Silverlight control in Toolbox, run &#8220;devenv /setup&#8221; or &#8220;/reestsettings&#8221; in Run or &#8220;Visual Studio 2008 Command Prompt&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Enable JQuery Intellisense in Visual Studio 2008]]></title>
<link>http://minalabib.wordpress.com/2009/11/23/enable-jquery-intellisense-in-visual-studio-2008/</link>
<pubDate>Mon, 23 Nov 2009 16:29:22 +0000</pubDate>
<dc:creator>Mina  Labib</dc:creator>
<guid>http://minalabib.wordpress.com/2009/11/23/enable-jquery-intellisense-in-visual-studio-2008/</guid>
<description><![CDATA[I was expecting that Visual studio will do the magic for me and enable Intellisense for JQuery javas]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I was expecting that Visual studio will do the magic for me and enable Intellisense for JQuery javascript library automatically once I add the library and referenced it in my page – naive, right?- anyways it did not happen of course, so with a quick look to the internet and beloved Scott Guthrie blog I found that I need couple of steps to enable it; It is easy and quick steps so I liked to share it with other naive developers <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<ol>
<li>Install Visual Studio 2008 SP1.      <br />This service pack adds richer javascript intellisense support for Visual Studio 2008, you will find it <a title="VS2008 SP1" href="http://msdn.microsoft.com/en-us/vstudio/cc533448.aspx" target="_blank">here</a>. </li>
<li>Install Visual Studio 2008 Patch KB958502 to support “-vsdoc.js” Intellisense files      <br />This patch apply for VS2008 SP1 and VWD Express SP1, enables Visual Studio to detect “-vsdoc.js” files when javascript library is referenced and use it to enable Javascript Intellisense. This patch can be found <a title="Patch KB958502" href="http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736" target="_blank">here</a>. </li>
<li>Download the JQeury Visual Studio doc file.      <br />You can find this file with <a title="ASP.NET MVC Official website" href="http://www.asp.net/mvc/download/" target="_blank">ASP.NET MVC</a> package as it is included by default or you can find it in <a title="Official JQuery website." href="http://www.jquery.com" target="_blank">JQuery</a> official web site as Visual Studio documentation.<img title="VS08 JQuery" style="display:inline;margin-left:0;margin-right:0;" height="105" alt="VS08 JQuery" src="http://minalabib.files.wordpress.com/2009/11/vs08jquery.png?w=240&#038;h=105" width="240" /> </li>
<li>Save “vsdoc.js” file in the same directory      <br />Save the Visual Studio documentation file in the same directory of the JQuery library, and then you can reference the library in your page as below:       <br /><span style="color:blue;">&#60;</span><span style="color:#a31515;">script </span><span style="color:red;">src</span><span style="color:blue;">=&#34;../../Scripts/jquery-1.3.2.js&#34; </span><span style="color:red;">type</span><span style="color:blue;">=&#34;text/javascript&#34;&#62;&#60;/</span><span style="color:#a31515;">script</span><span style="color:blue;">&#62;        <br /></span>start now to use the Javascript Intellisense feature. <strong><u></u></strong></li>
</ol>
<ol><strong><u>Important Trick:        <br /></u></strong>Sometimes we use partial views or user controls in our project and we do not to refer to Javascript library within it, we usually refer to it in Master page or the parent page; Visual Studio has no way to know this script is available in for the user control or the partial view, thus Javascript Intellisense will NOT be enabled in these files, to enable Javascript Intellisense in the partial/user control there is a useful trick by reference the library surrounded with If(false) statement which will never be rendered in the run time, but still provide Javascript intellisense in the design time.     <br /><span style="background:#ffee62;">&#60;%</span> <span style="color:blue;">if </span>(<span style="color:blue;">false</span>)     <br />&#160;&#160; { <span style="background:#ffee62;">%&#62;      <br /></span>&#160;&#160; <span style="color:blue;">&#60;</span><span style="color:#a31515;">script </span><span style="color:red;">src</span><span style="color:blue;">=&#34;../../Scripts/jquery-1.3.2.js&#34; t</span><span style="color:red;">ype</span><span style="color:blue;">=&#34;text/javascript&#34;&#62;&#60;/</span><span style="color:#a31515;">script</span><span style="color:blue;">&#62;      <br /></span><span style="background:#ffee62;">&#60;%</span> } <span style="background:#ffee62;">%&#62;</span><a href="http://11011.net/software/vspaste"></a>     </ol>
<p><strong><u>References:</u></strong></p>
<ul>
<li><a href="http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx">http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx</a> </li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Lỗi khi debug của Visual Studio 2008, nhấn Step Into và Step Over thì lại giống như nhấn F5]]></title>
<link>http://lockevn.wordpress.com/2009/11/23/l%e1%bb%97i-khi-debug-c%e1%bb%a7a-visual-studio-2008-nh%e1%ba%a5n-step-into-va-step-over-thi-l%e1%ba%a1i-gi%e1%bb%91ng-nh%c6%b0-nh%e1%ba%a5n-f5/</link>
<pubDate>Mon, 23 Nov 2009 10:26:55 +0000</pubDate>
<dc:creator>LockeVN Nguyen</dc:creator>
<guid>http://lockevn.wordpress.com/2009/11/23/l%e1%bb%97i-khi-debug-c%e1%bb%a7a-visual-studio-2008-nh%e1%ba%a5n-step-into-va-step-over-thi-l%e1%ba%a1i-gi%e1%bb%91ng-nh%c6%b0-nh%e1%ba%a5n-f5/</guid>
<description><![CDATA[Sau khi chuyển sang dùng VS2008 SP1, tôi gặp một lỗi ngớ ngẩn và rất khó chịu, nó làm giảm hiệu suất]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h3>Sau khi chuyển sang dùng VS2008 SP1, tôi gặp một lỗi ngớ ngẩn và rất khó chịu, nó làm giảm hiệu suất làm việc rất nhiều.</h3>
<p>– “Step into” (khi bạn nhấn F11) hay “Step over” (khi bạn nhấn F10) không dừng lại ở các breakpoints.<br />
– Đôi khi nhấn F10 và F11 thì VS2008 cư xử như ấn F5. —-&#62; bạn sẽ không debug được</p>
<p>Đó là một lỗi của M$, mời xem tại đây: <a rel="nofollow" href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=365666" target="_blank">http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=365666</a> và <a rel="nofollow" href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=368650" target="_blank">https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=368650</a></p>
<p>&#160;</p>
<h3>Cài Hotfix sẽ chữa được lỗi này:</h3>
<p><a rel="nofollow" href="http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796" target="_blank">http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796</a> (15.5MB)</p>
<p>Hy vọng giúp được các bạn.</p>
<p>&#160;</p>
<h3>Bổ sung:</h3>
<p>Nếu bạn chạy windows 64bit (Vista 64, Windows 7 64 &#8230;) thì khi cài đặt có thể bị lỗi. Nguyên nhân thì chưa xác định rõ ràng (tôi đoán là do trên các bản win này, VS được cài ở Program Files (x86), chứa ký tự đặc biệt nên bản cài cho hotfix bị lỗi (xong trong log thì thấy) khi detect đường dẫn)</p>
<p><a href="http://codepoet5150.com/2008/09/12/visual-studio-2008-sp1-setup-failure-on-64-bit-vista-solved/" target="_blank">http://codepoet5150.com/2008/09/12/visual-studio-2008-sp1-setup-failure-on-64-bit-vista-solved/</a></p>
<p>&#160;</p>
<p>Giải pháp: bạn disable ổ CD/DVD đi thì sẽ giải quyết được vấn đề</p>
<p>- bỏ các ổ ảo, virtual drive nếu có<br />
- bỏ ổ CD thật (chuột phải vào My Computer, Manage, Disk Management, disconnect ổ CD hoặc remove driver letter/path đi)</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Esquema HTML 5 para VWD 2008]]></title>
<link>http://willyxoft.wordpress.com/2009/11/19/html5-para-vwd2008/</link>
<pubDate>Thu, 19 Nov 2009 09:01:30 +0000</pubDate>
<dc:creator>Willy Mejía</dc:creator>
<guid>http://willyxoft.wordpress.com/2009/11/19/html5-para-vwd2008/</guid>
<description><![CDATA[El equipo Microsoft de Visual Web Developer ha creado un nuevo esquema de Intellisense el cual se pu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- tweetmeme button BEGIN -->
<div><a href="http://api.tweetmeme.com/share?source=willyxoft&#38;url=http://willyxoft.wordpress.com/2009/11/19/html5-para-vwd2008/"><img style="display:inline;margin:0 10px 10px;" border="0" align="right" src="http://api.tweetmeme.com/imagebutton.gif?url=http://willyxoft.wordpress.com/2009/11/19/html5-para-vwd2008/" width="51" height="61" /></a></div>
<p> <!-- tweetmeme button END -->
<p>El equipo Microsoft de Visual Web Developer ha creado un nuevo esquema de Intellisense el cual se puede agregar a VS 2008 o VWD Express 2008 para así disponer de Intellisense y validación para los elementos HTML 5. </p>
<p><strong>Nota</strong>: El esquema es solo para el “marcado” (tags) HTML, aún no para el DOM2 para el Intellisense de Javascript.</p>
<p>Para instalarlo, dirigirse a: <a href="http://blogs.msdn.com/webdevtools/archive/2009/11/18/html-5-intellisense-and-validation-schema-for-visual-studio-2008-and-visual-web-developer.aspx" target="_blank">HTML 5 intellisense and validation schema for Visual Studio 2008 and Visual Web Developer</a>, descargar el adjunto: <a href="http://blogs.msdn.com/webdevtools/attachment/9924922.ashx">html5.zip</a> y seguir las instrucciones, las cuales se reducen a copiar el archivo <strong>html_5.xsd</strong> a “%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\Packages\schemas\html” y combinar el archivo <strong>*.REG</strong> correspondiente al tipo de S.O. y edición de VS 2008.</p>
<p>Una vez realizado lo anterior, podremos seleccionar “HTML 5” en el cuadro desplegable de esquemas de validación, y los elementos HTML 5 aparecerán en el Intellisense y la ventana de propiedades.</p>
<p><img style="display:inline;border-width:0;" title="vwd_html5" border="0" alt="vwd_html5" src="http://willyxoft.files.wordpress.com/2009/11/vwd_html5.png?w=500&#038;h=419" width="500" height="419" /></p>
<p>Si se preguntan ¿en que browser podemos probar HTML 5? La respuesta la podemos leer en: <a href="http://www.deepbluesky.com/blog/-/browser-support-for-css3-and-html5_72/" target="_blank">Browser support for CSS3 and HTML5</a>.</p>
<blockquote><p><font color="#ff0000"><strong>Actualización (23-Nov):</strong></font> El equipo de VWD ya ha corregido la información y los archivos *.reg erróneos para VWD Express 2008, por lo que, si descargan el archivo <a href="http://blogs.msdn.com/webdevtools/attachment/9924922.ashx">html5.zip</a> actualizado, ya no es necesario hacer lo que sigue a continuación.</p>
</blockquote>
<p> <!--more-->
<p><font color="#ff0000"><strong>[ATENCIÓN]</strong></font> </p>
<p>El post original indica que si contamos con un S.O. de 32 bit y VWD Express 2008, habría que cambiar en el path “Microsoft Visual Studio 9.0” por “Microsoft Visual Web Developer”, lo cual al menos en mi caso no fue necesario. Es decir, aún con VWD Express 2008 utilice el path indicado para VS 2008.</p>
<p>Por otra parte, también existe un error en el archivo *.REG correspondiente (HTML-5-Schema-Reg-x86-VWD.reg), mismo que se tiene que editar para que funcione correctamente. </p>
<p>La corrección consiste en cambiar “VisualWebDeveloper” por “VWDExpress” en la clave de registro: </p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualWebDeveloper\9.0\Packages\{1B437D20-F8FE-11D2-A6AE-00104BCC7269}\Schemas\Schema 23]</p>
<p>De modo que el archivo HTML-5-Schema-Reg-x86-VWD.reg finalmente queda de la siguiente forma:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;background-color:#f0f6fc;width:92%;display:block;direction:ltr;white-space:pre;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:2ex 0;padding:1ex 1ex 2ex;">
<pre>Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VWDExpress\9.0\Packages\{1B437D20-F8FE-11D2-A6AE-00104BCC7269}\Schemas\Schema 23]
&#34;File&#34;=&#34;html\\html_5.xsd&#34;
&#34;Friendly Name&#34;=&#34;HTML 5&#34;
&#34;URI&#34;=&#34;http://schemas.microsoft.com/intellisense/html-5&#34;</pre>
</div>
<p>Guardamos el archivo y lo combinamos en el Registro de Windows. </p>
<p><strong>Nota</strong>: Supongo que ésta misma corrección debe hacerse en el archivo para 64-bit, pero no lo puedo asegurar.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Can’t debug VS2010 from VS008]]></title>
<link>http://nickhoggard.wordpress.com/2009/11/14/can%e2%80%99t-debug-vs2010-from-vs008/</link>
<pubDate>Sat, 14 Nov 2009 01:29:24 +0000</pubDate>
<dc:creator>Nick Hoggard</dc:creator>
<guid>http://nickhoggard.wordpress.com/2009/11/14/can%e2%80%99t-debug-vs2010-from-vs008/</guid>
<description><![CDATA[So as part of my experiments with creating and installing Work Item Custom Controls for use in Team ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So as part of my experiments with creating and installing Work Item Custom Controls for use in Team Explorer 2010 I inevitably wanted to be able to attach a debugger to an instance of Team Explorer 2010 to interrogate the Work Item object model at runtime.</p>
<p>I&#8217;ve done this before for Team Explorer 2008 and wasn&#8217;t anticipating any problems.  The basic setup can be obtained using <a href="http://blogs.teamsystemnotes.com/2009/06/17/easily-debugging-custom-work-item-controls/">these instructions on the Team System Notes blog</a>.</p>
<p>Having followed these instructions I hit a bit of a roadblock.  It turns out that VS2008 doesn&#8217;t like attaching a debugger to a VS2010 instance.  If VS2010 is setup as the start-up application then an error is thrown when starting the project: &#8220;<strong><em>The debugger&#8217;s protocol is incompatible with the debuggee</em></strong>&#8220;.  I&#8217;m guessing here, but I&#8217;d assume that the issue is that VS2010 has been compiled using .NET 4.0, and as VS2008 only supports up to .NET 3.5 the debugger is unable to correctly attach to a 4.0 managed process.  I had hoped to keep this machine (the primary one I use for work) free of the full VS2010 components &#8230; however having hit this issue I&#8217;ve had to download and install the beta 2.</p>
<p>Anyway, the upshot is that installing VS2010 and attaching the debugger to another VS instance from there solved the problem.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[VS2008: Uninstall: A problem has been encountered while loading the setup components]]></title>
<link>http://henwor.wordpress.com/2009/11/10/vs2008-uninstall-a-problem-has-been-encountered-while-loading-the-setup-components/</link>
<pubDate>Tue, 10 Nov 2009 19:21:16 +0000</pubDate>
<dc:creator>rob henwood</dc:creator>
<guid>http://henwor.wordpress.com/2009/11/10/vs2008-uninstall-a-problem-has-been-encountered-while-loading-the-setup-components/</guid>
<description><![CDATA[If you&#8217;re getting the infamous error: A problem has been encountered while loading the setup c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you&#8217;re getting the infamous error:</p>
<p><code>A problem has been encountered while loading the setup components. Canceling setup.</code></p>
<p>Use this tool to wipe the lot</p>
<p><a href="http://msdn.microsoft.com/en-us/vstudio/bb968856.aspx" target="_blank">http://msdn.microsoft.com/en-us/vstudio/bb968856.aspx</a></p>
<p>This Auto-Uninstall Tool uninstalls ALL components installed with Visual Studio 2008 products, including Visual Studio Express Editions, Visual Studio Team System, Visual Studio Professional. This tool won’t uninstall shared components between Visual Studio 2008 and Visual Studio 2005.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pimp My VS2008]]></title>
<link>http://wwwebdev.wordpress.com/2009/09/28/pimp-my-vs2008/</link>
<pubDate>Mon, 28 Sep 2009 07:23:09 +0000</pubDate>
<dc:creator>swlkrdc</dc:creator>
<guid>http://wwwebdev.wordpress.com/2009/09/28/pimp-my-vs2008/</guid>
<description><![CDATA[So before I dive into my world changing ASP.NET MVC app, I figured I&#8217;d take some time to expla]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So before I dive into my world changing ASP.NET MVC app, I figured I&#8217;d take some time to explain very simply how to set up some SVN integration in VS2008. Ready? Don&#8217;t blink &#8217;cause you might miss it:</p>
<p><strong>1. Beanstalk &#8211; </strong><a href="http://beanstalkapp.com"><strong>http://beanstalkapp.com/</strong></a></p>
<p>Follow the cues to set up your free subversion repository, you won&#8217;t need help navigating their site, it&#8217;s super simple.</p>
<p><strong>2. TortoiseSVN &#8211; </strong><a href="http://tortoisesvn.net/downloads"><strong>http://tortoisesvn.net/downloads</strong></a></p>
<p>This isn&#8217;t really necessary, but I like it just in case I&#8217;m in a windows explorer window and happen to want to commit something. Download the version for your appropriate cpu (32/64). Double click and hit next until it asks you to reboot. At that point you should reboot. Now you&#8217;re almost there, I mean you can hit up your beanstalk repo straight from the windows file system by right clicking the whitespace on a windows explorer window and clicking &#8220;SVN Checkout&#8230;&#8221;: but we want to never have to leave the IDE so on to step 3 we go.</p>
<div id="attachment_14" class="wp-caption alignnone" style="width: 310px"><a href="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-03-17-am.png"><img class="size-medium wp-image-14" title="Tortoise SVN Checkout" src="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-03-17-am.png?w=300" alt="Tortoise SVN Checkout..." width="300" height="224" /></a><p class="wp-caption-text">Tortoise SVN Checkout...</p></div>
<p><strong>3. AnkhSVN &#8211; </strong><a href="http://ankhsvn.open.collab.net/"><strong>http://ankhsvn.open.collab.net/</strong></a></p>
<p>On the right you&#8217;ll notice the download link for version &#62;= 2.1. Once it&#8217;s downloaded, close visual studio, double click the installer, next, next, next. Once it&#8217;s done installing open up visual studio and you&#8217;ll notice a new tab at the bottom of the window &#8220;Pending Changes&#8221;. If you don&#8217;t, that&#8217;s fine just click on &#8220;View&#8221; then click on &#8220;Pending Changes&#8221;:</p>
<div id="attachment_15" class="wp-caption alignnone" style="width: 310px"><a href="http://wwwebdev.wordpress.com/files/2009/09/ankhsvnpendingchanges.png"><img class="size-medium wp-image-15" title="ankhSVNPendingChanges" src="http://wwwebdev.wordpress.com/files/2009/09/ankhsvnpendingchanges.png?w=300" alt="AnkhSVN Pending Changes Pane" width="300" height="54" /></a><p class="wp-caption-text">AnkhSVN Pending Changes Pane</p></div>
<p><strong>4. Time for the secret sauce.</strong></p>
<p>Now, let&#8217;s put these awesome tools into action. Right click on your solution in the solution explorer and click &#8220;Add solution to subversion&#8221;:</p>
<div id="attachment_16" class="wp-caption alignnone" style="width: 310px"><a href="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-12-53-am.png"><img class="size-medium wp-image-16" title="SVN Initial Import!" src="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-12-53-am.png?w=300" alt="Adding your solution to subversion" width="300" height="151" /></a><p class="wp-caption-text">Adding your solution to subversion</p></div>
<p>A pop up window will come up, just enter in your repository URL:</p>
<div id="attachment_17" class="wp-caption alignnone" style="width: 281px"><a href="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-15-38-am.png"><img class="size-medium wp-image-17" title="SVN Pop up" src="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-15-38-am.png?w=271" alt="AnkhSVN asking you for your repo URL" width="271" height="300" /></a><p class="wp-caption-text">AnkhSVN asking you for your repo URL</p></div>
<p>(which can be found on your dashboard at beanstalk on the right under &#8220;Repository URL&#8221;) and once you connect, just hit OK and you&#8217;re good to go.</p>
<p>After this intial upload, your solution explorer will reflect which state your files are in:</p>
<ul>
<li>Blue check mark: you&#8217;re synced up with the repository</li>
<li>Red rectangle: you&#8217;ve made changes that haven&#8217;t been committed yet</li>
</ul>
<div id="attachment_18" class="wp-caption alignnone" style="width: 177px"><a href="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-18-05-am.png"><img class="size-medium wp-image-18" title="AnkhSVN Solution Explorer" src="http://wwwebdev.wordpress.com/files/2009/09/screen-shot-2009-09-28-at-12-18-05-am.png?w=167" alt="Ankh-ified Solution Explorer" width="167" height="300" /></a><p class="wp-caption-text">Ankh-ified Solution Explorer</p></div>
<p>Once you edit a file and you want to upload changes to the repo or download someone else&#8217;s changes, just go down the &#8220;Pending Changes&#8221; tab on the bottom of VS and hit &#8220;Commit/Update&#8221; respectively.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Nesting the aspx files and cs files in Visual Studio 2008 and above.]]></title>
<link>http://balaweblog.wordpress.com/2009/09/13/nesting-the-aspx-files-and-cs-files-in-visual-studio-2008-and-above/</link>
<pubDate>Sun, 13 Sep 2009 15:00:43 +0000</pubDate>
<dc:creator>balaweblog</dc:creator>
<guid>http://balaweblog.wordpress.com/2009/09/13/nesting-the-aspx-files-and-cs-files-in-visual-studio-2008-and-above/</guid>
<description><![CDATA[Nesting the aspx files and cs files in Visual Studio 2008 and above. When we move the ASPX and code ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Nesting the aspx files and cs files in Visual Studio 2008 and above.</strong></p>
<p>When we move the ASPX and code behind file to any new folder in Visual studio. Then the file nesting in the folder in Visual Studio is incorrect. ASPX represents one file and cs file represents another file. Consider if you have large number of pages then each will represent twice. In order to avoid this we have option in Visual studio Solution Explorer for “Nesting Related Files”</p>
<p>After clicking this Visual Studio Project update the solution explorer and show the nested files exactly.</p>

</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Avoid multiple of instances of Visual studio Development server]]></title>
<link>http://balaweblog.wordpress.com/2009/09/13/avoid-multiple-of-instances-of-visual-studio-development-server/</link>
<pubDate>Sun, 13 Sep 2009 13:17:56 +0000</pubDate>
<dc:creator>balaweblog</dc:creator>
<guid>http://balaweblog.wordpress.com/2009/09/13/avoid-multiple-of-instances-of-visual-studio-development-server/</guid>
<description><![CDATA[Avoid multiple of instances of Visual studio Development server While working with Visual Studio Dev]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Avoid multiple of instances of Visual studio Development server</strong></p>
<p>While working with Visual Studio Development server. In all previous versions of Visual Studio we have auto assign port values.</p>
<p>But in Visual Studio 2008 and above. We can set the port values other than the default values.</p>
<p>Sometimes on some developer boxes either Windows firewall or custom firewall blocks a bunch of ports… In this situation Web Development Server tries to hook to one of the blocked ports port and is not allowed. In the process the Development Server lands up crashing. Next time it tries to assign itself to another dynamic port and the same thing happens. As a result there are various tray icons created even though the Web Development Server exe has actually crashed. So that is the reason multiple reason of web servers running without any use.</p>
<p>This can be solved by running the Development Server in specific ports.</p>

</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Reflection Pixel Shader Behaviour]]></title>
<link>http://intelligence4.wordpress.com/2009/09/04/reflection-pixel-shader-behaviour/</link>
<pubDate>Fri, 04 Sep 2009 15:56:20 +0000</pubDate>
<dc:creator>Intelligence4</dc:creator>
<guid>http://intelligence4.wordpress.com/2009/09/04/reflection-pixel-shader-behaviour/</guid>
<description><![CDATA[I am having so much fun at the moment with my Expression Blend behaviour &#8220;verbs&#8221; that I ]]></description>
<content:encoded><![CDATA[I am having so much fun at the moment with my Expression Blend behaviour &#8220;verbs&#8221; that I ]]></content:encoded>
</item>
<item>
<title><![CDATA[The HTML Help Behaviour]]></title>
<link>http://intelligence4.wordpress.com/2009/09/03/the-html-help-behaviour/</link>
<pubDate>Thu, 03 Sep 2009 15:18:12 +0000</pubDate>
<dc:creator>Intelligence4</dc:creator>
<guid>http://intelligence4.wordpress.com/2009/09/03/the-html-help-behaviour/</guid>
<description><![CDATA[When thinking about Behaviours as &#8220;verbs&#8221; a number of standard functionalities started t]]></description>
<content:encoded><![CDATA[When thinking about Behaviours as &#8220;verbs&#8221; a number of standard functionalities started t]]></content:encoded>
</item>
<item>
<title><![CDATA[Visual Studio Multiple Monitor crash solved]]></title>
<link>http://codepoet5150.com/2009/08/31/visual-studio-multiple-monitor-crash-solved/</link>
<pubDate>Tue, 01 Sep 2009 04:43:49 +0000</pubDate>
<dc:creator>codepoet5150</dc:creator>
<guid>http://codepoet5150.com/2009/08/31/visual-studio-multiple-monitor-crash-solved/</guid>
<description><![CDATA[After re-arranging Visual Studio windows and moving my Output window to my 2nd monitor, my web proje]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After re-arranging Visual Studio windows and moving my Output window to my 2nd monitor, my web project started crashing after it was built, giving an error BEX in msenv.dll, and an error for msenv.exe was logged in the Application Event Log.  After some searching I came across a post referencing a hotfix for similar issues under KB960075, posted <a href="http://support.microsoft.com/kb/960075">here</a>.  After downloading and installing, the issue was resolved.  A new msenv.dll is placed onto the system that fixes the issue.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The TextBox Watermark Behaviour]]></title>
<link>http://intelligence4.wordpress.com/2009/08/31/the-textbox-watermark-behaviour/</link>
<pubDate>Mon, 31 Aug 2009 16:06:55 +0000</pubDate>
<dc:creator>Intelligence4</dc:creator>
<guid>http://intelligence4.wordpress.com/2009/08/31/the-textbox-watermark-behaviour/</guid>
<description><![CDATA[In a previous article I described how to build a Blend 3.0 Behaviour that logged details based on an]]></description>
<content:encoded><![CDATA[In a previous article I described how to build a Blend 3.0 Behaviour that logged details based on an]]></content:encoded>
</item>
<item>
<title><![CDATA[The Logging Behaviour]]></title>
<link>http://intelligence4.wordpress.com/2009/08/29/the-logging-behaviour/</link>
<pubDate>Sat, 29 Aug 2009 15:41:42 +0000</pubDate>
<dc:creator>Intelligence4</dc:creator>
<guid>http://intelligence4.wordpress.com/2009/08/29/the-logging-behaviour/</guid>
<description><![CDATA[Many people have been blogging about the new abilities and functionality of Expression Blend 3. Havi]]></description>
<content:encoded><![CDATA[Many people have been blogging about the new abilities and functionality of Expression Blend 3. Havi]]></content:encoded>
</item>
<item>
<title><![CDATA[Nested Master page support]]></title>
<link>http://balaweblog.wordpress.com/2009/08/27/nested-master-page-support/</link>
<pubDate>Thu, 27 Aug 2009 18:37:08 +0000</pubDate>
<dc:creator>balaweblog</dc:creator>
<guid>http://balaweblog.wordpress.com/2009/08/27/nested-master-page-support/</guid>
<description><![CDATA[Nested Master page support Master page support is the pretty useful feature in ASP.NET2.0.Now we can]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nested Master page support</p>
<p>Master page support is the pretty useful feature in ASP.NET2.0.Now we can create the nested master page information.</p>
<p>Consider the scenario where the page has one base master page for the whole website and the another master page which uses for most of the pages in your web application. So here we can inherit the base master page in the another master page used by any aspx page.</p>
<p>One of the scenarios that ASP.NET 2.0 supports is the ability to have &#8220;nested master pages&#8221;. where we can create a root master page for a site that defines a site&#8217;s overall layout, and then create nested master pages that are based on the root master and further customize the layout</p>
<p>There is tremendous flexblity to Web UI projects.</p>
<p>I have attached the sample nested master page application in this post. Right click and save file as rename the file pdf to rar and open in VS2010 IDE</p>
<p><a href='http://balaweblog.wordpress.com/2009/08/27/nested-master-page-support/multiplemasterpage-2/' rel='attachment wp-att-324'>MultipleMasterPage</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Organize your namespaces in VS2008 and above]]></title>
<link>http://balaweblog.wordpress.com/2009/08/27/organize-your-namespaces-in-vs2008-and-above/</link>
<pubDate>Thu, 27 Aug 2009 18:15:23 +0000</pubDate>
<dc:creator>balaweblog</dc:creator>
<guid>http://balaweblog.wordpress.com/2009/08/27/organize-your-namespaces-in-vs2008-and-above/</guid>
<description><![CDATA[I saw in many application C# file. Lot of namespaces are referred. To avoid this in VS2008 and above]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I saw in many application C# file. Lot of namespaces are referred. To avoid this in VS2008 and above IDE we have a feature called Organizing.</p>
<p>Right click in IDE and go to &#34;Organize usings&#34; in this we have</p>
<p>* Remove unused strings</p>
<p>* Sort usings</p>
<p>* Remove and sort</p>
<p>We can remove the unused namespaces and can sort the namespaces according to the order.</p>
<p>Here in this example I am using only System.Collections.Generic</p>
<p><a href="http://balaweblog.wordpress.com/files/2009/08/organize.jpg"><img src="http://balaweblog.wordpress.com/files/2009/08/organize.jpg" alt="organize" title="organize" width="499" height="406" class="alignnone size-full wp-image-320" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Firebird DDEX e VS2008.]]></title>
<link>http://krepe.wordpress.com/2009/08/21/firebird-ddex-e-vs2008/</link>
<pubDate>Fri, 21 Aug 2009 14:50:34 +0000</pubDate>
<dc:creator>krepe</dc:creator>
<guid>http://krepe.wordpress.com/2009/08/21/firebird-ddex-e-vs2008/</guid>
<description><![CDATA[Passo a passo de como instalar o Firebird DDEX no Visual Studio 2008: 1 &#8211; Baixe e instale o Fi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Passo a passo de como instalar o Firebird DDEX no Visual Studio 2008:</p>
<p>1 &#8211; Baixe e instale o <a href="http://www.firebirdsql.org/index.php?op=files&#38;id=engine_211">Firebird</a> ;</p>
<p>2 &#8211; Baixe e instale o cliente do <a href="http://www.firebirdsql.org/index.php?op=files&#38;id=netprovider">Firebird. NET</a>, versão 2.5.0 for .NET 3.5/2.0;</p>
<p>3 &#8211; Abra  o Visual Studio 2008 Command Prompt e digite o seguinte :</p>
<p>gacutil /l FirebirdSql.Data.FirebirdClient</p>
<p>o retorno será parecido com :</p>
<p>Microsoft (R) .NET Global Assembly Cache Utility.  Version 3.5.30729.1<br />
Copyright (c) Microsoft Corporation.  All rights reserved.</p>
<p>The Global Assembly Cache contains the following assemblies:<br />
FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral, PublicKeyTo<br />
ken=3750abcc3150b00c, processorArchitecture=MSIL</p>
<p>Number of items = 1</p>
<p>anote o número de versão, Culture e PublicKeyToken.</p>
<p>você tambem poderá obter esta informações abrindo o windows explorer e ir no diretório C:\Windows\assembly e no assembly FirebirdSql.Data.FirebirdClient ver as suas propriedades (clicar com o botão direito do mouse e ir em propriedades).</p>
<p>4 &#8211; Baixe o provedor <a href="http://downloads.sourceforge.net/firebird/FirebirdDDEXProvider-2.0.4.zip">DDEX Firebird</a> e descompacte todo o arquivo para o diretório C:\Program Files\FirebirdClient. (você poderá descompactar em qualquer outro diretório.)</p>
<p>5 -  Modifique o arquivo Machine.config (C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG, configuração válida para .NET3.5 também). As mudanças:</p>
<p>* Após a tag &#60;configSections&#62; inserir esta linha:<br />
&#60;section name=&#8221;firebirdsql.data.firebirdclient&#8221; type=&#8221;System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=%Version%, Culture=%Culture%, PublicKeyToken=%PublicKeyToken%&#8221; /&#62;<br />
* e após a tag &#60;DbProviderFactories&#62; inserir esta linha:<br />
&#60;add name=&#8221;FirebirdClient Data Provider&#8221; invariant=&#8221;FirebirdSql.Data.FirebirdClient&#8221; description=&#8221;.Net Framework Data Provider for Firebird&#8221; type=&#8221;FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=%Version%, Culture=%Culture%, PublicKeyToken=%PublicKeyToken%&#8221; /&#62;</p>
<p>ATENÇÃO: substituir pelas anotações do passo 3:</p>
<p>- %Version%<br />
- %Culture%<br />
- %PublicKeyToken% .</p>
<p>6 &#8211; Edite o arquivo FirebirdDDEXProvider32.reg  ou FirebirdDDEXProvider64.reg de acordo com seu sistema. ( localizado onde você descompactou o provedor <a href="http://downloads.sourceforge.net/firebird/FirebirdDDEXProvider-2.0.4.zip">DDEX Firebird</a> de acordo com o passo 4). Substituir no arquivo .reg % Path% com o caminho para os arquivos DDEX (onde você descompactou o provedor <a href="http://downloads.sourceforge.net/firebird/FirebirdDDEXProvider-2.0.4.zip">DDEX Firebird</a> &#8211; não esqueça as barras invertidas em dobro! ) Importar este arquivo .Reg para o registo (basta clicar duas vezes sobre ele.)</p>
<p>7 &#8211; No Visual Studio 2008 Command Prompt registre o assembly FirebirdSql.Web.Providers.dll :</p>
<p>gacutil /i &#60;assembly_path&#62;FirebirdSql.Web.Providers.dll</p>
<p>e substitua &#60;assembly_path&#62; pelo caminho do assembly no meu caso ficou</p>
<p>gacutil /i C:\Program Files\FirebirdClient\FirebirdSql.Web.Providers.dll</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[Tutorial] - Instalando e configurando o ambiente de desenvolvimento para PSP  ]]></title>
<link>http://dogoautilio.wordpress.com/2009/08/20/tutorial-instalando-e-configurando-o-ambiente-de-desenvolvimento-para-psp/</link>
<pubDate>Thu, 20 Aug 2009 13:56:13 +0000</pubDate>
<dc:creator>Dogo</dc:creator>
<guid>http://dogoautilio.wordpress.com/2009/08/20/tutorial-instalando-e-configurando-o-ambiente-de-desenvolvimento-para-psp/</guid>
<description><![CDATA[Opa, vamos lá 1) Instalem o Visual Studio, nós vamos usar o 2008 como padrão. Você pode pegar a vers]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Opa, vamos lá</p>
<p><strong></strong></p>
<p>1) Instalem o Visual Studio, nós vamos usar o 2008 como padrão.</p>
<p>Você pode pegar a versão Express ( C++) na net ou pegar a versão Professional em sua faculdade. ( utilizando a licença Student )</p>
<p>Link : <a title="VS2008" href="http://www.microsoft.com/express/download/" target="_blank">Microsoft Visual Studio C++ Express</a></p>
<p>2) Baixem o msys-1.0.11-RC2, e extraiam no C:  .</p>
<p>O msys é o minimal system ou seja ele é o sistema básico para compilação usando comandos do BASH do UNIX e ele se integra ao DOS.</p>
<p>Link : <a title="MSYS" href="http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe" target="_blank">MSYS</a><br />
Uma vez instalado adicionem nas VARIAVEIS DE AMBIENTE no item PATH</p>
<p>C:\msys\bin;</p>
<p>3) Baixem o pspsdk-setup-0.9.5 ( essa é a versão mais nova, com o a versão do SDK mais sincronizado com o SVN do Ps2dev.org, que é quem faz o SDK open)</p>
<p>Link: <a title="PSPSDK" href="http://downloads.sourceforge.net/minpspw/pspsdk-setup-0.9.5.exe" target="_blank">PSPSDK</a></p>
<p>Instalação classica ao estilo windows, porém na tela de selecionar os componentes marcaquem todas as opções</p>
<p>-&#62;PSP DevKit</p>
<p>-&#62;SDK Samples</p>
<p>-&#62;PSP Link</p>
<p>-&#62;HTML Documentation</p>
<p>-&#62;Basic Devpacks</p>
<p>-&#62;Eclipse CDT 5+ Support</p>
<p>-&#62;Visual Studio Support</p>
<p>-&#62;Man/Info Pages</p>
<p>O local de instalação é o padrão C:\pspsdk</p>
<p>4) Vamos Instalar a <em>OldSchool Library for PSP, ate agora, foi a melhor lib que achei para PSP com mais recursos e mais otimizada.</em></p>
<p>Link: <a title="OSLib" href="http://rapidshare.com/files/269489047/OSLib_2.10.zip.html" target="_blank">OSLib</a></p>
<p><em>Extraia o ZIP em C:\pspsdk</em></p>
<p><em>Vá ate a pasta INSTALL e execute o BAT <strong>Install_pspsdk.bat, </strong>no Windows XP funciona certinho, porem no Vista eu reparei que acontece alguns erros na hora da copia, mais nada serio, só você abrir o BAT e ver para aonde os arquivos seriam copiados e fazer isso na mão.</em></p>
<p><em><br />
</em></p>
<p><em>Agora vamos adiconar o suporte da biblioteca ao Visual Studio.</em></p>
<p><em>Vá ate a pasta PC existe um BAT <strong>Install.bat</strong>, abra ele no bloco de notas e cheque se a variavel está setando o caminho certo da sua instalação do Visual Studio, atualmente está setado para <strong>C:\Program Files\Microsoft Visual Studio 9.0\VC, </strong>se estiver certo feche e execute o BAT, se tiver errado altere e execute o bat.<br />
</em></p>
<p><em> </em></p>
<p><em>Pronto instamos a lib.</em></p>
<p><em>4.1) Copie a pasta TOOLS da OSlib para </em>C:\pspsdk, são ferramentas da biblioteca para tratar Fontes e arquivos wav.</p>
<p><em> </em></p>
<p><em> Parabéns o sistema esta pronto para compilar <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
</em></p>
<p><em> </em></p>
<p><em> Proximo tutorial -&#62; Criando seu primeiro projeto.</em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Javascript Debugging in VS2008 and above]]></title>
<link>http://balaweblog.wordpress.com/2009/08/14/javascript-debugging-in-vs2008-and-above/</link>
<pubDate>Fri, 14 Aug 2009 01:27:04 +0000</pubDate>
<dc:creator>balaweblog</dc:creator>
<guid>http://balaweblog.wordpress.com/2009/08/14/javascript-debugging-in-vs2008-and-above/</guid>
<description><![CDATA[Javascript Debugging:- In the VisualStudio 2008 and above(Visual Studio 2010) we have the feature ca]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Javascript Debugging:-</strong></p>
<p>In the VisualStudio 2008 and above(Visual Studio 2010) we have the feature called Javascript debugging feature.Normally everyone will face the issue in javascript that is there is no debugger for javascript. But now we can debug as like our server side coding.</p>
<p>Also Visual Studio 2008 and above support intellisense for javascript coding.</p>
<p>Here We can write any inline scripting or external javacript files. Intellisense and debugging will support for all the files.</p>
<p>We can even link to any external files like AJAX client behaviour, AJAX client control, AJAX client library.</p>
<p>The debugging will happen in server side code in the temporary file which is in the smart document navigation within the solution explorer.</p>
<p>The javascript that is sent down to the browser client is dynamically generated on the server(for example: with scripts that are stored as resources within compiled server controls &#8211; like ASP.NET AJAX UpdatePanels and control extenders).</p>
<p>We can see our script values in local and watch windows after the breakpoints.</p>
<p><strong> Debugging:-</strong></p>
<p><a href="http://balaweblog.wordpress.com/files/2009/08/image001.jpg"><img src="http://balaweblog.wordpress.com/files/2009/08/image001.jpg" alt="image001" title="image001" width="468" height="347" class="alignnone size-full wp-image-176" /></a></p>
<p><strong>Windows Internet Explorer:-</strong></p>
<p><a href="https://ch1blogs.cognizant.com/blogs/148973/files/2009/08/javascriptwindow.jpg" title="javascriptwindow.jpg"><a href="http://balaweblog.wordpress.com/files/2009/08/image002.jpg"><img src="http://balaweblog.wordpress.com/files/2009/08/image002.jpg" alt="image002" title="image002" width="226" height="160" class="alignnone size-full wp-image-177" /></a></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Source control error in VS2008 and Windows 7 x64]]></title>
<link>http://rmencia.wordpress.com/2009/08/10/source-control-error-in-vs2008-and-windows-7-x64/</link>
<pubDate>Mon, 10 Aug 2009 05:06:02 +0000</pubDate>
<dc:creator>rmencia</dc:creator>
<guid>http://rmencia.wordpress.com/2009/08/10/source-control-error-in-vs2008-and-windows-7-x64/</guid>
<description><![CDATA[I have installed Windows 7 x64 RTM in my work machine and… Surprise! Team Explorer wouldn’t work. Th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have installed Windows 7 x64 RTM in my work machine and… Surprise! Team Explorer wouldn’t work.</p>
<p>The settings were disabled and when I tried to connect to a server BOOOOOM!</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="400"> 
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;           <br />Microsoft Visual Studio            <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;            <br />Unexpected error encountered. It is recommended that you restart the application as soon as possible. </p>
<p>Error: Access is denied. </p>
<p>File: vsee\pkgs\vssproviderstub\cvssproviderstubpackage.cpp </p>
<p>Line number: 528           <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;            <br />OK&#160;&#160; <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>This is the kind of errors that I love.</p>
<p>After uninstalling and installing and reinstalling and again installing VS2008 and Team Client and… nothing worked.</p>
<p>Finally, after searching everywhere, I found in the msdn forums someone that had a similar problem. What a relieve, I wasn’t the only one (it seems a smaller problem when you aren’t the only one with it).</p>
<p>As a solution, <a href="http://social.msdn.microsoft.com/Profile/en-US/?user=K.%20Renno&#38;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fvssourcecontrol%2fthread%2fb5a750af-088f-4981-ac24-5b6ee91d2233&#38;rh=ExK8n4%2ffRmBrNlE8mUdHovbEdChAE9JKw7OoSeKtrck%3d&#38;sp=forums">K. Renno</a> indicated to run a command to skip loading some packages:</p>
<p><strong>devenv.exe /resetskippkgs </strong></p>
<p>Or to generate a report:   <br /><strong>devenv.exe /resetskippkgs&#160; /log C:\devenv-log.txt</strong></p>
<p>After that, Visual Studio could start normally without using the /resetskippkgs setting.</p>
<p>&#160;</p>
<p>Good Luck!</p>
<p>R.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[KB971092 won't install (Visual Studio 2008 Security Fix)]]></title>
<link>http://blog.wolffmyren.com/2009/07/31/kb971092-wont-install-visual-studio-2008-security-fix/</link>
<pubDate>Sat, 01 Aug 2009 06:50:19 +0000</pubDate>
<dc:creator>willwm</dc:creator>
<guid>http://blog.wolffmyren.com/2009/07/31/kb971092-wont-install-visual-studio-2008-security-fix/</guid>
<description><![CDATA[From Microsoft Connect: (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedb]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>From Microsoft Connect:<br />
(<a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117">https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117</a>)</p>
<blockquote><p>Until Microsoft come up with an official solution there is a working workaround for this problem.</p>
<p>This problem only appears to affect people who have not got Visual C++ Installed.</p>
<p>1.) Download VS90SP1-KB971092-x86.exe from here &#8230;<br />
<a style="color:#354258;" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=294de390-3c94-49fb-a014-9a38580e64cb" target="_blank">http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=294de390-3c94-49fb-a014-9a38580e64cb</a><br />
2.) Start the installation VS90SP1-KB971092-x86.exe<br />
3.) Wait for the error message to come up &#8211; DO NOT CLOSE THE WINDOW!<br />
4.) Copy the temp. folder where the patch has been unpacked to a new folder, for example onto your desktop.<br />
5.) Close VS90SP1-KB971092-x86.exe that you started in 2.)<br />
6.) Navigate to &#60;drive&#62;:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools and find vsvars32.bat.<br />
7.) Change the permissions on the file to allow everyone to edit it.<br />
8.) Start VS90SP1-KB971092-x86.msp from within the saved folder and the process should complete.</p></blockquote>
</div>]]></content:encoded>
</item>

</channel>
</rss>
