Category: Tech

  • Speaking at VSLive San Francisco 2007

    I’m going to be speaking at VSLive San Francisco 2007 in just a few weeks — March 25 through March 29. I’m doing five 1-hour sessions and an all-day workshop.  The talks: Serious WebPart Customization Ever tried to customize how your ASP.NET WebParts look?  Sure, you can change colors and fonts, but what if you…

  • Run tests from your TFS Team Build without a test list (.vsmdi) with code coverage

    I got around to trying Buck Hodges’ power toy that lets you run unit tests in your Team Foundation Server (TFS) Team Build without having to use a test list (aka “.vsmdi” file).  It works well but getting code coverage to run with it was kind of a trick.  There’s a post on forums.microsoft.com that…

  • "MSBUILD : Publish Failed. Test Type not installed on the server for test type"

    Last week I stopped getting code coverage as part of the Team Build (aka TFS MSBuild) in my project.  I started digging in and found the following error popping up in my build output file: MSBUILD : warning : Publish Failed. Test Type not installed on the server for test type: “Microsoft.Samples.VisualStudio.TestTools.HostAdapters.VsIde.RunConfigData”. This error ate…

  • Making FlowLayoutPanel Scroll Using Arrow Keys, Page Up, Page Down

    How do you make the FlowLayoutPanel scroll using arrow keys, page up, page down?  I’ll start with the answers and work backwards: Subscribe to the PreviewKeyDown event and don’t forget to call control.PerformLayout(). Now the problem: If you haven’t checked out the NYTimes Reader application, you’re totally missing out.  It’s this fantastic .NET 3 / WPF…

  • Beantown.NET Meeting: Rob Daigneau – "Implementing SOA Design Patterns with .NET"

    The Beantown.NET User Group (INETA) is meeting on Thursday, 2/1/2007. http://www.beantowndotnet.org This month we have Rob Daigneau presenting “Implementing SOA Design Patterns with .NET”. As always, our meeting is open to everyone so bring your friends and co-workers.  If you want free pizza, send me an RSVP using the contact form (http://blog.benday.com/contact.aspx) by 1pm on…

  • VSTS DBPro Talk at Michael Ruminer's Team System User Group in Waltham

    Hey All, I’m going to be giving my Visual Studio Team Edition for Database Professionals overview talk at Michael Ruminer’s Team System User Group in Waltham. When: January 18, 2007, 5:30pm – 7:30pm Where: Microsoft New England Office201 Jones Rd.6th FloorRoom MPR-B Waltham, MA 02451 Be sure to RSVP here if you plan to attend.  BTW,…

  • Custom Installer Actions: Edit Connection Strings, IIS Directory Security Settings, etc.

    When I need to deliver a web application to a client, I create a Setup/Deployment Project and then send them the .MSI file.  This makes it super easy to make sure that all the dependencies are there and that the web directory gets set up in IIS.  It eliminates 80% of the deployment hassle.  The…

  • Migrating VS2003 Web Applications to VS2005 Web Application Projects

    I just spent a couple of days migrating my remaining (important) VS2003 Web Application code to VS2005.  It had its frustrating moments but each of those frustrating moments reminded my why it was such a great idea to dump the VS2003 Web App code.  The #1 biggest problem was getting VS2003 Web Applications to actually…

  • How to run an MSBuild "Desktop Build" without running tests.

    I’ve been playing around with doing “desktop builds” with MSBuild.  A “desktop build” is where you’d take the build script that describes a Team Foundation Server Team Build and run it on your local machine instead of through the TFS Build Server.  There’s a page on the MSDN site that tells you how to do…

  • Making pre- and post-deployment scripts run in a VSTS DBPro build.

    I’m going to be doing the keynote at the launch of Visual Studio Team Editor for Database Professionals (aka VSTS DBPro, “data dude”) tomorrow.  I wanted to play around with creating default values in lookup tables as part of my demo.  DBPro gives you this functionality through pre-deployment and post-deployment scripts.  You write your own…