Hello,
I am trying to use the framework on an asp.net core mvc project but I get an runtime exception. I am able to build the XML document, but directly after that I get the following exception:
System.NotSupportedException
HResult=0x80131515
Message=The invoked member is not supported in a dynamic assembly.
Source=mscorlib
StackTrace:
at System.Reflection.Emit.InternalAssemblyBuilder.get_Location()
at MARC.Everest.Formatters.XML.ITS1.CodeGen.CodeGenFormatter.CreateFormatterAssembly(Type[] rmimTypes, List`1 aides, Boolean generateDeep)
at MARC.Everest.Formatters.XML.ITS1.XmlIts1Formatter.BuildCache(Type[] t)
at MARC.Everest.Threading.WaitThreadPool.DoWorkItem(WorkItem state)
at MARC.Everest.Threading.WaitThreadPool.DispatchLoop()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
I am using the .NET Framework 4.6.1 and I already know that the problem comes from my method for formatting the document:
Hello, I am trying to use the framework on an asp.net core mvc project but I get an runtime exception. I am able to build the XML document, but directly after that I get the following exception:
System.NotSupportedException HResult=0x80131515 Message=The invoked member is not supported in a dynamic assembly. Source=mscorlib StackTrace: at System.Reflection.Emit.InternalAssemblyBuilder.get_Location() at MARC.Everest.Formatters.XML.ITS1.CodeGen.CodeGenFormatter.CreateFormatterAssembly(Type[] rmimTypes, List`1 aides, Boolean generateDeep) at MARC.Everest.Formatters.XML.ITS1.XmlIts1Formatter.BuildCache(Type[] t) at MARC.Everest.Threading.WaitThreadPool.DoWorkItem(WorkItem state) at MARC.Everest.Threading.WaitThreadPool.DispatchLoop() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
I am using the .NET Framework 4.6.1 and I already know that the problem comes from my method for formatting the document:
private static void PrintXml(ClinicalDocument ccda, Stream stream) {
If someone can help me fixing this I would be really thankful