I am trying to run a program that is using Azure Functions. I am using Visual Studio 2017. This is the program:
https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench/rest-api-samples/dotnet
I downloaded everything that is related to Azure Functions.
When I press debug I get the following error:
A project with an Output type of Class Library cannot be started directly In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.
Am I running this example correctly or did I miss something that is related to Azure functions?
Thanks
Microsoft.NET.Sdk.Functions
and add it using nuget again? – Jerry LiufunctionSource
folder is function project folder, other content seems not useful for Azure Function. In VS, open new project, selectFunctions.csproj
should work. – Jerry Liu