This article describes how to run your Azure function code through VS 2015.
How can I include project dependencies from one solution in this function? And without having to publish them on NuGet.
I tried to add a link 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 a typical complication error:
run.csx (2,7): error CS0246: name of type or namespace 'MyProject' could not be found (do you miss the use directive or build link?)
source
share