I ran into a strange issue today when I was trying to figure out why my TFS Build was reporting that the build was partially successful even though every test was passing.  The normal build report really did not give any good reason why it was partially successful other than the fact that it was something related to the unit tests (I am using MS Test in this case).  So I cracked open the build log and peeled through the entries.  I noticed that when the code coverage was attempting to instrument the assemblies it reported that several of the assemblies could not be located.  Then I remembered I did some refactoring and I renamed and consolidated some assemblies. 

Well that should be an easy fix all I had to do was remove these assemblies from the test run config in the Code Coverage section.  So I opened up the LocalTestRun.testrunconfig file in Visual Studio 2008 and selected the Code Coverage section to make my changes.  As soon as I did this the config editor closed down (crashed).  Wow that was weird I never saw that before.  Hmmm I wonder what it could be.  Well here is what I did to try and locate the issue.

  1. Perhaps the Test Run Config file needs to be checked out of source control for write access.  Nope that wasn't it.
  2. Well if I cant edit it in VS 2008 then I might as well try notepad.  I removed the offending assemblies using notepad in the LocalTestRun.testrunconfig.  However once I opened up the Test Run Config editor and selected the Code Coverage the editor still crashed.
  3. Perhaps I malformed the Test Run Config xml file.  So I opened it up again in notepad and the XML looked fine.  Besides if this XML was malformed I don't think the Test Run Config editor would not open at all.
  4. Consult almighty search engine.  Wow look what I found http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=391255 and it was only reported 2 days ago.

So to be sure that I got the Test Run Config file right I removed my Database project from my solution made my edits for Code Coverage in the Test Run Config editor, then added the database project back into the solution. 

After fixing the Test Run Config file my build ran successfully.

I have wanted to set up a Media Center PC for a long time now and I finally got a chance to do just that this weekend.  I have to say that Vista Media Center has really impressed me.  The flexibility of having a PC that manages many media elements such as pictures, music, and movies and being able to stream that content to multiple devices in the house is awesome.  At this point I don't have my media center PC hooked up to my current broadcasting provider as I do not have a tuner that is capable of receiving the signal.  Not having a tuner is probably the one thing that has kept me so long from setting this up.  However currently I am not disappointed in missing the tuner because there is so much that can be done with media center.

In my house we currently have 4 PCs and an XBOX 360.  I have all of them networked together to gain access to the Internet.  Beyond a small amount of file and printer sharing the network served as an Internet provider.  Well now all that has changed.  With a central machine in place acting as the media center all other Vista PCs have direct access to the same content.  This content is currently music, pictures and recorded video.  It is such a nice thing to be able to stream this content to the XBOX 360. 

I used to think that having a large coax video distribution network throughout the house was a requirement in order to get video from one room to the next.  However video cable routing to each room can be pretty expensive.  Then you have to have the means to be able to control the video source when you are in another room.  Making this solution all Ethernet based is a real nice alternative, especially when you have PC's all over the house anyway.  And the benefits of not limiting the content to video only is really cool too.

We have a pretty large DVD collection as well.  With kids in the house the DVDs always get some abuse.  They soon start skipping or wont work at all.  So I have started saving our collection to the PC in order to preserve the original DVDs.  This works really well with a couple added applications.  First of all you need My Movies 2 in order to manage the collection and extend VMC to make it easy to view the movie on any PC in the house.  My Movies 2 comes as a server and client component.  You only need to install the server part on the master media center.  All other PCs get the client part of My Movies 2My Movies 2 has a really slick install that walks you through modifying the VMC menu options.  Next you need DVDfab in order to rip your collection.  I installed DVDfab on the master Media Center as that is were I will be managing my collection anyway.  Lastly if you don't convert the ripped video files to a well known format for the XBOX 360 you will need another application called Transcode 360.  This product will take the video files and convert them on the fly to a compatible format for the XBOX 360.

I think my next step in getting a great audio visual experience in my house is to get one of the Media Center Extenders and place it in our living room.  I think the extender would provide me with all I need for living room entertainment. 

Beyond that the only thing I would be missing is a way to get my DirecTV recorded programs accessible from VMC.  As I see it there are 2 options for this.  Option 1 would be to get a DirecTV tuner that would go into my PC.  However this currently is not available.  Option 2 is to get my existing DirecTV DVRs on the network so that I can expose the programs to VMC. 

I migrated my hosting over to an IIS7 provider and I ran into a couple problems that I thought I should blog about.  Of course I was not the first person that moved to IIS7 and experienced simular issues.  Fortunately that someone blogged about their issues as well and that's what I used to resolve my problems.  So take a look at the CodePlex BlogEngine Discussions for the orignal poster.  I was having the exact same symptoms where my CSS did not work and all links came up with a 404 error.  Once I applied the configuration changes that where mentioned in the discussion I was up and running.