title: how to deploy a custom dll along with azure function using appveyor
body: <p>Deploying azure function using appveyor is straightforward as described by this article - <a href="https://alastairchristian.com/deploying-azure-functions-from-appveyor-75fe03771d0c#.x7stvprna" rel="nofollow noreferrer">https://alastairchristian.com/deploying-azure-functions-from-appveyor-75fe03771d0c#.x7stvprna</a></p>
  
  <p>Further what I am not able to figure out is how to deploy a custom dll (library part of the same repo) in the /bin folder to be able to use #r and use the reference.</p>
  
  <p>Manual process is just to copy the dll in the /bin folder using Kudu and start using it.</p>
  
  <p>Also refer to this discussion on appveyor - <a href="http://help.appveyor.com/discussions/questions/2842-deployment-to-azure-function-app" rel="nofollow noreferrer">http://help.appveyor.com/discussions/questions/2842-deployment-to-azure-function-app</a></p>
  
  <p>Here is my appveyor.yml - </p>
  
  <pre><code>    -
    branches:
      only:
        - master
  
    version: 0.0.{build}
    os: Visual Studio 2015
    configuration: Release
    init:
    - nuget sources update -Name nuget.org -Source https://api.nuget.org/v3/index.json
    environment:
      SolutionDir: $(APPVEYOR_BUILD_FOLDER)\
    cache:
    - packages -&gt; **\packages.config
    assembly_info:
      patch: true
      file: '**\AssemblyInfo.*'
      assembly_version: '{version}'
      assembly_file_version: '{version}'
      assembly_informational_version: '{version}'
    before_build:
    - nuget restore -verbosity detailed
  
    build:
      verbosity: normal
      project: MyLibrary\MyLibrary.csproj
      publish_wap: true
      publish_azure: true
      parallel: true
  
    artifacts:
    - path: AzureFuncCIPOC
      name: AzureFuncCIPOC
  
    deploy:
    - provider: WebDeploy
      server: https://functioncipoc.scm.azurewebsites.net:443/msdeploy.axd?site=FunctionCIPOC
      website: FunctionCIPOC
      username: $FunctionCIPOC
      password:
        secure: &lt;secure&gt;
      artifact: AzureFuncCIPOC
  </code></pre>