Hi, I have a strange problem... When I run my application (F5 -debug) from Visual studio 2015, it throws exception: Could not compile mapping document DomainModel. Cannot extend unmapped class:ClassA. But if I run the same application (F5-debug) from Visual Studio 2013 it works without problem.
Considerations: .Net version: 4.5.1 NH version: latest stable (4.0.4) from nuget Mapping used: Mapping by convention and by code. Windows version : Server 2012 R2 x64 Build configuration: Debug, AnyCpu C# version: 5.0 Steps: 1. Re-Build application in VS 2015 2. Run the application from Visual Studio 2015 in debug mode 3. Throws exception 4. Re-build application in VS 2013 5. Run the application from VS 2013 in debug mode 6. Works without any errors 7.Run the Application that was build in VS 2013, from VS 2015 8. Works without any problems. So I think it has something to do with the Roslyn compiler of VS 2015. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
