Reinforced.Typings icon indicating copy to clipboard operation
Reinforced.Typings copied to clipboard

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

Open lukoerfer opened this issue 3 years ago • 1 comments

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.

lukoerfer avatar Feb 15 '22 10:02 lukoerfer

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.

lukedukeus avatar Nov 29 '22 17:11 lukedukeus