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

Update the analyzers to ignore razor generated files if they are already analyzed #8031

Closed
costin-zaharia-sonarsource opened this issue Sep 19, 2023 · 0 comments · Fixed by #8035
Assignees
Labels
Area: C# C# rules related issues.
Milestone

Comments

@costin-zaharia-sonarsource
Copy link
Member

costin-zaharia-sonarsource commented Sep 19, 2023

Description

Currently, the plugin will store the .razor file hashes in the cache after the analysis. We need to update the rules to ignore the razor-generated files if the corresponding .razor file is in the unchanged files list (UnchangedFiles.txt). The solution should be generic enough to work for .cshtml files as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants