container.RegisterTypes( AllClasses.FromLoadedAssemblies() .Where(t => t.GetCustomAttributes<abcAttribute>(true).Any()), WithMappings.FromMatchingInterface, WithName.Default, WithLifetime.PerThread);
An error occurred when trying to create a controller of type 'ABCController'. Make sure that the controller has a parameterless public constructor.","ExceptionType":"System.InvalidOperationException
tried creating parameterless constructor but again get same exception. the exception does not occur when solution is cleaned and build for the first time <pre>public ABCController() { }
Quote:Problem is sometimes i get following exception which goes if i clean and rebuild the solution. am i missing something ?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)