CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

cswinrt.exe should fail (non-zero exit code) if no filtered input metadata exists

Open Scottj1s opened this issue 3 years ago • 1 comments

If cswinrt.exe is misconfigured with input metadata and filtering rules, such that no input-dependent projection sources are generated, it should return a non-zero exit code.

See #892

Scottj1s avatar Jul 12 '21 16:07 Scottj1s

Somewhat related - if the generator crashes, it does not show up as an error (it looks like a warning is issued) and it doesn't fail the build. The build will fail later when the binary it expects isn't there, but if this isn't a clean build, the build will use the prior built binary :/ ask me how I realized that :D

asklar avatar Aug 09 '21 07:08 asklar