Browse by Tags

All Tags » Visual Studio 2005 (RSS)

Trace to output window without adding code.

Want to trace some run-time data to the output window while debugging without changing and recompiling your code? Use Tracepoints: http://blogs.msdn.com/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline...

No "Add Method Stub" When Passing or Assigning Delegates

I finally noticed the other day the "Add method stub" SmartTag wasn't appearing for a new method name I type in. I decided I'd have a closer look... When you're practicing Test-Driven Development (TDD) you want to write a test for...

Who's Referencing Whom?

When developing any sort of application, debugging in inevitable. Sometimes, part of that debugging means trying to figure out why objects haven't been collected and therefore figuring out what object is referencing the object that has yet to be collected...

.NET Framework 2.0 Service Pack 1

I noticed mention of .NET Framework 2.0 Service Pack 1 on a Microsoft site today. The BCL Team's latest blog entry http://blogs.msdn.com/bclteam/archive/2007/05/21/the-regexoptions-compiled-flag-and-slow-performance-on-64-bit-net-framework-2-0-josh...

Contribution to Microsoft Visual C# Develper Center

My first contribution (of many) to the Microsoft Visual C# Developer Center has been published

Much needed feedback on Connect feedback.

S. Somasegar recently blogged that Visual Studio 2005 bugs logged via Connect that were fixed in SP1 are now listed. (listed here: http://connect.microsoft.com/VisualStudio/content/content.aspx?ContentID=4324 ). Attributing Connect feedback to fixes is...

Visual Studio 2005 Clean doesn't clean everything

I noticed a while ago that when I clean a project in Visual Studio 2005 that has XML documentation file enabled the XML file isn't removed. There's an issue logged about files that don't get deleted on Clean on Microsoft Connect Clean does not remove...
Posted by PeterRitchie | with no comments
Filed under: ,

Code Analysis: How to Correctly Resolve CA1300 - "Specify MessageBox Options"

This is the first installment of what I hope to be many short bits of guidance about correctly resolving some of the more complex warnings coming out of FxCop and Code Analysis. The CA1300 warning is specifically about the right-to-left or left-to-right...

Using Toolbox for Code Snippets in Visual Studio 2005

Just noticed today that you can drag text into the Toolbox then repeatedly drag it back out wherever you want, into a Visual Studio source window. Simply select some text in a source window, drag it over to the Toolbox tab (assuming you have Toolbox set...

Add Visual Studio 2005 Intermediate Files to Windows Disk Cleanup

A few years ago I remember a small little Code Project project about a Windows Disk Cleanup component that would cleanup VC6 files. I had always meant to look into that for VS2005 when I had the time. Well, I had a look at the interfaces that the the...
Posted by PeterRitchie | 1 comment(s)
Filed under:

Schedule at Least a Three Hours When Installing Visual Studio 2005 Service Pack 1 Beta

Yesterday, I got Rob Caron's , the Visual C++ Team's , and various other emails about the just-released VS 2005 SP1 Beta . After getting my approval to download it, I did just that. I then quickly proceeded to install it. It took well over 10...
Posted by PeterRitchie | 6 comment(s)
Filed under:

Visual Studio Revert-to-saved macros

A couple of Revert-to-saved macros for Visual Studio 2005...