title: Error with Azure Function and Docker
body: <p>I am trying to implement the ICS creator sample for Azure Functions: <a href="https://github.com/Azure-Samples/azure-functions-create-ics-file-using-csharp-sample" rel="nofollow noreferrer">https://github.com/Azure-Samples/azure-functions-create-ics-file-using-csharp-sample</a>. </p>
  
  <p>I followed all the steps there, but the difference with my implementation is that I'm running the function locally with Docker, and I am getting this error: </p>
  
  <blockquote>
    <p>An unhandled exception occurred while processing the request.</p>
    
    <p>CompilationErrorException: Script compilation failed.
    Microsoft.Azure.WebJobs.Script.Description.DotNetFunctionInvoker+d__26.MoveNext()
    in DotNetFunctionInvoker.cs, line 313</p>
    
    <p>FunctionInvocationException: Exception while executing function:
    Functions.swinvite
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()</p>
  </blockquote>
  
  <p>Per my understanding, the error is related with the ical.net library, that is not being imported to the image. 
  Any ideas? </p>
  
  <p>Thank you in advance.</p>