From 1a13d0860958aec550f247d143a3e514358375e7 Mon Sep 17 00:00:00 2001 From: Stefan Richter <o-s-r1993@web.de> Date: Fri, 24 Nov 2023 20:13:52 +0100 Subject: [PATCH] Info: TupleFactory does need .NET Framework for building. --- Assets/Scripts/MMTServer/CommunicationProtocoll/TupleFactory.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/MMTServer/CommunicationProtocoll/TupleFactory.cs b/Assets/Scripts/MMTServer/CommunicationProtocoll/TupleFactory.cs index 69944308..4f925e03 100644 --- a/Assets/Scripts/MMTServer/CommunicationProtocoll/TupleFactory.cs +++ b/Assets/Scripts/MMTServer/CommunicationProtocoll/TupleFactory.cs @@ -23,6 +23,8 @@ public interface ITupleFactory public static class TupleFactory { // the dynamic module used to emit new types + //This code hast Build problems with for example .NET Standard 2.1: private static readonly ModuleBuilder _module = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName { Name = nameof(TupleFactory) }, AssemblyBuilderAccess.Run).DefineDynamicModule(nameof(TupleFactory), false); + //PLEASE USE .NET FRAMEWORK for building this script. private static readonly ModuleBuilder _module = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName { Name = nameof(TupleFactory) }, AssemblyBuilderAccess.Run).DefineDynamicModule(nameof(TupleFactory), false); // the generic type definitions constructed so far -- GitLab