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=, 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
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. 😉

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.