I am able to resolve it by removing function-core-tools directory from my %AppData% folder. VS downloaded the core tools again and it worked.
Azure Function doesn't run in debug for netcoreapp 3.1 with visual studio 16.11.2 throws missing assembly in fun.deps.json
Arsalan Ahmed
96
Reputation points
Visual Studio version : 16.11.2
dotnet sdks installed:
2.1.818
3.1.412
On running function app in debug mode throws:
Error:
An assembly specified in the application dependencies manifest (func.deps.json) was not found:
package: 'Microsoft.AspNet.WebApi.Client', version: '5.2.6'
path: 'lib/netstandard2.0/System.Net.Http.Formatting.dll'
Solutions tried:
1- Installing hosting bundle for 3.1 and 2.1 SDKs
2- Reinstalling SDKs
Function app targetting 2.1 are running fine.