the error message says there is no file GazelleInfo.hbm.xml in this path. Double check that it is there (CopyToOutputFolder=true) and the name is exactly the same
–
FiroDec 10 '13 at 11:46

The file name is absolutely correct and file is Embedded source,and Copy to directory=Do not copy in the properties.
–
Rituraj MishraDec 10 '13 at 11:54

All my hbm files are at this location C:\Users\Admin\Desktop\WomensCare\womencare\Data\EntityObjects\hbm but the compiler is searching for the hbm at 'C:\WC\womencare\Data\EntityObjects\hbm\Hibernate.cfg.xml how to overcome this problem
–
Rituraj MishraDec 10 '13 at 12:03

you set your hbm to embedded resource but try to load them from the filesystem? this seems wrong. Also the config path could be relative instead of absolute which explains that the path is not as you expect
–
FiroDec 10 '13 at 12:48

I have overcome the path problem but there is one new problem [XmlSchemaException: The Enumeration constraint failed.] [XmlSchemaValidationException: The 'name' attribute is invalid - The value 'hbm.ddl.auto' is invalid according to its datatype 'String' - The Enumeration constraint failed.]
–
Rituraj MishraDec 11 '13 at 4:44