Trying to port an application from .net 4.5 to .net core for a client. I'm noticing that CreateType is no longer part of TypeBuilder. I've searched through multiple of the new reflection libs with no luck. Does anyone know how to port this?
Code in question:
typeBuilder.CreateType()
I found the answer, but in a different repository than I expected. CreateType was dropped, and CreateTypeInfo should be used now per this:
https://github.com/dotnet/coreclr/issues/2222
Hope this saves someone else time.