You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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:
Exception details:
The text was updated successfully, but these errors were encountered:
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
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
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.
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:
Exception details:
The text was updated successfully, but these errors were encountered: