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

Allow updater to skip a target in project file that would prevent updater to run #118

Open
JKrag opened this issue Nov 24, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JKrag
Copy link
Contributor

JKrag commented Nov 24, 2022

Problem: I have a few projects where the coding-rules-updater can't complete the Release builds needed to generate the temporary suppressions, e.g. because the Release build runs a code obfuscator that causes various namespace/using related errors.
I can manually comment out the import line in the csproj file, run the atc-coding-rules-updater run -s . and then add the line back, but this is not a nice workflow when doing it manually, and also makes automation near impossible (or at least very ugly and failure prone).

I don't know exactly what the right solution is here as I am not very knowledgeable in dotnet build, but it would be really nice if it would be possible to send a parameter to the updater to skip certain named build targets when running the repeated build for generating temporary suppressions.

I am happy to assist where I can with more information, or with testing possible solutions.

@JKrag JKrag added the enhancement New feature or request label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants