Daniel Schroeder

Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com
posts - 44 , comments - 41 , trackbacks - 0

April 2011 Entries

TFS GoToWorkItem VS command and keyboard shortcut
The button to jump directly to a work item by specifying its ID looks to be on the Work Item Tracking toolbar by default in VS / TFS 2010. This button is not on the toolbar by default in VS / TFS 2008 though. To add it yourself just go to… Read more at http://blog.danskingdom.com... ......

Posted On Friday, April 29, 2011 3:24 PM | Comments (1) |

Friendly visual studio solution names for working with multiple branches
If you have the latest version of the Visual Studio 2010 extension VSCommands you can give your solutions friendly names that display in the window’s title bar. This is nice when you are working in different branches, so that you can differentiate which solution you are actually looking at. I wrote the following regex to put the Branch Name after the Solution name, so for example if you have the client solution open in both Dev and Release, one will be called “Client.sln – Dev” and the other “Client.sln ......

Posted On Friday, April 29, 2011 3:06 PM | Comments (6) |

Solution won't build on TFS Build Server

So if you are able to build (compile) the solution on your local machine, but it won't build on the TFS build server and you are getting an error message similar to:

Read more at http://blog.danskingdom.com/solution-wont-build-on-tfs-build-server/

Posted On Sunday, April 17, 2011 8:46 PM | Comments (2) |

Adding ValueChanged events to Dependency Objects in WPF

You may be wondering which is the best way to hookup a DependencyProperty's Callback event handler to handle Value Changed events.  The two methods to consider are:

Read more at http://blog.danskingdom.com/adding-valuechanged-events-to-dependency-objects-in-wpf/

Posted On Sunday, April 17, 2011 8:41 PM | Comments (0) |

My WPF Binding won't work. WTF!

At one point or another I'm sure we've all been confused as to why our binding won't work.  Here's a couple things to keep in mind:

Read more at http://blog.danskingdom.com/my-wpf-binding-wont-work-wtf/

Posted On Sunday, April 17, 2011 8:35 PM | Comments (0) |

Some Visual Studio 2010 Shortcuts and C# 4.0 Cool Stuff

A list of some shortcus and new features to VS 2010 and C# 4.0:

Read more at http://blog.danskingdom.com/some-visual-studio-2010-shortcuts-and-c-4-0-cool-stuff/

Posted On Sunday, April 17, 2011 8:21 PM | Comments (1) |

Setting focus to an element in WPF

So if you are trying to set focus to a WPF element, but are unable to.  Here is a quick checklist to go through:

Read more at http://blog.danskingdom.com/setting-focus-to-an-element-in-wpf/

Posted On Sunday, April 17, 2011 8:15 PM | Comments (0) |

Powered by: