New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SignCheck fails with IOException attempting to write to the error log #1300
Comments
Is it running multiple instances of the SignCheck? |
What happens if you switch to using the shortform parameters, e.g. -e instead of error-log-file? Also, for the input files, if you're giving it a folder, try something like c:\foo*.* and pass -t to scan sub-folders. I need to check, but I can't recall if it will just scan the files in the folder automatically. That might be a bug. |
Ignore my last comment. I tried the internal version I wrote for WebTools and it's happy with just root folders for the input files. I'll take a look at what's going on here |
Same error. |
I think I understand why. If the log is in the directory being recursively searched, the tool attempts to open the log file to check for signing. |
Ah, yeah, that might be an issue. I can set up a PR to make sure the error log itself is always excluded. |
I'm attempting to setup SignCheck on https://github.com/aspnet/Extensions, but Microsoft.DotNet.SignCheck.exe always fails while attempting to write an error log file.
Repro
Arguments:
Result
Verification partially completes, but then fails with a fatal error:
Ironically, I believe it is SignCheck.exe that has created the file, because this file is created and contains this:
Details
I'm using SignCheck 1.0.0-beta.18558.2
cc @joeloff
The text was updated successfully, but these errors were encountered: