When a big visual studio solution adds or switches projects, many times, a Mixed Platform Visual Studio Project Configuration will be automatically created and SET AS THE ACTIVE CONFIGURATION. Not sure how that happens exactly, but unfortunately it will cause very weird behavior and waste a lot of time if people are not aware of it.
Especially when WPF is used and this happens, the .NET runtime will complain about some weird stuffs like something cannot be found, something is missing, something could not be loaded, a particular line of good code is wrong and so on. The most weird part is that the Visual Studio debugger won't hit any break points that you set into the code.
So, it's likely that many hours will be spent on trouble shooting or digging here and there for some tricky behavior like this. Even for us who have experienced the suffer many times, sometimes it still took quite a while for us to realize the same problem came up again.
The solution is easy and straightforward, removing the Mixed Platform from the solution and setting the active configuration the same as the one working before.
Recent Comments