Last post Mar 20, 2008 08:23 AM by Slongcore
Mar 12, 2008 06:31 PM|mateo666|LINK
I've added th validation toolkit projet to my MVC project but i get compilation errors du to the System.Web.Extension version.
The validation toolkit uses the 3.6 version and the mvc use the 3.5 version?
I've deleted the System.Web.Mvc, Route, Abstraction and replaced the Extension one with the 3.6 but now i get this error:
Error 5 The type or namespace name 'BindingHelperExtensions' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
Which version is the current one. I would guess 3.6 as it is > than 3.5 :)
And does the BindingHelperExtensions exist anymore ?
Mar 12, 2008 07:34 PM|marcind|LINK
Which version of MVC are you using? The validation toolkit (I'm assuming you are talking about the validation code contained in the
MVCToolkit) was written for the December CTP of ASP.NET 3.5 Extensions (that is the one where System.Web.Extensions has version 3.6). It will probably not work with the recently released
MVC Preview 2 (which uses 3.5 assemblies).
Mar 20, 2008 08:23 AM|Slongcore|LINK
If you're talking about the MVC Validation Toolkit off of CodeProject using jQuery, you need to use the 3.5 version of Extensions because you've updated to MVCPreview 2. The toolkit was written against against the December release. Download the source
of the toolkit form CodePlex (here), remove the 3.6 reference, add the 3.5, and then put the System.Web.Mvc
/ .Abstraction / .Routing into the bin. It should compile after that. Then add that newly compiled dll to your project.
BindingHelperExtensions is in the System.Web.Mvc assembly.