MSBuild task for Azure Functions
Перейти к файлу
Brett Samblanet 2678a5df31 bumping to version 1.0.29 2019-06-12 13:20:14 -07:00
.paket Automate build and signing 2018-03-08 15:31:05 -08:00
pack/Microsoft.NET.Sdk.Functions Set User-Agent header to ZipDeploy task 2019-03-28 15:17:19 -07:00
sample Bumping package version to 1.0.15 2018-06-28 16:10:10 -07:00
src bumping to version 1.0.29 2019-06-12 13:20:14 -07:00
test Set User-Agent header to ZipDeploy task 2019-03-28 15:17:19 -07: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
FunctionsSdk.sln Zip Deploy 2018-05-16 17:27:01 -07:00
LICENSE Renaming the sample folder 2017-05-02 20:36:27 -07:00
README.md Update README.md 2018-04-02 16:03:51 -07:00
appveyor.cmd Automate build and signing 2018-03-08 15:31:05 -08:00
build.cmd Adding NetStandard tests 2017-10-13 18:23:20 -07:00
build.fsx adding nupkg signing 2019-02-26 13:38:52 -08:00
devbuild.cmd Adding the option to choose the FunctionsGenerator framework 2017-10-03 18:54:10 -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
master 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.