Hello,
I created a WPF app in Visual Studio 2013 on Windows 8.1. It compiles correctly, with no warnings. I debugged it, tested it thoroughly and everything passed. Then I tried to run it on a Windows 7 machine (it did not have .NET 4.5 installed), but the application would crash immediately with NullReferenceException. I tried to find the source of the problem, but I couldn't find any - so I tried to target .NET 4.5 instead of the revised .NET 4.5.1.
Guess what, when I ran it in Windows 7, it correctly recognized that .NET 4.5 was missing and, after installing the framework, it ran correctly.
My question is, why did the application crash without telling that it misses the .NET 4.5 framework when targeted for .NET 4.5.1? Why did it tell what's missing when I retargeted? Mind you, I didn't change any code. Could this be a bug?