2012-11-14 16:19:57 -08:00
|
|
|
This is a patched version of NHibernate to prevent background JIT from failing.
|
2013-05-02 11:07:54 -07:00
|
|
|
Applied https://nhibernate.jira.com/browse/NH-2958:o
|
2012-11-14 16:19:57 -08:00
|
|
|
|
|
|
|
private static XmlSerializer _mappingDocumentSerializer = null;
|
|
|
|
|
|
|
|
private XmlSerializer mappingDocumentSerializer
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
if (_mappingDocumentSerializer == null)
|
|
|
|
_mappingDocumentSerializer = new XmlSerializer(typeof (HbmMapping));
|
|
|
|
return _mappingDocumentSerializer;
|
|
|
|
}
|
2013-05-02 11:07:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
It also contains a modified version of Remotion.Linq which doesn't contain JetBrains.Annotations
|
|
|
|
|
|
|
|
Steps:
|
|
|
|
- Clone source from https://github.com/nhibernate/nhibernate-core
|
|
|
|
- Apply patch
|
|
|
|
- Start ShowBuildMenu.bat
|
|
|
|
- Type F
|
|
|
|
- Add a binding redirection to the AssemblyVersion (AssemblyFileVersion might be different)
|