This project has moved and is read-only. For the latest updates, please go here.

System.Reflection.BindingFlags Build Warnings on Windows Phone


Hey there,

Really great work on the library. I use it basically everywhere!
However, I encountered a build warning when I build my Windows Phone app, something like the following:

c:\a\src\external\packages\Newtonsoft.Json.4.5.11\lib\portable-net40+sl4+wp7+win8\Newtonsoft.Json.dll: Reference to type 'System.Reflection.BindingFlags' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile78\mscorlib.dll', but it could not be found

The message comes off a visual studio online build server but also repro on my local machine. Although it doesn't block me using the library (and all the functionality seems fine), I feel like reporting this anyway.



Ozzy1 wrote Apr 27, 2014 at 7:17 PM

Still seeing this in Newtonsoft.Json.6.0.3

wrote Jul 29, 2014 at 1:52 PM

wrote Nov 3, 2014 at 12:46 PM

wrote Dec 10, 2014 at 6:12 PM

RandomEngy wrote Dec 10, 2014 at 6:13 PM

This is blocking me from enabling Warning as Error in my solution.

wrote Apr 28, 2015 at 6:34 PM

rainman63 wrote Apr 28, 2015 at 6:36 PM

Causes errors when using Code Analysis.

RandomEngy wrote Jul 9, 2015 at 10:44 PM

I don't see the warning anymore in 6.0.8. Perhaps it's fixed!