Azure / azure-functions-templates

Azure functions templates for the azure portal, CLI, and VS
MIT License
341 stars 194 forks source link

Official nuget package for dotnet new #665

Open mikhailshilkov opened 6 years ago

mikhailshilkov commented 6 years ago

Now when we have wiki on how to create Functions with dotnet new, I have some questions:

  1. Why are they split into 2 packages (project / functions)?
  2. When will it become an official NuGet package to install without downloads from MyGet? Will it be just 1 package?
  3. Should F# functions go to the same package(s) or separate one(s)?
soninaren commented 6 years ago
  1. You are right we do not need 2 packages. The main reason for having 2 packages is because VS initially consumed them as 2 separate packages (generated by different build systems). Eventually when we tried to merge it, we ran into backward compatibility issues with older versions of functions tooling (same template present in 2 different packages). Causing us to stuck in this state.
  2. We are working towards publishing it to NuGet. Will most likely be 2 packages. We are working towards trying integrate all of it into single package. Doesn't look like its going to happen soon though.
  3. F# functions would go to the same packages. Infact Project template for F# functions has been added to the project template. https://github.com/Azure/azure-functions-templates/commit/103bf250a92119839a679be7f1c3c29db92e3eb4

Hope this answers you questions.

paulbatum commented 6 years ago

Reopening this as a tracking item for cleaning up the metadata, hopefully merging the packages, and publishing to nuget with the right metadata so that dotnet new can find and install it.