I've got a really frustrating error in Visual Studio 2013. For some projects I need .Net 4.5 so I've installed that framework. Now I get problems with any project targetting .Net 4.0 - a dialog tells me 'The project is targetting ".NETFramework,Version=v4.0" which is not installed on this machine.'
I've tried going to the Microsoft website to download the targetting pack for this version, but it tells me that .Net v4.0 itself is not installed so the targetting pack refuses to install as well. Repairing VS 2010 and/or VS 2013 does nothing to fix the problem.
What can I do? I can't change the project to target v4.5 but my machine now seems to reject lower versions!