Azure-docs: Unable the build the function after adding "Microsoft.Azure.WebJobs.Extensions.CosmosDB"Nuget Package in VS2017

Created on 17 Sep 2018  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Getting the following error after adding the above nuget package

Error System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Azure.WebJobs, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Azure.WebJobs, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

azure-functions; cosmos-dsvc cxp product-issue resolved-by-customer triaged

Most helpful comment

After updating my other nuget packes . The issue is resolved. you can close the request

All 3 comments

@girishgouda Thank you for your feedback! We will investigate and get back to you with our findings.

After updating my other nuget packes . The issue is resolved. you can close the request

@girishgouda Glad to hear the issue is resolved and you're unblocked now.

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Favna picture Favna  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments