- Something in Windows after an update is causing the issue. I believe this to be highly unlikely because all my other software works fine.
- The problem seemed to coincide with installing the latest version of Visual Studio Professional (2015). This again seems unlikely.
- Something specific to my current project is causing the problem. I think this is the most likely issue, other smaller projects work fine.
I am still looking at how to improve the situation.