Tuesday, March 06, 2007

Fix for Could not load NUnit.core error

Spent a few hours today trying to find out why i suddenly started getting

System.IO.FileNotFoundException: Could not load file or assembly 'nunit.core, Version:2.2 ......' or one of its dependencies.

Turns out there was the config file was not valid xml. so if the nunit project was MyProject.nunit and then the config file MyProject.config had invalid xml content.

Friday, January 05, 2007

Here's some powershell script/command to find who is logged in on a RemoteMachine.

Get-WmiObject -computerName ComputerName -class Win32_ComputerSystem -Property UserName | findstr UserName