mirror of
https://github.com/junian/Standard.Licensing.git
synced 2026-04-25 05:45:51 +03:00
[GH-ISSUE #11] The license signature and data does not match. #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Standard.Licensing#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dhineshmuthuvel on GitHub (Jan 5, 2020).
Original GitHub issue: https://github.com/junian/Standard.Licensing/issues/11
Followed the steps mentioned in the readme, however getting the error in the validationfailures.ToList(). Any Idea on this ?
The license signature and data does not match. This usually happens when a license file is corrupted or has been altered.
@ZiTsi commented on GitHub (Jan 7, 2020):
Are you using the
File.WriteAllText("License.lic", license.ToString(), Encoding.UTF8);way to save the license to a file?
If so try the second one, ie:
using (var xmlWriter = System.Xml.XmlWriter.Create(filePath)) { license.Save(xmlWriter); }@ChristophBachmann commented on GitHub (Jan 16, 2020):
I had the same issue. Your solution (using seconde one with xmlWriter) resolved the issue.
@valimaties commented on GitHub (Jun 22, 2020):
Mine does not work at all.
Neither the first, neither the second solution, both of them generates "Data at the root level is invalid: Line 1, position 1."
@leonkosak commented on GitHub (Nov 5, 2020):
Offtopic question. Is this project still maintained?
@valimaties commented on GitHub (Nov 5, 2020):
I don't think so @leonkosak
@skst commented on GitHub (Mar 29, 2024):
Yes, it was just upgraded to .NET 8.
@pjsgsy commented on GitHub (Jan 23, 2025):
I just wanted to say thanks. I was suffering from the same issue. After 60 minutes of head-scratching, I found this. The solution works for me. For some reason, if you echo the XML and manually save that as a file, validation fails. Writing the file with the call produces a file that validates. Happy days :) Thanks for a great little library!