MSBuild task for Azure Functions
Перейти к файлу
Chris Gillum f9f294f1ec
Add Durable triggers to TriggersWithoutStorage
We plan to release public support for non-Azure Storage backends for Durable Functions. In order for the VS build SDK to fully support this, we need to exclude Durable triggers from the list of triggers requiring `AzureWebJobsStorage`.

Note that we already made the same change for the Functions Core Tools: https://github.com/Azure/azure-functions-core-tools/pull/2409
2021-05-05 13:51:20 -07:00
.paket Automate build and signing 2018-03-08 15:31:05 -08:00
FunctionsSdkE2ETests Added tests for FunctionsPreservedDependencies functionality. 2020-11-25 20:48:11 -08:00
src Add Durable triggers to TriggersWithoutStorage 2021-05-05 13:51:20 -07:00
test Allowing Microsoft.Azure.WebJobs.Extensions 4.x, bumping versions (#484) 2020-11-10 11:48:58 -08:00
.gitattributes Updating the sample project 2017-05-02 12:20:33 -07:00
.gitignore refactoring build for 3.0; using Mono.Cecil for attribute discovery 2019-11-15 08:22:54 -08:00
Directory.Build.props Adding tests for functions v1 & upgrading tests for functions v3. (#446) 2020-07-13 18:26:31 -07:00
FunctionsSdk.sln Adding tests for functions v1 & upgrading tests for functions v3. (#446) 2020-07-13 18:26:31 -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 Copying the runtime folder as part of post build step (#443) 2020-07-09 17:10:26 -07:00
azure-pipelines.yml Set up CI with Azure Pipelines (#481) 2020-11-08 04:13:10 -08:00
build.cmd Adding tests for functions v1 & upgrading tests for functions v3. (#446) 2020-07-13 18:26:31 -07:00
build.fsx Set up CI with Azure Pipelines (#481) 2020-11-08 04:13:10 -08:00
devbuild.cmd Adding tests for functions v1 & upgrading tests for functions v3. (#446) 2020-07-13 18:26:31 -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.