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

Disable slow source generator 'JSImportGenerator' for Roslyn builds #67944

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

sharwell
Copy link
Member

Workaround for dotnet/runtime#84936

@sharwell sharwell requested a review from a team as a code owner April 24, 2023 13:36
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 24, 2023
@sharwell sharwell enabled auto-merge April 24, 2023 14:54
<!-- Workaround for https://github.com/dotnet/runtime/pull/84936 -->
<Target Name="ExcludeSlowJSImportGenerator" AfterTargets="ResolveTargetingPackAssets">
<ItemGroup>
<Analyzer Remove="@(Analyzer)" Condition="'%(FileName)' == 'Microsoft.Interop.JavaScript.JSImportGenerator' AND '%(Analyzer.NuGetPackageId)' == 'Microsoft.NETCore.App.Ref'" />
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need the second half of this condition here? Would assume the first is sufficient.

Copy link
Member Author

Choose a reason for hiding this comment

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

It seemed more specific, but either way should work fine.

@sharwell sharwell closed this Apr 24, 2023
auto-merge was automatically disabled April 24, 2023 18:58

Pull request was closed

@sharwell sharwell reopened this Apr 24, 2023
@sharwell sharwell enabled auto-merge April 24, 2023 18:58
@sharwell sharwell merged commit 263561f into dotnet:main Apr 24, 2023
@ghost ghost added this to the Next milestone Apr 24, 2023
@dibarbet dibarbet modified the milestones: Next, 17.7 P1 Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants