-
Notifications
You must be signed in to change notification settings - Fork 520
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
FormatException: Unrecognized Guid format. #3528
Comments
The last time it ran successfully was several months ago, it the meantime a failure occurred before it reached this point, which I only fixed today. The last successful run was using paket 5.156.7 |
I think I found the cause, there was a project reference without any Guid resp. an empty string, like this:
Apparently, the earlier version of paket accepted this, since the file has not changed since the last successful build. I can add the proper Guid to the project files, but it seems like a regression. At least, a more informative error message should be displayed in such a case. |
do you have a small repro for me? |
I managed to reproduce it with a small example: https://github.com/sigiesec/paket-3528 |
thanks for reporting. Fix is under way |
Description
When running paket update, I get a FormatException. Paket version is 5.198.0
Expected behavior
Paket update succeeds.
Actual behavior
Paket fails with the following output (with --verbose):
In english, the exception message is "Unrecognized Guid format."
I suspect that this refers to a Guid specified in some .csproj file, but there is not enough information to identify the offending file/location. There are more .csproj files than the one mentioned above, and at least in the mentioned one the only Guid entry is
which does not look suspicious.
The text was updated successfully, but these errors were encountered: