This article describes how to run your Azure Function code through VS 2015.
How can I include project dependencies from within the same solution into this function? And without having to publish them to NuGet.
I've tried adding the reference to project.json
:
{
"dependencies": {
"MyProject": "*"
},
"frameworks": {
"net46": {
}
}
}
And including it in run.csx
:
using System;
using MyProject;
public static void Run(BrokeredMessage message, TraceWriter log)
{
...
}
But I get the typical complication error:
run.csx(2,7): error CS0246: The type or namespace name 'MyProject' could not be found (are you missing a using directive or an assembly reference?)