My development team has been using TeamCity with C# since March and recently started noticing major TeamCity slowness. We started reading up on how to fix this and realized we needed to move to an external database. However, in order to do this, we had to upgrade TeamCity from version 7.0 to 7.1.
When we finally completed both steps, we noticed some major differences with TeamCity. Tests that were passing on our development boxes and manually on the TeamCity boxes were failing when run through TeamCity. Looking into these tests, whenever ConfigurationManager.AppSettings.Get() was called, it returns null. This seems to only happen in a separate project from the main website. Also, we found some major duplication when tests were being run. Originally, we had about 5200 unit tests running upon check in, but now we are seeing 6000+ tests being run. These tests are mixed between NUnit and MSTest.
In short, my two questions are:
Is there a problem with how TeamCity builds that the web.config cannot be read through a separate project?
How do I track why these tests are being duplicated?
At this time, we are uncertain these problems came from the upgrade or the transfer to an external database.