Skip to content
Discussion options

You must be logged in to vote

Having considered so far available reasonable options, I am not going to change anything, for now at least.

In the meantime, here is the solution that should fit your requirements. It uses some IB internals but they will hardly change.

Use Exit-Build and ${*}.Warnings = @() in it. This effectively discards the collected warnings and their unwanted output.
In addition to discarding you may also have your own custom processing, e.g. still print warnings but before your final output.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@nightroman
Comment options

@nightroman
Comment options

@boernsen-development
Comment options

@nightroman
Comment options

Answer selected by boernsen-development
@boernsen-development
Comment options

@nightroman
Comment options

@boernsen-development
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants