We have a team developing (each his part of) an app on VS2010, all targeting .NET 4.0 Some code worked perfect on one machine while on the other it had the strangest problems.
We checked for ages for the problem until we finally started checking solution that are not code related. We ended up comparing the configuration of the platforms - after a lot of testing, we found that when installing .NET 4.5 on the machines it showed problems on, it all worked fine. We tried is since the dev dude that was delivering the dll, had it installed on his platform.
It was strange to swallow, but it worked...
(BTW, if someone has encountered this also, our eery code behaviour was when using C# transactions.)
How is that possible that just having the .NET 4.5 on your computer effects how apps that target .NET 4.0 work?