Introducing a new member to the team is always a good thing. This brings up problems that would stay under the radar otherwise. Our new tester experienced an application crash that we’ve never seen before.
Using the remote debugger we discovered the actual exception:
[TypeLoadException: Could not load type ‘System.Security.Claims.ClaimsIdentity’ from assembly ‘mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.]
Turned out the newly installed machine was still on .NET Framework 4.0 and we target the 4.5 Framework in our build. Other testers have Visual Studio 2015 installed to use the Test Manager feature. That installs the 4.5 Framework on their machines. The new tester hadn’t yet installed anything.
Image courtesy of toonsteb / FreeDigitalPhotos.net
Our users will be on the .NET 4.0 Framework. So we changed the framework target to 4.0 in the project and the new bug was resolved and fixed. 😉