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

RT0999: A BadImageFormatException has been thrown while parsing the signature. #232

Open
lukoerfer opened this issue Feb 15, 2022 · 1 comment

Comments

@lukoerfer
Copy link

After adding the Reinforced.Typings package and the Reinforced.Typings.settings.xml file to my project, the following error occurs when building the project:

RT0999: A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure genericTypeArguments and genericMethodArguments are provided and contain enough context.

I guess this is somehow related to the assembly loading process, however I got no idea how to fix or even debug this issue for further details.

@lukedukeus
Copy link
Contributor

I switched from Debug>Any CPU to Debug>x64 and the error went away. I assume that the nuget package was corrupted in some way, deleteing AppData.nuget\Reinforced.Typings and reinstalling also works.

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

2 participants