-
Notifications
You must be signed in to change notification settings - Fork 21
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
"The "AreNuGetPackagesSafe" task failed unexpectedly": warn instead of fail #14
Comments
That would be a silent failure... Which may give a false sense of security... |
I think of it more as a graceful failure. |
+1 Our team has the same issue. A warning option would be great |
Yes please change this to be a warning instead. |
i had this issue, i got the project from source control and when i tried to build it, it kept giving me this error. Error The "AreNuGetPackagesSafe" task failed unexpectedly. removed the readonly access on the SafeNuGet.1.0.10 and all worked again |
The "AreNuGetPackagesSafe" task failed unexpectedly. This issue seems to occur most regularly when the build is attempted on a machine for the first time. Subsequent builds are successful, presumably because the |
This last bit seems to be related to: #11 |
Feel free to submit a pull request to fix the issue in question |
We use SafeNuGet with Jenkins. Last night, as happens occasionally, the builds failed with these errors:
18:46:35 C:........\packages\SafeNuGet.1.0.10\build\SafeNuGet.targets(4,5): error MSB4018: The "AreNuGetPackagesSafe" task failed unexpectedly.
18:46:35 C:........\packages\SafeNuGet.1.0.10\build\SafeNuGet.targets(4,5): error MSB4018: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
It would seem to me that if the updated SafeNuGet list just isn’t reachable for download that the build should succeed and the download can be retried afterwards. (Of course, if there were actually unsafe packages, it should certainly fail.) Might that be an option?
Thanks,
Eliezer
The text was updated successfully, but these errors were encountered: