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

Send AssemblyLoadBuildEventArgs only for valid LoggingContext #8944

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

rokonec
Copy link
Member

@rokonec rokonec commented Jun 23, 2023

Fixes #8816

Context

As discussed in #8816 we are trying the simplest solution, i.e. do not fail when LoggingContext is not yet properly initialized.

Changes Made

Simple IF

Testing

Local.

Notes

@KirillOsenkov Can you please test if this PR addresses #8816 issue properly?

Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and effective - thanks!

@rokonec rokonec merged commit 946c584 into dotnet:main Jul 3, 2023
@rokonec rokonec deleted the rokonec/assembly-load-tracker-fix branch July 3, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AssemblyLoadsTracker should only turn on for msbuild.exe and dotnet build
3 participants