Skip to content
Snippets Groups Projects
Commit 1a13d086 authored by Stefan Richter's avatar Stefan Richter
Browse files

Info: TupleFactory does need .NET Framework for building.

parent 2cd23c32
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,8 @@ public interface ITupleFactory ...@@ -23,6 +23,8 @@ public interface ITupleFactory
public static class TupleFactory public static class TupleFactory
{ {
// the dynamic module used to emit new types // 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); 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 // the generic type definitions constructed so far
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment