Skip to content

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

@JKrag

Description

@JKrag

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions