Validation Application Block Refresh

Topics: Validation Application Block
Aug 6, 2008 at 1:07 PM

I'm using entlib 4.0 in VS2008 sp1beta but have problems with my validation. A simple String Length validator works fine but if I change the value the change is not registered when I run the code - I basically have to close Visual Studio and reload the project to see the change.

Looking at the AspNet example address line 2 seems to have a must be between 0 and 50 charcters if entered (validationquickstart.businessentities.dll.config) but the error I get when running the code is Address line 2 must be empty, or between 5 and 50 characters. Is this in some way linked with my error and is there any way to force it to recognise the changes to the validation values?