Tuesday, December 11, 2007

In Source Gear Vault if you see a file constantly marked as edited even after getting the latest version.  Right click the file properties in Source Gear Vault set EOL Conversion to None apply and close the File Properties window.  Problem solved.  Why would you adjust EOL on a binary file?

posted by Aaron Fischer on Tuesday, December 11, 2007 3:23:53 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Sunday, December 09, 2007

Normally when you want to debug a service at startup you set your debug break point and set the thread asleep just long enoug for you to attach your debugger to the service process but, came across a more eloquent way

Setup:

Ø Follow the instructions in ‘Configure a service to start with the WinDbg debugger attached’ section of the KB article – KB 824344. Note that you can safely ignore Step 2 in this section as you would no longer need the service to interact with desktop.

Ø Add the following command line parameters to the path of the debugger: (let’s assume debugger is installed in ‘C:\Debuggers’ instead of ‘C:\Program Files\Debugging Tools for Windows’ for convenience)

C:\Debuggers\WinDBG.exe -G -c ".server tcp:port=1234"

Ø Start your service from Service Control Manager.

Ø By now the debugger is already connected to the service as a ‘server’. You would have reached the ‘Initial Breakpoint’ waiting for a g (Go) command from the debugger.

Ø Launch another instance of WinDBG and connect to the ‘server’. There are many ways to do this; the simplest would be to go to File->Connect to Remote Session->Browse->Enter machine name->Refresh. Hit OK on your ‘server’ that is listed to connect.

Read the rest of the post A look at service startup issues.

posted by Aaron Fischer on Sunday, December 09, 2007 12:01:00 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, December 08, 2007

I knew Projects in Visual studio could have sub folders which are great for organizing code files.  But I have come to find out that solution files can as well http://dotnettipoftheday.org/tips/visual-studio-solution-folders.aspx  pretty cool.  Welcome to a new era of organization!

posted by Aaron Fischer on Saturday, December 08, 2007 2:42:21 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, November 24, 2007

Carlo Has posted an extensive list of Microsoft Posters, take a look.

posted by Aaron Fischer on Saturday, November 24, 2007 11:34:37 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Wednesday, November 21, 2007

This video is hysterical.

Every Build You Break by Roy Osherove

posted by Aaron Fischer on Wednesday, November 21, 2007 6:00:07 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Tuesday, November 20, 2007

Or where is the Visual Studio 2008 iso image downloaded on Vista.

 

In vista I found that the Akami downloader was redirected from the desktop to

C:\Users\<your user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized\C\Users\<your user name>\Desktop

posted by Aaron Fischer on Tuesday, November 20, 2007 6:42:20 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, November 19, 2007

Jim from the Visual C++ team offers a new way to deal with C++ Intellisense with macros(Visual Studio 2008).  There is still no UI based way to turn them off ( until some one writes an addon for vs).

posted by Aaron Fischer on Monday, November 19, 2007 4:38:56 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

There is a Trojan spreading via MSN messenger.  Just remember treat an IM like you would email. Never download any thing, be weary of IM links.

posted by Aaron Fischer on Monday, November 19, 2007 4:33:36 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]

You might receive the "The debugger does not support debugging managed and native code at the same time on this platform." error message in Visual studio 2005/2008 if you have a 32bit native/mixed mode dll linked to your x64bit assembly.  If you change the project properties so that Platform target is x86 you should be able to debug both assemblies.

posted by Aaron Fischer on Monday, November 19, 2007 7:55:13 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, November 12, 2007

The Vc++ team blog announced the release of performance improvements for vc++ as a General Distribution Release.

posted by Aaron Fischer on Monday, November 12, 2007 2:23:27 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]