dnauck / Portable.Licensing

Portable.Licensing is a cross platform software licensing framework which allows you to implement licensing into your application or library. It provides you all tools to create and validate licenses for your software.
http://dev.nauck-it.de/projects/portable-licensing
MIT License
592 stars 173 forks source link

if (validationFailures.Any()) throws errors #25

Closed acrolink closed 8 years ago

acrolink commented 9 years ago

The error messages:

'System.Collections.Generic.IEnumerable<Portable.Licensing.Validation.IValidationFailure>' does not contain a definition for 'Any' and no extension method 'Any' accepting a first argument of type 'System.Collections.Generic.IEnumerable<Portable.Licensing.Validation.IValidationFailure>' could be found (are you missing a using directive or an assembly reference?)

Any idea what might be going on here? Thanks.

dnauck commented 9 years ago

.Any() is a extension method from System.Linq, so you might be missing a using System.Linq

acrolink commented 9 years ago

Thank you very much @dnauck