diff options
author | Martin Costello <martin@martincostello.com> | 2021-09-09 04:39:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 04:39:00 +0300 |
commit | b33ef8f3c2ae90b19d874a9ee92b678914dad252 (patch) | |
tree | d2acae7803eae433ab10676f11f6cfb69e18f0c2 /docs | |
parent | c17bd04af080a67828686ea0d562274b37e650cb (diff) |
Add build troubleshooting suggestion (#36178)
* Add troubleshooting suggestion
Add a note about deleting SDK and tools locally if restore.cmd fails.
* Move content to BuildErrors.md
Move the content to a catch-all "Miscellaneous other errors" section.
* Update docs/BuildErrors.md
Co-authored-by: Safia Abdalla <safia@safia.rocks>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BuildErrors.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/BuildErrors.md b/docs/BuildErrors.md index 4233e51efc..e2a8f0f57d 100644 --- a/docs/BuildErrors.md +++ b/docs/BuildErrors.md @@ -98,3 +98,9 @@ or ```bash ./build.sh --projects "$PWD/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj" ``` + +## Errors when restoring older clones + +If you have build errors trying to run `restore.cmd` and you cloned the repository some time ago, +try deleting the `.dotnet` and `.tools` directories in your local repo directory. It may resolve +the problem if older versions of the .NET SDK are causing an incompatibility with the latest version. |