Compiling NHibernate.Validator fails with two problems. The nant
compile using the provided build.bat fails with the following message:

    The SDK for the 'net-3.5' framework is not available or not
configured.

After that, I tried compiling using Visual Studio which gave the
following compile errors:

\src\NHibernate.Validator\Event
\ValidatePreInsertEventListener.cs(61,35): error CS1061:
'NHibernate.Event.PreInsertEvent' does not contain a definition for
'Source' and no extension method 'Source' accepting a first argument
of type 'NHibernate.Event.PreInsertEvent' could be found (are you
missing a using directive or an assembly reference?)

\src\NHibernate.Validator\Event
\ValidatePreUpdateEventListener.cs(21,35): error CS1061:
'NHibernate.Event.PreUpdateEvent' does not contain a definition for
'Source' and no extension method 'Source' accepting a first argument
of type 'NHibernate.Event.PreUpdateEvent' could be found (are you
missing a using directive or an assembly reference?)

This refers to the Source parameter being renamed to the Session
parameter.

After correcting these issues, it compiles correctly under Visual
Studio framework 3.5 (correctly set with the project configuration).
It would be greatly appreciated when these issues were fixed in the
trunk.

-- 
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhcdevs?hl=en.

Reply via email to