MSBuild task for Azure Functions
Перейти к файлу
Vijay Ramakrishnan f17ac70c65 Fixing the build issue when functions is run in the container scenario 2019-08-07 11:25:21 -07:00
.paket Automate build and signing 2018-03-08 15:31:05 -08:00
pack/Microsoft.NET.Sdk.Functions Fixing the build issue when functions is run in the container scenario 2019-08-07 11:25:21 -07:00
sample Generator scans assembly's dependencies for functions. Addresses #274. 2019-06-26 15:09:56 -07:00
src Fixing the build issue when functions is run in the container scenario 2019-08-07 11:25:21 -07:00
test Fixing the build issue when functions is run in the container scenario 2019-08-07 11:25:21 -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 Corrected typos in build.cmd and devbuild.cmd. 2019-06-26 15:09:56 -07:00
build.fsx adding nupkg signing 2019-02-26 13:38:52 -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
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.