It seems that VS2010 is for some reason trying to start one of the applications and the error is being thrown by log4net. I've tried deleting the user settings files and resetting VS2010's settings to no avail.

Why would VS2010 be trying to run or start one of the application projects in my solution when opening a XAML file in a different project, and how can it be related to CM?