<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:weblogs' matching tag 'Visual Studio 2005'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=Visual+Studio+2005&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tag 'Visual Studio 2005'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>DevTeach 2009 Vancouver</title><link>http://msmvps.com/blogs/peterritchie/archive/2009/03/26/devteach-2009-vancouver.aspx</link><pubDate>Thu, 26 Mar 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1681658</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;The schedule for DevTeach 2009 Vancouver has been announced (&lt;a href="http://www.devteach.com/" title="http://www.devteach.com/"&gt;http://www.devteach.com/&lt;/a&gt;).&amp;nbsp; There&amp;rsquo;s lots of great software development sessions from some of the leaders in our industry.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re planning on improving yourself, this is the conference to go to.&amp;nbsp; Not only can you attend excellent sessions; but you can hob-knob with the presenters and pick their brains.&lt;/p&gt;
&lt;p&gt;If you have a friend or co-worker who&amp;rsquo;s interested, there&amp;rsquo;s a limited-time two-for-one offer for an even better price: &lt;a href="http://www.devteach.com/Register.aspx" title="http://www.devteach.com/Register.aspx"&gt;http://www.devteach.com/Register.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmsmvps.com%2fblogs%2fpeterritchie%2farchive%2f2009%2f03%2f26%2fdevteach-2009-vancouver.aspx"&gt;&lt;img border="0" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmsmvps.com%2fblogs%2fpeterritchie%2farchive%2f2009%2f03%2f26%2fdevteach-2009-vancouver.aspx" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Drag and drop of control selections onto forms designer toolbox</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/08/21/drag-and-drop-of-control-selections-onto-forms-designer-toolbox.aspx</link><pubDate>Thu, 21 Aug 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1645402</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;A while back I blogged about the ability we have in Visual Studio to select text in a text editor and drag it onto the toolbox.&amp;#160; Once on the toolbox you could drag those items back into the text editor to effectively “paste” frequently needed snippets of code into other text files.&lt;/p&gt;  &lt;p&gt;Imagine my surprise when we didn’t have this ability in the forms designer.&amp;#160; When writing code, it’s a bit specious to want to have multiple copies of hard-coded snippets of code (DRY should come to mind).&amp;#160; But, for forms, the only alternative is to create user controls to contain commonly-used control groups.&amp;#160; User controls is very heavy weight and basically becomes unusable when talking about simple groups of buttons.&amp;#160; For example, “OK” and “Cancel” buttons.&lt;/p&gt;  &lt;p&gt;So, as a result, I’ve &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=362827" target="_blank"&gt;logged a suggestion&lt;/a&gt; on Microsoft Connect suggesting this ability be added to Visual Studio.&lt;/p&gt;  &lt;p&gt;If you want to see the potential of a feature like this, see &lt;a title="http://machine.nukeation.com/preview.html" href="http://machine.nukeation.com/preview.html"&gt;http://machine.nukeation.com/preview.html&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="text-align:left;margin:0px;padding:4px 4px 4px 4px;"&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http://msmvps.com/blogs/peterritchie/archive/2008/08/21/drag-and-drop-of-control-selections-onto-forms-designer-toolbox.aspx&amp;amp;title=Drag%20and%20drop%20of%20control%20selections%20onto%20forms%20designer%20toolbox"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://msmvps.com/blogs/peterritchie/archive/2008/08/21/drag-and-drop-of-control-selections-onto-forms-designer-toolbox.aspx&amp;amp;bgcolor=0080C0&amp;amp;fgcolor=FFFFFF&amp;amp;border=000000&amp;amp;cbgcolor=D4E1ED&amp;amp;cfgcolor=000000" alt="DotNetKicks Image" border="0/" /&gt;&lt;/a&gt;&lt;/div&gt;</description></item><item><title>Visual Studio Gallery - addins, tools, templates etc for VS2005 and VS2008</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/07/25/visual-studio-gallery-addins-tools-templates-etc-for-vs2005-and-vs2008.aspx</link><pubDate>Fri, 25 Jul 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1642079</guid><dc:creator>BrianMadsen</dc:creator><description>&lt;p&gt;I&amp;#39;m sure that for many people this isn&amp;#39;t news&amp;nbsp;but i figured i&amp;#39;d regurgitate it anyways as i seem to loose some of my tools whenever i move onto another project (as i&amp;#39;m mainly client bound) and keep forgetting where i got them from.&lt;/p&gt;
&lt;p&gt;So, not to self (and others): &lt;a href="http://www.visualstudiogallery.com"&gt;www.visualstudiogallery.com&lt;/a&gt;&amp;nbsp;- tons of addins, tools and templates for Visual Studio 2005 and 2008.&lt;/p&gt;
&lt;p&gt;Visual Studio 2008 rocks..plain and simple as that..it&amp;#39;s THE best development IDE around and it has a phenomenal amount of support from third party vendors. &lt;/p&gt;
&lt;p&gt;Some of the tools i use are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ReSharper - &lt;a href="http://www.jetbrains.com/resharper"&gt;www.jetbrains.com/resharper&lt;/a&gt; &amp;nbsp;
&lt;ul&gt;
&lt;li&gt;Simply just cannot live without this tool. Productivity is up (clients are happy) and it seems to suit my habits/behaviors (i&amp;#39;m happy) within the Visual Studio IDE. It&amp;#39;s worth its price.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;GhostDoc - &lt;a href="http://www.roland-weigelt.de/ghostdoc"&gt;www.roland-weigelt.de/ghostdoc&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Another tool that not just adds method level documentation for me but it also makes me consider more carefully what i&amp;#39;m naming my methods. Great free tool.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Visual Studio 2008 Extensions for Windows SharePoint Services 1.2 - &lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68&amp;amp;displaylang=en"&gt;http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68&amp;amp;displaylang=en&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;I know i&amp;#39;ve been dissapointed with this release, but it still features heavily in my work&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PowerCommands for Visual Studio 2008 - &lt;a href="http://www.visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=df3f0c30-3d37-4e06-9ef8-3bff3508be31"&gt;http://www.visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=df3f0c30-3d37-4e06-9ef8-3bff3508be31&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;This toolset adds quite a lot of features to the right-click context menu in VS2008 (including Open Command Prompt)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;#39;ve been using others here and there - mostly because it&amp;#39;s either been a requirement from the team i&amp;#39;ve worked with, or because it&amp;#39;s simply just been installed. But those tools above are pretty much a constant standard when i install Visual Studio.&lt;/p&gt;</description></item><item><title>Trace to output window without adding code.</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/06/13/trace-to-output-window-without-adding-code.aspx</link><pubDate>Fri, 13 Jun 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1634781</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;Want to trace some run-time data to the output window while debugging&amp;nbsp;without changing and recompiling your code?&amp;nbsp; Use Tracepoints: &lt;a href="http://blogs.msdn.com/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx"&gt;http://blogs.msdn.com/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>DreamSpark from Microsoft = Free College IT Software</title><link>http://msmvps.com/blogs/keith/archive/2008/02/25/dreamspark-from-microsoft-free-college-it-software.aspx</link><pubDate>Mon, 25 Feb 2008 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1524305</guid><dc:creator>keith</dc:creator><description>&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;I just saw this from a friend, Chris Koenig, at Microsoft. If you have any children, friends, or family in college and they are heading toward an IT or Graphics Design career then you will want to check this out. This is an incredible opportunity for them to receive $1,000s in free software. &lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;

&lt;p style="MARGIN-LEFT:28pt;"&gt;&lt;a href="http://blogs.msdn.com/chkoenig/archive/2008/02/19/free-software-for-students-microsoft-dreamspark.aspx"&gt;&lt;span style="FONT-SIZE:18pt;COLOR:blue;FONT-FAMILY:Times New Roman;TEXT-DECORATION:underline;"&gt;&lt;strong&gt;Free Software for Students - Microsoft DreamSpark&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="FONT-SIZE:18pt;FONT-FAMILY:Times New Roman;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:28pt;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Calling all students!&amp;nbsp; Check out this video featuring Microsoft Chairman Bill Gates as he discusses a new initiative called &lt;a href="https://downloads.channel8.msdn.com/" target="_blank"&gt;&lt;span style="COLOR:blue;TEXT-DECORATION:underline;"&gt;Microsoft DreamSpark&lt;/span&gt;&lt;/a&gt; targeted at offering Microsoft developer tools FREE to students: &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:28pt;TEXT-ALIGN:center;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;&lt;br /&gt;&lt;a href="http://channel8.msdn.com/Posts/2047/"&gt;&lt;span style="COLOR:blue;TEXT-DECORATION:underline;"&gt;Bill Gates talks about Free Software, Students, and Technology&lt;/span&gt;&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:28pt;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;This is a &lt;strong&gt;FANTASTIC&lt;/strong&gt; deal for students interested in getting into the Software Development field. Using these tools you can build virtually anything you want to from web sites, Windows or Mobile applications, to games for your Xbox 360 - all at no cost to you.&amp;nbsp; I&amp;#39;ve never seen Microsoft offer something this extensive to this wide a population before, so if you&amp;#39;re a student you *&lt;strong&gt;definitely&lt;/strong&gt;* need to take advantage of this offer! &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:28pt;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;The list of software included in the program includes: &lt;/span&gt;&lt;/p&gt;
&lt;ul style="MARGIN-LEFT:64pt;"&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Windows Server 2003 Standard Edition &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Visual Studio 2008 Professional Edition &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Visual Studio 2005 Professional &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;&lt;strong&gt;SQL Server 2005 Express Edition &lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Expression Studio &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;XNA Game Studio 2.0 &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;12-month subscription to XNA Creators Club &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:Times New Roman;"&gt;Additional details on DreamSpark can be found at &lt;a href="https://downloads.channel8.msdn.com/" target="_blank"&gt;&lt;span style="COLOR:blue;TEXT-DECORATION:underline;"&gt;Channel 8&lt;/span&gt;&lt;/a&gt;, our community site for students.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>No &amp;quot;Add Method Stub&amp;quot; When Passing or Assigning Delegates</title><link>http://msmvps.com/blogs/peterritchie/archive/2008/02/15/no-quot-add-method-stub-quot-when-passing-or-assigning-delegates.aspx</link><pubDate>Fri, 15 Feb 2008 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1515425</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;I finally noticed the other day the &amp;quot;Add method stub&amp;quot; SmartTag wasn&amp;#39;t appearing for a new method name I type in.&amp;nbsp; I decided I&amp;#39;d have a closer look...&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re practicing Test-Driven Development (TDD) you want to write a test for methods before you write the methods.&amp;nbsp; This means you write a test method that calls several other methods that don&amp;#39;t exist yet.&amp;nbsp; The Visual Studio IDE, in an effort to promote TDD, recognizes this and when you have your caret over a call to one of these methods a SmartTag shows up and you can select &lt;em&gt;Generate method stub for &amp;#39;SomeMethod&amp;#39; in &amp;#39;SomeNamespace.SomeClass&amp;#39;&lt;/em&gt;.&amp;nbsp; For example, if you have the following:&lt;/p&gt;
&lt;div style="FONT-SIZE:10pt;BACKGROUND:white;COLOR:black;FONT-FAMILY:Courier New;"&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt;[] args)&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SomeMethod();&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;...if you place the caret (e.g. click on &amp;quot;SomeMethod&amp;quot;)&amp;nbsp;somewhere on &amp;quot;SomeMethod&amp;quot; (and it doesn&amp;#39;t exist in the current class) the&amp;nbsp;SmartTag rectangle under the &amp;#39;S&amp;#39; in&amp;nbsp;SometMethod appears and you can hover your mouse over&amp;nbsp;the word &amp;quot;SomeMethod&amp;quot; and the options icon appears that you can click and select &lt;em&gt;Generate method stub for &amp;#39;SomeMethod&amp;#39; in &amp;#39;SomeNamespace.SomeClass&amp;#39;&lt;/em&gt;, and it will generate a method like the following:&lt;/p&gt;
&lt;div style="FONT-SIZE:10pt;BACKGROUND:white;COLOR:black;FONT-FAMILY:Courier New;"&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;private&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; SomeMethod()&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;throw&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;NotImplementedException&lt;/span&gt;();&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Well, I figured this would also happen when I tried to assign a non-existent method&amp;nbsp;to a delegate.&amp;nbsp; For example, if I had the following:&lt;/p&gt;
&lt;div style="FONT-SIZE:10pt;BACKGROUND:white;COLOR:black;FONT-FAMILY:Courier New;"&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt;[] args)&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#2b91af;"&gt;Action&lt;/span&gt; action = SomeOtherMethod;&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;...I would expect that placing&amp;nbsp;the caret over &amp;quot;SomeOtherMethod&amp;quot; that the SmartTag would show up and&amp;nbsp;I would be able to select&amp;nbsp;&lt;em&gt;&amp;#39;SomeOtherMethod&amp;#39; in &amp;#39;SomeNamespace.SomeClass&amp;#39;&lt;/em&gt; and it would generate a method like the following:&lt;/p&gt;
&lt;div style="FONT-SIZE:10pt;BACKGROUND:white;COLOR:black;FONT-FAMILY:Courier New;"&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;private&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; SomeOtherMethod()&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;throw&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;NotImplementedException&lt;/span&gt;();&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Alas, the IDE doesn&amp;#39;t recognize use of an undeclared method when used with delegates.&amp;nbsp; i.e. it doesn&amp;#39;t appear in these circumstances either:&lt;/p&gt;
&lt;div style="FONT-SIZE:10pt;BACKGROUND:white;COLOR:black;FONT-FAMILY:Courier New;"&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; ProcessDelegate(&lt;span style="COLOR:#2b91af;"&gt;Action&lt;/span&gt; action)&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:green;"&gt;//...&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;static&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt;[] args)&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessDelegate(SomeOtherMethod);&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessDelegate(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:#2b91af;"&gt;Action&lt;/span&gt;(SomeOtherMethod));&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;I thought&amp;nbsp;&amp;quot;Add method stub&amp;quot;&amp;nbsp;would be&amp;nbsp;more useful in these circumstances because you&amp;#39;re not explicitly&amp;nbsp;passing arguments to the method so it&amp;#39;s more likely that you don&amp;#39;t&amp;nbsp;know what signature you need to declare.&amp;nbsp; So, I logged a suggestion for it:&amp;nbsp;&lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=328782"&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=328782&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;By the way, the non-generic Action delegate (System.Core.Delegate) is new to .NET 3.5.&lt;/p&gt;</description></item><item><title>Who's Referencing Whom?</title><link>http://msmvps.com/blogs/peterritchie/archive/2007/10/12/who-s-referencing-whom.aspx</link><pubDate>Fri, 12 Oct 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1244908</guid><dc:creator>PeterRitchie</dc:creator><description>&lt;p&gt;When developing any sort of application, debugging in inevitable.&amp;nbsp; Sometimes, part of that debugging means trying to figure out why objects haven&amp;#39;t been collected and therefore figuring out what object is referencing the object that has yet to be collected.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s many reasons why you&amp;#39;d want to find out what object is referencing, like suspected memory &amp;quot;leaks&amp;quot;.&lt;/p&gt;
&lt;p&gt;With Visual Studio (and MDbg) you can use a tool called SOS (or Son&amp;nbsp;Of&amp;nbsp;Strike).&amp;nbsp; This is included in the .NET installation.&amp;nbsp; To use SOS you first need to enable unmanaged debugging in your project (Project\Properties, Debug tab, check &amp;quot;Enable unmanaged code debugging&amp;quot; in the &amp;quot;Enable Debuggers&amp;quot; section).&amp;nbsp; Once unmanaged debugging is enabled you can then debug your application.&amp;nbsp; To use SOS once debugging, you need to load the extension (every time a new debugging session is started).&amp;nbsp; Once a breakpoint has been hit, open the Immediate Window and type &lt;font face="courier new,courier"&gt;.load sos&lt;/font&gt;&lt;font face="Arial"&gt; which should result in the following:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;.load sos&lt;br /&gt;extension C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\sos.dll loaded&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;With SOS loaded, you can find out if any objects of a particular type are currently in memory with the &amp;quot;dumpheap -type&amp;quot; command, for example:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;!dumpheap -type NamespaceName.TypeName&lt;br /&gt;&amp;nbsp;Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&lt;br /&gt;&lt;font style="BACKGROUND-COLOR:#ffff00;"&gt;012b2db8&lt;/font&gt; 009159c4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 328&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;total 1 objects&lt;br /&gt;Statistics:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MT&amp;nbsp;&amp;nbsp;&amp;nbsp; Count&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalSize Class Name&lt;br /&gt;009159c4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 328 NamespaceName.TypeName&lt;br /&gt;Total 1 objects&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This lists all objects of the requested type, their address, their MethodTable (MT), and the count of each object per MethodTable.&lt;/p&gt;
&lt;p&gt;Once you have the object&amp;#39;s address you can then find out what objects are referencing that particular instance.&amp;nbsp; This is done with the &lt;font face="courier new,courier"&gt;gcroot&lt;/font&gt; command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="courier new,courier"&gt;!gcroot &lt;font style="BACKGROUND-COLOR:#ffff00;"&gt;012b2db8&lt;/font&gt;&lt;br /&gt;Note: Roots found on stacks may be false positives. Run &amp;quot;!help gcroot&amp;quot; for&lt;br /&gt;more info.&lt;br /&gt;Error during command: warning! Extension is using a feature which Visual Studio does not implement.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Scan Thread 4756 OSTHread 1294&lt;br /&gt;ESP:12f0dc:Root:012b2db8(WindowsApplication1.Form1)-&amp;gt;&lt;br /&gt;012bb104(WindowsApplication1.Form2)-&amp;gt;&lt;br /&gt;012bb254(System.Collections.Generic.List`1[[NamespaceName.TypeName, WindowsApplication1]])-&amp;gt;&lt;br /&gt;012bc178(System.Object[])-&amp;gt;&lt;br /&gt;012bc16c(NamespaceName.TypeName)&lt;br /&gt;Scan Thread 3496 OSTHread da8&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;In this particular example, the above tells us that our object (&lt;font face="courier new,courier"&gt;012bc16c(NamespaceName.TypeName)&lt;/font&gt;) is referenced by an Object array (&lt;font face="courier new,courier"&gt;012bc178(System.Object[])&lt;/font&gt;), which is referenced by a &lt;font face="courier new,courier"&gt;List&amp;lt;T&amp;gt;&lt;/font&gt; object (&lt;font face="courier new,courier"&gt;012bb254(System.Collections.Generic.List`1[[NamespaceName.TypeName, WindowsApplication1]])&lt;/font&gt;), which is referenced by &lt;font face="courier new,courier"&gt;Form2&lt;/font&gt; (&lt;font face="courier new,courier"&gt;012bb104(WindowsApplication1.Form2)&lt;/font&gt;), which is referenced by a &lt;font face="courier new,courier"&gt;Form1&lt;/font&gt; object(&lt;font face="courier new,courier"&gt;ESP:12f0dc:Root:012b2db8(WindowsApplication1.Form1)&lt;/font&gt;).&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Run IT on a Virtual Hard Disk</title><link>http://msmvps.com/blogs/brianmadsen/archive/2007/09/30/run-it-on-a-virtual-hard-disk.aspx</link><pubDate>Sun, 30 Sep 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1222537</guid><dc:creator>BrianMadsen</dc:creator><description>&lt;p&gt;I don&amp;#39;t know how often i&amp;#39;ve had to delay playing with a new piece of released&amp;nbsp;technology, just because I was in the middle of another set of tests and simply didn&amp;#39;t have the time to create my own virtual server environment again to accommodate the platform i want to test.&lt;/p&gt; &lt;p&gt;Here&amp;#39;s a bit of good news - Microsoft VHD (&lt;a href="http://www.microsoft.com/vhd"&gt;www.microsoft.com/vhd&lt;/a&gt;) is a set of virtual hard disks available for download which already has the necessary bits installed.&lt;/p&gt; &lt;p&gt;Currently there&amp;#39;s a range of virtuals available:&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2"&gt;  &lt;tr&gt; &lt;td&gt;Biztalk Server 2006&lt;/td&gt; &lt;td&gt;System Center Essentials 2007&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Exchange Server 2007&lt;/td&gt; &lt;td&gt;System Center Virtual Machine Manager 2007&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Exchange Server 2007 SP1 Beta 2&lt;/td&gt; &lt;td&gt;Visual Studio 2005&amp;nbsp;Team Suite&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;ISA Server 2006&lt;/td&gt; &lt;td&gt;Visual Studio 2005 Team System&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Microsoft Office 2007 Professional&lt;/td&gt; &lt;td&gt;Windows Server 2008 Beta 3&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Office Sharepoint Server 2007&lt;/td&gt; &lt;td&gt;Windows Server 2003 R3&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;SQL Server 2005&lt;/td&gt; &lt;td&gt;Windows Vista&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;SQL Server 2005/Exchange 2007&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;p&gt;Just download&amp;nbsp;either &lt;a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx" target="_blank"&gt;Virtual PC&lt;/a&gt; or&amp;nbsp;&lt;a href="http://www.microsoft.com/windowsserversystem/virtualserver/default.aspx" target="_blank"&gt;Virtual Server 2005&lt;/a&gt; (which is free btw), and you&amp;#39;re ready to go!&lt;/p&gt;</description></item><item><title>Disappearing Visual Studio 2005 Menu Items</title><link>/http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx</link><pubDate>Fri, 31 Aug 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1152937</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;If you&amp;#39;re like me and installed SQL Server 2005 Business Intelligence Development Studio after installing Visual Studio 2005, you might notice some menu items like Debug &amp;gt; Attach to Process are mising. I found the fix to this issue&amp;nbsp;in &lt;a class="" href="http://support.microsoft.com/kb/929664" target="_blank"&gt;this KB article&lt;/a&gt;.&lt;/p&gt;
&lt;div class="shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href="mailto:?body=Thought%20you%20might%20like%20this:%20http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;;subject=Disappearing+Visual+Studio+2005+Menu+Items" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href="http://del.icio.us/post?url=http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;;title=Disappearing+Visual+Studio+2005+Menu+Items" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href="http://www.digg.com/submit?url=http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;;phase=2" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href="http://reddit.com/submit?url=http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;title=Disappearing+Visual+Studio+2005+Menu+Items" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href="http://www.dotnetkicks.com/submit/?url=http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;;title=Disappearing+Visual+Studio+2005+Menu+Items" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx&amp;amp;;title=Disappearing+Visual+Studio+2005+Menu+Items&amp;amp;;top=1" target="_blank" title="Post http://community.strongcoders.com/blogs/ryan/archive/2007/08/31/disappearing-visual-studio-2005-menu-items.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://community.strongcoders.com/aggbug.aspx?PostID=2244" width="1" height="1" alt="" /&gt;</description></item><item><title>Defy All Challenges - Microsoft Visual Studio</title><link>http://msmvps.com/blogs/brianmadsen/archive/2007/06/05/defy-all-challenges-microsoft-visual-studio.aspx</link><pubDate>Tue, 05 Jun 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:944145</guid><dc:creator>BrianMadsen</dc:creator><description>&lt;p&gt;I&amp;nbsp;caught a glimpse at this ad today on one of the sites i frequent when i&amp;#39;m terribly bored. It looked pretty cool and eventhough i&amp;#39;m rarely in the habit of clicking on ads i&amp;nbsp;just had to check it out - so, mission accomplished for the marketing department ;)&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;What it brought me to was somewhat of a surprise:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.defyallchallenges.com/" target="_blank"&gt;&lt;img style="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="314" alt="page1" src="http://msmvps.com/blogs/brianmadsen/WindowsLiveWriter/DefyAllChallengesMicrosoftVisualStudio_13BE8/page1_1.png" width="455" border="0" /&gt;&lt;/a&gt; &amp;nbsp;&lt;/p&gt; &lt;p&gt;Without revealing all too much (you have to see this to make your own judgement..seriously) there&amp;#39;s quite a few videos on the site..so go, have a laugh.&lt;/p&gt; &lt;p&gt;Granted, it&amp;#39;s about Visual Studio...and yes, i&amp;#39;m a VS-tart big time...and yes, it&amp;#39;s MSFT...hmm ok i&amp;#39;m biased but it still rocks!!&lt;/p&gt; &lt;p&gt;One of the features i will reveal is the ability to view and rate videos on the site - which pretty much is showed to you in a futuristic &amp;quot;gaming&amp;quot; style UI..you can pan around, when you choose a feature you&amp;#39;re moved across the landscape..all in all it&amp;#39;s a very pretty (and addictive) site.&lt;/p&gt; &lt;p&gt;One thing though - and here i&amp;#39;m going to smack the marketing department...it&amp;#39;s a great looking site, seriously...but Flash?? maybe using another technology would have been more..errr...suitable? a damn good job is done with the site..seriously it&amp;#39;s got eye-candy and i&amp;#39;m a sucker for it...but...you...are...showing...off...the...wrong...technology!!!&lt;/p&gt; &lt;p&gt;It pretty much shows how big MSFT really is...a keyword has been forgotten here...it&amp;#39;s called (Yes, spell it with me!!) C-O-M-M-U-N-I-C-A-T-I-O-N...somebody should probably have checked out what&amp;#39;s on the horizon in terms of technology before decking out and showing how great a site you can make...with....Flash :(&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.defyallchallenges.com/"&gt;Defy All Challenges - Microsoft Visual Studio&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>