Skip to content

Get the level and category of each warning, for forwarding to external system #50535

Discussion options

You must be logged in to vote

You need to have write access to the repos to transfer an issue.

As to your question, I believe what you are looking for is the errorlog csc option, which can be accessed in MSBuild with the ErrorLog property. That will allow you specify an output sarif file that will log diagnostics from the compiler.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KalleOlaviNiemitalo
Comment options

@KalleOlaviNiemitalo
Comment options

Answer selected by KalleOlaviNiemitalo
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