c# - Honeypot Attribute creates syntax error in MVC 3 project -
i went following link , started performing instructions step-by-step.
https://github.com/webadvanced/honeypot-mvc/wiki/simple-getting-started-guide
i added using simplehoneypot.core; @ top of controller.
i have listed dll's, when try add honeypot attribute httppost method, syntax error.
it says type simplehoneypot.core.honeypot exists in both '...mvc2.dll' , '...mvc3.dll'. previously, tried delete mvc2.dll package, then honeypot didn't appear recognized @ all.
how use honeypot attribute in controller?
in references folder in solution, delete reference simplehoneypot.net4.mvc2. make sure reference simplehoneypot.net4.mvc3 still there. application should build.
Comments
Post a Comment