I've tried to add a .ascx user control to my EditorTemplates but doing so causes a hundred erros to pop up in my MVC 3 project. Every reference to "System." errors as "is not defined" and the compiler wants me to update them to "Global.System."
Can anyone tell me why adding the user control does this?
Thank you
UPDATE:
If i take out the code-behind files that are automatically created (and I don't think I need) then the problems seem to resolve. Very interesting...