MSBuild task for Azure Functions
Перейти к файлу
Brett Samblanet a872c84616 ci updates 2023-04-26 13:55:41 -07:00
.github Add `.github/fabricbot.json` (#577) 2022-07-29 13:31:57 -07:00
.paket Automate build and signing 2018-03-08 15:31:05 -08:00
FunctionsSdkE2ETests Set up CI with Azure Pipelines (#482) 2020-11-06 15:34:03 -08:00
pack/Microsoft.NET.Sdk.Functions Update the WebJobs.Extensions reference to fix downstream package reference 2020-03-17 13:44:50 -07:00
sample Generator scans assembly's dependencies for functions. Addresses #274. 2019-06-26 15:09:56 -07:00
src [v1] Handling additional auth scenarios for Zip Deploy 2023-04-26 13:55:41 -07:00
test fixing issue with args passed to Functions.Generator 2020-08-31 22:38:37 +00:00
.gitattributes Updating the sample project 2017-05-02 12:20:33 -07:00
.gitignore Initial commit 2017-04-18 15:57:19 -07:00
Directory.Build.props Fixing the task assembly load issue 2020-05-14 22:57:50 -07:00
FunctionsSdk.sln Fixing eventhub trigger scenario (#400) 2020-03-12 12:34:36 -07:00
LICENSE Renaming the sample folder 2017-05-02 20:36:27 -07:00
README.md Updated pipeline badges. 2021-12-14 11:07:44 -08:00
SECURITY.md Microsoft mandatory file 2023-01-27 21:02:47 +00:00
appveyor.cmd Automate build and signing 2018-03-08 15:31:05 -08:00
azure-pipelines.yml ci updates 2023-04-26 13:55:41 -07:00
build.cmd Corrected typos in build.cmd and devbuild.cmd. 2019-06-26 15:09:56 -07:00
build.fsx Set up CI with Azure Pipelines (#482) 2020-11-06 15:34:03 -08:00
devbuild.cmd Corrected typos in build.cmd and devbuild.cmd. 2019-06-26 15:09:56 -07:00
nuget.config adding nuget staging 2019-05-13 12:24:02 -07:00
paket.dependencies Removing additional dependencies from paket.dependencies 2018-10-09 16:04:51 -07:00
paket.lock Updating pack project (Microsoft.NET.Sdk.Functions) target 2018-10-09 17:50:34 -07:00

README.md

Azure Functions Logo

Branch Status
main Build Status
v4.x Build Status
release/4 Build Status
v3.x Build Status

FAQ:

Q: I need a different Newtonsoft.Json version. What do I do?

Add the version you need to your csproj. For example to use 11.0.2 add this to your csproj

<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
Q: Why is Newtonsoft.Json locked in the first place?

The version of Newtonsoft.Json is locked to match the version used by the functions runtime. The reason is if you have a function like this

[FunctionName("hello")]
public static async Task ProcessQueue([QueueTrigger] JObject jObject)
{
    // do stuff;
}

That jObject instance will be fulfilled by the runtime version of JObject. If there is a version mismatch, the runtime will not be able to give you the version of JObject you are using from your custom Newtonsoft.Json version.

If you don't require Newtonsoft.Json objects to be fulfilled by the runtime, then you can specify the version you like to use in your own functions in your csproj

Q: What version of the runtime is this package version?

None. This is a build task for building .NET function projects. This doesn't bring in a runtime version, only attributes versions. The runtime version is decided by Azure, or your version of the Azure Functions Core Tools

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.