V4 Licensing: Please allow some flexibility in the location of the LIC file (please follow PostSharp's implementation) #3139
Replies: 2 comments
-
But you don’t. You can set the path to the file. https://docs.sixlabors.com/articles/imagesharp/index.html?tabs=tabid-1#how-to-use-the-license-file |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sending that over, but even that process still requires that I go figure out exactly which of my projects use ImageSharp and make the edit to the CSProj. It would be a lot nicer if I could just drop the license into my private repository root and have it work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ImageSharp,
I'm a personal developer but I imagine this will hold true for corporate users as well.
Here is my setup:
The current way the license detection works, I have to figure out every single project that uses ImageSharp and then add a license file to it. That is pretty messy because I'll have LOTS of copies of the same license file out there - one in each project that uses ImageSharp.
I also use PostSharp, and they have similar licensing but it is much nicer/easier to work with. When looking for the license file, PostSharp will search each parent path. This allows me to put one copy of the license file in the root of each of my two repositories and simply be done.
Can you please enable something like that?
Also - I'd suggest making the license check only apply to apps built in RELEASE mode. If you enable DEBUG mode as essentially a trial, it will let folks start developing against ImageSharp quickly without creating friction.
Beta Was this translation helpful? Give feedback.
All reactions