Unable to compile or run local copy of this library, too many compilation errors? #300
-
Hello, please help |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@aloksharma1 you haven't actually provided any useful information in your initial comment.... please provide some details like, how your trying to compile the code, what versions of dotnet you are running it against and the most critical thing you should have provided what specific errors you are actually seeing (Line numbers, error codes etc i.e. details from the build output). As you can see from our last build (as of writing) of the |
Beta Was this translation helpful? Give feedback.
-
@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.
However. It sounds to me like you simply want to map commands. You can do that in 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 |
Beta Was this translation helpful? Give feedback.
-
thanks for the reply, it seems apart from shared module there was something wrong with my local copy after deleting it and cloning again, my copy started compiling normally. Another thing i had to fire i am checking the docs, will come back again if i get stuck somewhere. |
Beta Was this translation helpful? Give feedback.
@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.
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