Hi

Ihave a bat file I'm using to sign a lot of files.
In the bat file thereare the following lines:
call signtool verify /pa "%1"
if ERRORLEVEL 2 goto lerror
If ERRORLEVEL 1 goto lsigncode

So I start verify if the file have a valid signature. The problem is the Exec task see this as a warning, when using continueonerror=true.
Is there a wayto not have msbuild detect the errorlevels as errors/warnings in an exec task?

I would like to have msbuild only see the exitcode, not the errorlevels inside the file.

regards
Kim