Open cherchyk opened 6 years ago
Has the same errors.
`14:56:31.778 [Error] Function compilation error
Microsoft.CodeAnalysis.Scripting.CompilationErrorException : Script compilation failed.
at async Microsoft.Azure.WebJobs.Script.Description.DotNetFunctionInvoker.CreateFunctionTarget(CancellationToken cancellationToken) at C:\azure-webjobs-sdk-script\src\WebJobs.Script\Description\DotNet\DotNetFunctionInvoker.cs : 314
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.Description.FunctionLoader`1.GetFunctionTargetAsync[T](Int32 attemptCount) at C:\azure-webjobs-sdk-script\src\WebJobs.Script\Description\FunctionLoader.cs : 55
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
`
You're missing the SixLabors.ImageSharp package - you need to add this in through Pacakage Manager.
SixLabors.ImageSharp is in pre-release so will not show in Nuget Package Manager unless you tick the "include pre-release" checkbox. You can also add it through the PM Console using Install-Package SixLabors.ImageSharp -Version 1.0.0-beta0007
I was following this scenario https://docs.microsoft.com/en-us/azure/event-grid/resize-images-on-storage-blob-upload-event?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=net#deploy-the-function-code
here is the error