Just a note in case anyone is having trouble with the above.
The shipping version of SD3.0 (which I have to say is superb!) contains NUnit and PartCover to provide unit testing and code coverage. There is a smal problem using these on a 64bit platform.
PartCover.exe is a .NET app and as such will default to running as a 64bit process. The COM server PartCover.CorDriver.dll is a 32bit native dll registered with COM. As such it registers in the WOW64 registry on a 64bit OS. This results in the following error when attempting to use code coverage from SD3.0 on a 64bit platofrm.
Retrieving the COM class factory for component with CLSID {6F6225EA-0897-41FA-B1EF-8B4D3E15325E} failed due to the following error: 80040154.
at PartCover.Framework.Connector..ctor()
at PartCover.ApplicationEntry.Main(String[ args)
The work around solution is to mark the partcover.exe as 32bit which will cause it to run as a 32bit process on all platforms. Thus on a 64bit platform partcover.exe will run under WOW64 and the COM registration will be available to it.
This is achieved using the following commands
corflags partcover.exe /32BIT+ /Force
sn -R partcover.exe PartCover.Console.snk
The snk file is available in the source for partcover.exe.
For those wishing to get unit testing with code coverage you will need to do the same corflags trick on nunit-console.exe. This file is not signed so you don't need /Force and you won't need to resign.