Windows Home Server and Squeezebox

Saturday, September 27th, 2008

So having got my home server up and running I finally got around to getting music streaming off it into my living room with a Logitech Squeezebox Duet. First off this is not an appliance, it's a science project, albeit a really good one. I spent a happy hour fiddling ...

Building a Green Windows Home Server: Conclusions

Monday, September 8th, 2008

It works! So the build is complete and I have a working server. Interesting this weekend the system disk in the machine I have downstairs chose to start failing CHKDSK. WHS actually picked up on this and warned me while it was trying to backup. Restoring the disk from ...

Gotchas: SN.EXE problem on Vista fixed in VS 2008!

Tuesday, March 18th, 2008

Back in September I ran into some issues using SN.EXE on Vista. SN would look like it had added a strong name verification skipping entry when really it hadn't. Doing the SN -Vr *,######### with the SN.EXE tool that ships with Visual Studio 2008 gives a much better behavior.   ...

Delay Signing VSTO Add-In Projects

Tuesday, March 4th, 2008

As promised, another post on actually writing code as I've been busy trying the help the p&p DocTools project out the door. One of the final hurdles was getting the VSTO Word Document Add-In use delay signing. I was missing a key step in this process... Build ...

Gotchas: Fusion Log Viewer, your best friend for assembly load errors

Wednesday, January 23rd, 2008

Fusion is Microsoft's name for the technology that resolves and loads assemblies requested by your application. It turns out that the .NET framework comes with a little application that allows you to see what caused each assembly in your application to get loaded, how it was loaded (context) and where ...

Gotchas: Upgrading your unit test projects to VS 2008

Monday, January 7th, 2008

Consider the following test... [TestMethod] [ExpectedException(typeof(ArgumentException))] public void TestExpectedException() { throw new ArgumentException("Bad argument"); } All looks pretty trivial right? You'd expect this to pass and indeed on my VS 2008 box it works fine. If you've upgraded your test project ...

Gotchas: MSTest AppDomain changes in VS 2008

Friday, January 4th, 2008

Here's something we at p&p ran into the other day while moving some of our unit tests from Visual Studio 2005 to 2008. This was actually on the EntLib forum and a bug logged by the community against the issue with the MSTest team. Unfortunately it didn't get fixed but ...

Gotchas: Visual Studio debugging and stepping through source

Monday, December 24th, 2007

I ran into a problem this morning where Visual Studio 2008 wasn't letting me debug through some source files. These files weren't part of my solution, I was getting them from an external share. I'd checked all the obvious things; enable just my code was disabled and the symbols were ...

Renaming a DSL model element

Tuesday, December 4th, 2007

One of the things that proved to be move complicated than it should have been when we were developing the DSLs for the Service Factory: Modeling Edition was renaming DSL model elements. This sounds easy; open the DSL designer, rename the element and then transform all templates to regenerate the code. ...

xUnit.net runs tests in random order

Tuesday, November 6th, 2007

When I was testing the behavior of MSTest's DeploymentItem attributeĀ I relied on fact that MSTest executes tests in a predictable order to figure out how the attribute works. Typically it seems to execute test methods in the order they appear in the class. You should never ever rely on this ...