Reinforced.Typings
Reinforced.Typings copied to clipboard
RT0999: A BadImageFormatException has been thrown while parsing the signature.
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.
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.