Static-web-apps: Azure Function written in C# results in deployment error

Created on 21 May 2020  路  4Comments  路  Source: Azure/static-web-apps

I created my backend Azure Function using C#, but this results in the following deployment error:

Error: Platform 'dotnet' version '3.1' is unsupported. Supported versions:

As all the samples i saw are using JavaScript for the backend as well i'm wondering if this is a known limitation of the service at it's current stage or if i just messed something up in my demo project (https://github.com/marxxxx/asw-demo2).

Most helpful comment

This is a known limitation, we are working to add this as we speak :)

All 4 comments

This is a known limitation, we are working to add this as we speak :)

Thank you for your reply. I think it would be worth mentioning that limitation in the docs.

I updated the docs to note that we only support JavaScript during preview.

Hi,

looking forward to this improvement!
Will this be language dependent or will it work for any .Net binary, i.e. F# based functions?

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stephtr picture stephtr  路  5Comments

trevorkennedy picture trevorkennedy  路  4Comments

m-sterspace picture m-sterspace  路  4Comments

empz picture empz  路  4Comments

akzaidi picture akzaidi  路  6Comments