Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeBuilder does not contain a definition for 'CreateType'... #111

Closed
zoalasaurusrawr opened this issue May 27, 2016 · 1 comment
Closed

Comments

@zoalasaurusrawr
Copy link

Hello,

I am attempting to port a project to dotnetcore, and I'm running into trouble. I previously relied upon TypeBuilder.CreateType, but I cannot seem to find it anymore. Has it been moved to another library, or is there perhaps another way to accomplish what this method used to do?

@zoalasaurusrawr
Copy link
Author

zoalasaurusrawr commented May 27, 2016

Found the answer in dotnet/coreclr#2222

'TypeBuilder' does not contain a definition for 'CreateType' and no extension method 'CreateType' accepting a first argument of type 'TypeBuilder' could be found (are you missing a using directive or an assembly reference?)
Use typeBuilder.CreateTypeInfo() instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant