This project has moved. For the latest updates, please go here.
7
Vote

System.Reflection.BindingFlags Build Warnings on Windows Phone

description

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.

Thanks,
Chris

comments

Ozzy1 wrote Apr 27, 2014 at 6:17 PM

Still seeing this in Newtonsoft.Json.6.0.3

wrote Jul 29, 2014 at 12:52 PM

wrote Nov 3, 2014 at 11:46 AM

wrote Dec 10, 2014 at 5:12 PM

RandomEngy wrote Dec 10, 2014 at 5:13 PM

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

wrote Apr 28, 2015 at 5:34 PM

rainman63 wrote Apr 28, 2015 at 5:36 PM

Causes errors when using Code Analysis.

RandomEngy wrote Jul 9, 2015 at 9:44 PM

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