I not sure if this is good place to ask this question or not. If not please direct me to right place.
I'm using Repository pattern and using
x.Namespace != null && (x.Namespace.Contains("TM.Service") ||
every thing works at first, but after changing cshtml file or even a js file at run time, (Start debugging or Start without debugging) I get "The type IUserService does not have an accessible constructor." error!
That's driving me crazy, because that was working just a second ago!
When this error occurs, restarting webapp doesn't work or even building project. The only way to get webapp running again is to Rebuild Solution.
btw, my repositories and services are in separate projects.