Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use readnextasync on feediterator in Version 3.45.2, getting error: unable to load assembly system.diagnostics.diagnosticsource 8.0.0.0 #4903

Open
Chays21 opened this issue Nov 23, 2024 · 0 comments
Labels
customer-reported Issue created by a customer needs-investigation

Comments

@Chays21
Copy link

Chays21 commented Nov 23, 2024

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the 3.45.2.

Describe the bug
FeedIterator.ReadNextAsync method throws System.IO.IO for System.Diagnostics.DiagnosticSource 8.0.0.0. however I did not face this issue with older version 3.40.0.

To Reproduce
Create a function app project that runs in process functions, targeting framework net 6.0. Install Microsoft.Azure.Cosmos 3.45.2. Create a Cosmos Client and container. try with the below code.
Image

Expected behavior
ReadNextAsync should not throw this exception

Actual behavior
FeedIterator.ReadNextAsync method throws System.IO.IO for System.Diagnostics.DiagnosticSource 8.0.0.0

Environment summary
SDK Version: Microsoft.NET.SDK.Functions 4.2.0
OS Version (e.g. Windows, Linux, MacOSX) : Windows

Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

Package references in my project:

Image

Exception details:

Image

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issue created by a customer label Nov 23, 2024
@Chays21 Chays21 changed the title Unable to user readnextasync on feediterator in Version 3.45.2, unable to load assembly system.diagnostics.diagnosticsource 8.0.0.0 Unable to use readnextasync on feediterator in Version 3.45.2, unable to load assembly system.diagnostics.diagnosticsource 8.0.0.0 Nov 23, 2024
@Chays21 Chays21 changed the title Unable to use readnextasync on feediterator in Version 3.45.2, unable to load assembly system.diagnostics.diagnosticsource 8.0.0.0 Unable to use readnextasync on feediterator in Version 3.45.2, getting error: unable to load assembly system.diagnostics.diagnosticsource 8.0.0.0 Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issue created by a customer needs-investigation
Projects
None yet
Development

No branches or pull requests

1 participant