Using Custom Dlls in Azure Function Visual Studio Preview
<p>How do you import a custom class library into an Azure Function in Visual Studio? I have currently built the class library and added it to the bin folder in the Azure Function project. I added the reference to the class in the run.csx.</p>

<p>run.csx:</p>

<pre><code>#r "../bin/ClassLibrary1.dll"

using System;
using ClassLibrary1;

public static void Run(TimerInfo myTimer, TraceWriter log)
{
     log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
     dynamic class1 = new Class1();
}
</code></pre>

<p>This throws an error after the function sets up the timer stating its missing System.Runtime. I've attempted to add System.Runtime but have had no luck. The class library is .net core, but I will also be referencing a .net 4.6 class library</p>