Always prompted that addassembly is not available. . Finally, there is no way, change a method, it is OK.
such
Cfg.addresource ("NHibernate.examples.vb.user.hbm.xml", System.Reflection.Assembly.GetexecutingAssembly)
Use AddResource
but. I also checked some about use
This embedded information resources under much more convenient Public Function GetEmbeddedResource (ByVal strname As String) As System.IO.Stream Return System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream (strname) End Function