Skip to content

.Net: Downgrade System.Diagnostics.DiagnosticSource package#2746

Merged
dmytrostruk merged 2 commits intomicrosoft:mainfrom
dmytrostruk:fix-diagnosticsource-dependency
Sep 7, 2023
Merged

.Net: Downgrade System.Diagnostics.DiagnosticSource package#2746
dmytrostruk merged 2 commits intomicrosoft:mainfrom
dmytrostruk:fix-diagnosticsource-dependency

Conversation

@dmytrostruk
Copy link
Member

Motivation and Context

Resolves: #2646

As described in PR #1799, we should keep .NET packages at version 6.0.*, to support package compatibility and allow to use Azure Functions in-process deployment model.

Description

  1. Downgraded System.Diagnostics.DiagnosticSource package version from 7.0.2 to 6.0.0.
  2. Manually tested telemetry functionality and verified that metering logic works as expected.

Contribution Checklist

@dmytrostruk dmytrostruk requested a review from a team as a code owner September 7, 2023 13:04
@shawncal shawncal added the .NET Issue or Pull requests regarding .NET code label Sep 7, 2023
@dmytrostruk dmytrostruk added the PR: ready for review All feedback addressed, ready for reviews label Sep 7, 2023
@dmytrostruk dmytrostruk self-assigned this Sep 7, 2023
@dmytrostruk dmytrostruk added this pull request to the merge queue Sep 7, 2023
Merged via the queue into microsoft:main with commit 574c8ae Sep 7, 2023
@dmytrostruk dmytrostruk deleted the fix-diagnosticsource-dependency branch September 7, 2023 14:57
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
…t#2746)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

Resolves: microsoft#2646

As described in PR
microsoft#1799, we should keep
.NET packages at version 6.0.*, to support package compatibility and
allow to use Azure Functions in-process deployment model.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Downgraded `System.Diagnostics.DiagnosticSource` package version from
7.0.2 to 6.0.0.
2. Manually tested telemetry functionality and verified that metering
logic works as expected.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Net: Semantic Kernel dependency on .net 7.0 instead of 6.0

4 participants