I'm trying to get a ConnectionString in an Azure Functions App. I've created a new Functions App in Visual Studio, and was using this sample, which says I need to add this line to the Function.cs:
#r "System.Configuration"
But when I try it, IntelliSense says that
#r is only allowed in scripts
Build fails too.
Already tried renaming the file to .csx, without success. According to the developer reference, it should work: https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-csharp
Thanks!
