Skip to content

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

Merged
sharwell merged 1 commit intodotnet:mainfrom
sharwell:slow-gen
Apr 24, 2023
Merged

Disable slow source generator 'JSImportGenerator' for Roslyn builds#67944
sharwell merged 1 commit intodotnet:mainfrom
sharwell:slow-gen

Conversation

@sharwell
Copy link
Copy Markdown
Contributor

Workaround for dotnet/runtime#84936

@sharwell sharwell requested a review from a team as a code owner April 24, 2023 13:36
@ghost ghost 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
Copy Markdown
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
Copy Markdown
Contributor 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