From b50acec0b00f278e355ab6bd91531975cf4b0981 Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Mon, 28 Mar 2022 11:06:22 -0300 Subject: [PATCH] Update SETUP.md (#1924) Added troubleshooting for error "NU1403: Package content hash validation failed for ..." --- SETUP.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SETUP.md b/SETUP.md index 3f0cd199b..32aa27771 100644 --- a/SETUP.md +++ b/SETUP.md @@ -164,6 +164,14 @@ From within Rider, launch both the Api project and the Identity project by click ### Troubleshooting * If you get a 404 error, the projects may be listening on a non-default port. Check the output of your running projects to check the port they are listening on. +* If you get an error while restoring the nuget packages like `error NU1403: Package content hash validation failed for ...` then these following commands should fix the problem: + ``` + dotnet nuget locals all --clear + git clean -xfd + git rm **/packages.lock.json -f + dotnet restore + ``` + For more details read https://github.com/NuGet/Home/issues/7921#issuecomment-478152479 # Appendix A (User Secrets)