Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
96 stars 62 forks source link

SQL output bindings suddenly requiring CommandType attribute #560

Open dzsquared opened 2 years ago

dzsquared commented 2 years ago

SQL output bindings do not require the CommandType attribute, but between v4.0.1 of Microsoft.NET.Sdk.Functions and 4.1.0 it suddenly is required for a function with output bindings to start up. Downgrading the function project to v4.0.1 resolves the issue

Suspected culprit: https://github.com/Azure/azure-functions-vs-build-sdk/pull/542

@kshyju @shreyabatra4

This is rather unfortunate because the updated package was recently picked up into templates as well: https://github.com/Azure/azure-functions-templates/commit/fe21b77e5dc09844d3dfad2ef53c5053c5936eae

https://github.com/Azure/azure-functions-sql-extension/issues/263