Sergey,
You were right, I set the xml to Embedded Resource, now that error is solved. But now, I get another error which has to do with the content of the hbm.xml. Does it ring a bell with someone?
Server Error in '/LeagueManager' Application.
--------------------------------------------------------------------------------
This is an unexpected token. The expected token is 'NAME'. Line 5, position 3.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Code:
Exception Details: System.Xml.XmlException: This is an unexpected token. The expected token is 'NAME'. Line 5, position 3.
Source Error:
Line 91: {
Line 92: Configuration config = new Configuration();
Line 93: this._nhibernateConfiguration = config.AddAssembly(this.GetType().Assembly);
Line 94: this._nhibernateFactory = this._nhibernateConfiguration.BuildSessionFactory();
Line 95: }