Xamarin – “Project not Built in Active Configuration”

One of the drawbacks of creating a Xamarin Forms solution in Xamarin Studio (Mac) is that a WP project isn’t automatically created for you. Light bulb moment – create the solution in VS running in parallels. This will give you projects for all three platforms. Great….but when I load the solution in Xamarin Studio (OSX)…

VS2012 not loading project -Unable to read project file.

I tried loading a solution I’d been working on at home onto my work machine and one of the projects failed to load with the following error : Unable to read the project file “blah.vcxproj(150,3): The imported project C:\Program Files(x86)\MSBuild\Microsoft\WindowsPhone\v7.0\Microsoft.Cpp.Windows Phone.7.0.targets” was not found. This had me going around in circles and there was a…

Jquery / JS hover / highlight on table with rowspan

I’d been asked to add a hover highlight feature to a table row which seemed relatively straightforward until I realised that there were ‘rowspan’s peppered through the table.  To add a little further complication the rows had a style applied to them for even and odd rows and the odd row styling was interfering with…

Elmah – Not generatting XML Log File

On adding Elmah to my web app (logging to XML files) I noticed that error logging worked fine on my development machine but when deployed to a server nothing was being logged. First thing I did was check that logging was working on the server by removing the errorLog setting in my web.config and trying…

Auditing with NHibernate – Event Listeners

I’ve been doing some work on an application which needed to implement auditing. I wanted to make it as un-obtrusive as possible, basically being able to switch the auditing on and let the system record changes made to entities. Used in conjunction with a generic respository, I’ve got something which is *almost* there. I’m fairly…