Since Microsoft has released .NET Core 2.0 for Azure Functions a few days ago, I\'m trying to understand how to create a new Functions project in VS2017 targeting .NET Core.
For now, it's a manual process. You need to create .NET Standard 2.0 library, add function.json
manually and run it with core tools.
the package Microsoft.NET.Sdk.Functions does not yet support .NET Standard 2.0 class libraries. This is the package that identifies a project as Functions project to Visual Studio and generates function.json from attributes during build.
You can still author C# class libraries that target .NET Standard 2.0, but you must use a manually-authored function.json. The templates for C# class libraries aren’t yet available in the Core Tools, but you can get a sample from GitHub.
from Develop Azure Functions on any platform
Update: 1.0.5 version of SDK should now support it, as mentioned by Fabio.