CompliationLock throws HttpException when registering areas for ASP.NET MVC unit tests
- by patridge
The moment I added a unit test to my ASP.NET MVC application to test some of the area routing, I got an HttpException coming out of the System.Web.Complication.CompilationLock type initializer with the following stack trace.
System.Web.HttpException : The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception.
---->…