GithubHelp home page GithubHelp logo

isabella232 / azure-functions-vs-build-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/azure-functions-vs-build-sdk

0.0 0.0 0.0 5.39 MB

MSBuild task for Azure Functions

License: MIT License

Batchfile 3.87% C# 82.67% F# 7.21% HTML 5.28% CSS 0.81% JavaScript 0.17%

azure-functions-vs-build-sdk's Introduction

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 [email protected] with any additional questions or comments.

azure-functions-vs-build-sdk's People

Contributors

0xced avatar ahmelsayed avatar ankitkumarr avatar brettsam avatar bzhu94 avatar cschwendtner avatar fabiocav avatar gzuber avatar jabberwik avatar kashimiz avatar maiqbal11 avatar martijns avatar mathewc avatar mhutch avatar microsoftopensource avatar msftgits avatar paulbatum avatar phenning avatar soninaren avatar vijayrkn avatar yojagad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.