Я создаю Hello World Xamarin. ios проект библиотеки классов.
Я добавляю Nuget Embeddinator 4000.
Я строю его в Visual Studio 2019 на Windows 10.
Но когда я запускаю objcgen .exe, чтобы сделать преобразование Embeddinator, я получаю ошибку ниже ...
C:\Users\Doug\.nuget\packages\embeddinator-4000\0.4.0\tools\objcgen.exe --gen=Obj-C --platform=ios --compile --debug --verbose `embedinnator2 class lib.dll'
Parsing assemblies...
Parsed 'embedinnator2 class lib.dll'
Processing assemblies...
Processing: 1 assemblies
Processing Assembly: embedinnator2 class lib
Processing Type: embedinnator2_class_lib_Class1
TypeMapper Register: System.Void .ctor() init
1 types found
Generating binding code...
Begin Generator
Generating Assembly: embedinnator2 class lib
Generating Type: embedinnator2_class_lib_Class1
Generated: .\bindings.h
Generated: .\bindings-private.h
Generated: .\bindings.m
Generated: .\bindings.xml
Generated: .\embeddinator.h
Generated: .\glib.h
Generated: .\mono_embeddinator.h
Generated: .\mono-support.h
Generated: .\objc-support.h
Generated: .\glib.c
Generated: .\mono_embeddinator.c
Generated: .\objc-support.m
Generated: .\Make.config
Compiling binding code...
EM0000: Unexpected error - Please fill a bug report at https://github.com/mono/Embeddinator-4000/issues
System.NullReferenceException: Object reference not set to an instance of an object.
at Embeddinator.ObjC.SystemCheck.VerifyMono()
at Embeddinator.ObjC.Embedder.VerifyDependencies()
at Embeddinator.ObjC.Embedder.Compile()
at Embeddinator.ObjC.Driver.Main2(String[] args)
at Embeddinator.ObjC.Driver.Main(String[] args)
Debug Log:
Processing: 1 assemblies
Processing Assembly: embedinnator2 class lib
Processing Type: embedinnator2_class_lib_Class1
TypeMapper Register: System.Void .ctor() init
Begin Generator
Generating Assembly: embedinnator2 class lib
Generating Type: embedinnator2_class_lib_Class1