Discussion:
[nhusers] v5.0.3 BuildSessionFactory() exception in UWP application
JJ BB
2018-02-09 14:07:20 UTC
Permalink
Hi folks,

I'm migrating my NH helpers library from Net 4.7 to Netstandard 2.0.

This new Netstandard 2.0 library helper works fine when it is called from
Net 4.7 console program (I attached the example).

But when I call the helper from an UWP program (target version 10.0.16299),
BuildSessionFactory() fails with this exception: Could not load file or
assembly 'System.Security.Permissions, Version=4.0.1.0, Culture=neutral,
PublicKeyToken=cc7b13ffcd2ddd51'

Please can you help me?

I attach examples

Cheers
--
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 nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Loading...