title: Putting precompiled azure function in a shared assembly
body: <p>Basically I'm trying to create an Azure Function as a precompiled function (as decribed on <a href="https://github.com/devkimchi/Testing-Precompiled-Azure-Functions" rel="nofollow noreferrer">https://github.com/devkimchi/Testing-Precompiled-Azure-Functions</a>) but with the extra Thing that I want the DLL to be in a shared Location. </p>
  
  <p>My custom DLL is loaded if I put in the Directory of the function itself, but is not loaded otherwise.</p>
  
  <p>So my test function Looks like this (<a href="https://github.com/devkimchi/Testing-Precompiled-Azure-Functions/blob/master/PrecompiledFunctionsApp/HttpTriggerCSharp/function.json" rel="nofollow noreferrer">https://github.com/devkimchi/Testing-Precompiled-Azure-Functions/blob/master/PrecompiledFunctionsApp/HttpTriggerCSharp/function.json</a>):</p>
  
  <pre><code>"scriptFile": "PrecompiledLibraries.dll",
  "entryPoint": "PrecompiledLibraries.MyHttpTrigger.Run"
  </code></pre>
  
  <p>But since my assembly is actually located in a shared Location, I changed it to this:</p>
  
  <p>"scriptFile": "..\SharedLibraries\PrecompiledLibraries.dll",
   "entryPoint": "PrecompiledLibraries.MyHttpTrigger.Run"</p>
  
  <p>But when I run the solution locally and watch the function using Sysinternals Procmon, I don't see the function app host to actually look for the file.</p>
  
  <p>Specifying an absolute path doesn't work either.</p>
  
  <p>What do I Need to specify here? Or is this an unsupported Scenario?</p>