Skip to content

[release/8.0-rc1] Fixing logging generator not getting removed in web projects - #4314

Merged
joperezr merged 2 commits into
release/8.0-rc1from
backport/pr-4287-to-release/8.0-rc1
Aug 20, 2023
Merged

[release/8.0-rc1] Fixing logging generator not getting removed in web projects#4314
joperezr merged 2 commits into
release/8.0-rc1from
backport/pr-4287-to-release/8.0-rc1

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 18, 2023

Copy link
Copy Markdown
Contributor

Backport of #4287 to release/8.0-rc1

/cc @joperezr

Customer Impact

Fixes #4286

PR #4238 was meant to automatically remove the platform's logging generator whenever the Microsoft.Extensions.Telemetry package was referenced, which worked just fine for console applications. For web projects though, the issue is that the generator can also be coming from the aspnetcore targeting pack, so we need special logic to be able to remove it from there as well. This PR should address that problem.

Testing

Automated tests and manual validation.

Risk

Low

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Microsoft Reviewers: Open in CodeFlow

@joperezr

Copy link
Copy Markdown
Member

FYI: @martincostello

@joperezr
joperezr requested a review from geeknoid August 18, 2023 19:29
@joperezr
joperezr enabled auto-merge (squash) August 18, 2023 19:30
@joperezr
joperezr merged commit 707bd88 into release/8.0-rc1 Aug 20, 2023
@joperezr
joperezr deleted the backport/pr-4287-to-release/8.0-rc1 branch August 20, 2023 17:24
@RussKie RussKie added this to the 8.0 RC1 milestone Aug 28, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants