Tips and Tricks in a world of Mix

Posts tagged ‘xVal’

Upgrade to MVC2

 

Well , the problem I’ve met was moving to a new computer.

All of a sudden my development project , that has been upgraded from MVC1 to MVC2 months ago , suddenly refused to work . My new computer never had the installation of MVC1. (You can check if the GAC is familiar with MVC1)

 

I’ve got message saying that I’ve got MVC1 references in my project :

 ScreenShot004

The stack trace was :

ScreenShot005

So I started looking for MVC1. Well after a little wild I found this :

ScreenShot006

Through Red Gate’s .Net Reflector I opened a suspicious  .dll in this mortal sin , and found out that the Mvc it references is MVC1. Also in their site it said :

Important: xVal is recommended for use only with ASP.NET MVC 1.0

If you’re using ASP.NET MVC 2.0 or later, the framework has built-in support for generating client-side validation logic directly from model metadata. You can still use xVal if you wish, but it won’t be actively developed or supported.

http://xval.codeplex.com/

My solution was

(more…)

Tag Cloud

%d bloggers like this: