I have a class library that contains my object model. I'd like each object to have data annotations to place validation rules into my model so that validation can be shared across 2 apps. One is an MVC 2 app and the other is a Windows forms app.
I need to be able to validate the object model manually from code using the data annotations, but without using xVal. When I switch the object model library to the 4.0 client profile it can no longer build with the xVal components. The domain object class library will be distributed with the windows app, so I wanted to utilize the 4.0 client profile.
Any ideas?