Trying to publish a WPF project as an xbap to an IIS instance, while internally using NHibernate + SQL CE for storage.
Getting
Startup URI: http:///PROJ/WpfBrowserTest.xbap
Application Identity: http:///PROJ/WpfBrowserTest.xbap#WpfBrowserTest.xbap, Version=1.0.0.19, Culture=neutral, PublicKeyToken=df2c8f8ef56d960e, processorArchitecture=msil/WpfBrowserTest.exe, Version=1.0.0.19, Culture=neutral, PublicKeyToken=df2c8f8ef56d960e, processorArchitecture=msil, type=win32
System.Runtime.Serialization.SerializationException: Unable to find assembly 'NHibernate, Version=1.2.0.3001, Culture=neutral, PublicKeyToken=aa95f207798dfdb4'.
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
For other dependencies (3rd party libs) we have signed/strong named some other (Interop) assemblies, involving disassembling, signing, reassembling them.
Didn't find much of value on Google/StackOverflow. Any ideas on what's the problem here?