Skip to content

Unable to compile or run local copy of this library, too many compilation errors? #300

Discussion options

You must be logged in to vote

@aloksharma1 It sounds like you are not installing the git submodule which contains the validation rules and other helper classes.

I've copied the git instructions from the readme to allow that.

git submodule update --init --recursive

However. It sounds to me like you simply want to map commands. You can do that in ImageSharpMiddlewareOptions.OnParseCommandsAsync event at startup.

On this documentation page you can see an example of how to manipulate the commands recognized by the middleware.

https://docs.sixlabors.com/articles/imagesharp.web/gettingstarted.html#setup-and-configuration

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by aloksharma1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants