I have created a custom attribute in my asp.net MVC application using the following link:
but I am getting following errors:
Error 52 The type or namespace name 'IClientValidatable' could not be found (are you missing a using directive or an assembly reference?)
Error 53 The type or namespace name 'ModelClientValidationRule' could not be found (are you missing a using directive or an assembly reference?)
Error 54 The type or namespace name 'ModelMetadata' could not be found (are you missing a using directive or an assembly reference?)
Error 55 The type or namespace name 'ControllerContext' could not be found (are you missing a using directive or an assembly reference?)
I am using asp.net MVC 4 beta.
I tried to add reference of asp.net.MVC to the project but it is not available in add reference dialogue.
Please suggest how to fix it