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

Added eventSource to BuildCheck logger #10061

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

maridematte
Copy link
Contributor

Context

In some cases when running BuildCheck during build (non restore phase), the analyzers will not receive any property information and therefore will not trigger correctly.
This is caused by backwards compatibility logger stuff, so " subscribing" the logger to a newer data format lets the analyzer receive all necessary information to run correctly.

Changes Made

Subscribed logger to newer eventSource version during initialization.

@maridematte maridematte merged commit 3112852 into dotnet:main Apr 23, 2024
10 checks passed
@maridematte maridematte deleted the buildCheckLoggerFix branch August 7, 2024 10:10
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.

4 participants