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

The type initializer for 'GraphQL.Net.DynamicTypeBuilder' threw an exception.” #87

Open
seven1986 opened this issue Nov 8, 2017 · 8 comments

Comments

@seven1986
Copy link

image

@aodpi
Copy link

aodpi commented Dec 3, 2017

I'm having the exact same issue 😢

@buster95
Copy link

image

that's so sad

@ernestjohn
Copy link

Anyone find out the cause of the error?

@chkimes
Copy link
Owner

chkimes commented Mar 14, 2018

For everyone experience this issue, what version of .NET are you running? I expect this is due to API changes in dynamic type creation on .NET core.

@modmoto
Copy link

modmoto commented Apr 1, 2018

I have the same issue and run on .net core. Is this library even done for .net core? Visual Studio tells me, that it is incompatible with my current .net core project. I thought it is not compatible, that is why i had to abandon the idea to use graphql.net. But it kind of sounds, that you want to support it? Because the idea is absolutely nice and exactly what i would need.

@vertonghenb
Copy link

vertonghenb commented Apr 1, 2018

If you're using .NET Core it will always throw this error, we should consider targeting .NET Standard as mentioned in #34

.NET Core 2.0
.NET Core 2.1 (Preview)

@modmoto
Copy link

modmoto commented Apr 1, 2018

I allready tried to compile it against .net core, but i have too few experience in this and I failed. I would love to see a .net core version of this and would like to help, if there is something i could do.

@jvitor83
Copy link

Hi guys, i just could workaround this issue by doing this change jvitor83@26a5f6d#diff-8fa9aa5aed6d6219daacaa099553fe78R16

Don't know if it is enough to a PR fix, but i could make it work with asp.net core.

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

8 participants