I have a project targeted to .Net 4.0. It used to build till yesterday. I looked at code and referenced assemblies. I can see the Extension attribute defined. Anyone has any clue about it.
I referred following questions but no help - "Missing compiler required member" error being thrown multiple times with almost no changes to code
* UPDATE 1: * I see Npgsql is defining ExtensionAttribute in the same namespace. When I removed and added older version of Npgsql, it built. What should I do to use latest Npgsql?
This happened to me recently, and my research kept coming back to problems with JSON.Net not targeting the correct version.
If you are using it, I would suggest removing it from your references, and removing the lines from your packages.config that also reference it. Then re-install it through NuGet and compile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With