The NuGet package provides builds for .NET 2.0, 3.5, 4.0 and 4.5.2 as recommended by Microsoft. If you build against 4.5, NuGet Package Manager will pick the 4.0 package which does include the IReadOnlyList interface since it was not included in the full .NET library until 4.5. If you compile against 4.5.2, you will not see the problem and you will avoid some of security vulnerabilities that were fixed in 4.5.2.
↧