An Azure service that provides an event-driven serverless compute platform.
Swagger file generation failed for Http trigger function app with cosmos db nuget package
95132786
2
Reputation points
I have an isolated dotnet 6 function app which uses cosmos db nuget package ("Microsoft.Azure.Cosmos" Version="3.26.2"). I am not able to generate swagger document for this as I am getting runtime exception Bad IL format. The format of the file 'Cosmos.CRTCompat.dll' is invalid.
Is there any solution or workaround for this problem?
Azure Functions
Azure Functions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
Sign in to answer