Portable.Licensing examples don't compile (Support #145)


Added by Larry Heller about 3 years ago. Updated about 3 years ago.


Status:Resolved Start date:03/05/2014
Priority:Normal Due date:03/06/2014
Assignee:Larry Heller % Done:

100%

Category:-
Target version:1.1.1

Description

In http://dev.nauck-it.de/projects/portable-licensing/wiki/GettingStarted the example given for validation does not compile with the error 'Cannot resolve symbol Validate'.

1var validationFailures = license.Validate()  // cannot resolve symbol Validate
2                                    .ExpirationDate()  
3                                        .When(lic => lic.Type == LicenseType.Trial)  
4                                    .And()  
5                                    .Signature(publicKey)  
6                                    .AssertValidLicense();

Associated revisions

Revision 27db450b
Added by Daniel Nauck about 3 years ago

Updated docs about license validation

  • added missing using statement, fixes #145
  • added example on how to validate the result of the license validator, refs #146

History

Updated by Daniel Nauck about 3 years ago

Hello,

the validation is based on extension methods. Make sure you have a

1using Portable.Licensing.Validation;

Please close this ticket if it solves your problem.

  • Description changed from In http://dev.nauck-it.de/projects/portable-licensing/wiki/GettingStarted the... to In http://dev.nauck-it.de/projects/portable-licensing/wiki/GettingStarted the... More
  • Due date set to 03/06/2014
  • Status changed from New to Feedback
  • Assignee changed from Daniel Nauck to Larry Heller

Updated by Larry Heller about 3 years ago

It did solve the problem, thanks, but I don't know how to close the ticket.

Updated by Daniel Nauck about 3 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF