如何解决流畅的验证错误 [英] how to solve fluentvalidation error

查看:121
本文介绍了如何解决流畅的验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i在流利验证中出错

i安装了流利验证

i试图在谷歌搜索解决方案,但没有成功。

请给我一个解决方案..


i have an error in fluentvalidation
i installed fluentvalidation
i tried to search on google for solution, but not success.
please give me a solution for this..

using FluentValidation.Mvc;
.
Error   78  The type or namespace name 'Mvc' does not exist in the namespace 'FluentValidation' (are you missing an assembly reference?)    D:\GlobalMVC\trunk\Website\Global.asax.cs   7   24  Global
.
.
protected void Application_Start()
        {           
            FluentValidationModelValidatorProvider.Configure();
        }
.
Error	79	The name 'FluentValidationModelValidatorProvider' does not exist in the current context	D:\GlobalMVC\trunk\Website\Global.asax.cs	81	13	Global

推荐答案

按照下面的链接,根据您发布的问题,这意味着您在与MVC集成时缺少某些程序集或配置问题

在此处关注文档 [ ^ ]

我希望这会有所帮助。如果有任何问题,请cmment。

谢谢

:)
Follow the link below, according to the questionyou have posted,this means that you are missing some assembly or some problem with configuration while integrating with MVC
Follow Doc here[^]
I hope this helps. Please cmment if any issue.
Thanks
:)


这篇关于如何解决流畅的验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆