-
-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Our continuous integration builds on Azure DevOps just started having this problem. Didn't update any of this code. Happening with Unity.Container.dll version 5.11.11.0 s well as 5.11.8.0 on older projects. Not able to reproduce locally in visual studio. any ideas??
var container = new UnityContainer();
Initialization method Heska.Core.Tests.Domain.ServicesUnitTests.StudyServiceCreateLocalStudyFromServerForTests.ATestInitialize threw exception. System.TypeInitializationException: The type initializer for 'Unity.Lifetime.TransientLifetimeManager' threw an exception. ---> System.Security.VerificationException: Operation could destabilize the runtime..
Stack trace
at Unity.Lifetime.TransientLifetimeManager..cctor() in C:\projects\abstractions\src\Lifetime\Managers\TransientLifetimeManager.cs:line 26