Ok,
It is not possible to set the build action of a file to embedded in a webproject. Is there any to work around this problem ? At the moment my mapping files are not found.
Thanx !
Hibernate version: 1.0.2
Full stack trace of any exception that occurs:
Code:
[MappingException: Resource: laboMethod.hbm.xml not found]
NHibernate.Cfg.Configuration.AddClass(Type persistentClass) +238
ews.RegManager..ctor() in C:\Documents and Settings\TVleminckx\My Documents\Visual Studio 2005\WebSites\EWSweb\App_Code\RegManager.vb:12
_Default..ctor() in C:\Documents and Settings\TVleminckx\My Documents\Visual Studio 2005\WebSites\EWSweb\Default.aspx.vb:5
ASP.default_aspx..ctor() in C:\Documents and Settings\TVleminckx\My Documents\Visual Studio 2005\WebSites\EWSweb\Default.aspx.vb:912304
__ASP.FastObjectFactory_app_web_onlm04e2.Create_ASP_default_aspx() +38
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +98
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +162
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +56
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +112
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +352
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +182
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +191
Name and version of the database you are using: MsSQL 2000