Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Send AssemblyLoadBuildEventArgs only for valid LoggingContext - #8944

#8944
Merged
rokonec merged 1 commit into
dotnet:maindotnet/msbuild:mainfrom
rokonec:rokonec/assembly-load-tracker-fixrokonec/msbuild:rokonec/assembly-load-tracker-fixCopy head branch name to clipboard
Jul 3, 2023
Merged

Send AssemblyLoadBuildEventArgs only for valid LoggingContext#8944
rokonec merged 1 commit into
dotnet:maindotnet/msbuild:mainfrom
rokonec:rokonec/assembly-load-tracker-fixrokonec/msbuild:rokonec/assembly-load-tracker-fixCopy head branch name to clipboard

Conversation

@rokonec

@rokonec rokonec commented Jun 23, 2023

Copy link
Copy Markdown
Member

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?

@JanKrivanek JanKrivanek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Simple and effective - thanks!

Comment thread src/Build/BackEnd/Components/RequestBuilder/AssemblyLoadsTracker.cs
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.