Azure / Azure/Azure-Functions

Cosmosdbtrigger restricts the usage of documendb nuget to 1.13.2 for dependent projects. Any workaround

Open
#731 6 comments 1 reaction 1 assignee Claimed by @pragnagopa View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

We have our storage layer in Cosmosdb -> documentdb. Our data access layer is using the latest nugget package 1.21.1 of Microsoft.Azure.DocumentDB

We need a reference of this dataacess layer in the azure functions project. Everything looks good in compilation time with all the project dependencies. In the runtime, azure function fails with the exception
" Could not load file or assembly 'Microsoft.Azure.Documents.Client, Version=1.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

This is because, in order to use cosmosdbtrigger in azure functions project, we need to use only 1.13.2 version of Microsoft.Azure.DocumentDB. Is theer a workaround? We need to use latest nugget for the new query features.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.