I am currently experiencing a problem in one of my Azure Functions. I want to use a library that makes use of ValueTuple. The lib is built against .net Core 2.0. This leads to the following error message in my function:
Reference to type 'ValueTuple<,>' claims it is defined in 'System.Runtime', but it could not be found
I already tried to add the corresponding Nuget Package to my function:
{
"frameworks": {
"net46":{
"dependencies": {
"DocX": "1.2.1",
"MediaTypeMap": "2.1.0",
"System.ValueTuple": "4.5.0"
}
}
}
}
and referencing the assembly with:
#r "System.ValueTuple"
Any ideas how I could solve this?
Thanks a lot!