I cannot run MSTest Tests with code coverage enabled when using NHibernate. The following error message appears:
Unit Test The adapter threw an exception: Type not allowed for member "NHibernate.Cfg.HibernateConfigException, NHibernate, Version = 2.1.2.4000, Culture = neutral, PublicKeyToken = aa95f207798dfdb4 '..
Edit: The same thing happens when I turn on deployment (open local settings as part of deployment deployment)
, , . , . , , (). , xml . , Local.testsettings , "" , " " hibernate.cfg.xml , . . .