Skip to content

Commit 4a02b5b

Browse files
authored
Add more details on how to fix the long path issue (#32)
Added more detailed instructions for Step 3 of Long-path issue
1 parent 4b4e6ad commit 4a02b5b

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

Readme.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,24 @@ Even with that Visual Studio can still be very temperamental with long file path
8686

8787
1. Close Visual Studio
8888
2. Make sure you didn't skip step 1.
89-
3. Clear your local NuGet cache AND your local XamarinBuildDownload cache.
89+
3. Clear your local NuGet cache AND your local XamarinBuildDownload cache:
90+
- In your Windows Terminal (Powershell):
91+
```ps
92+
dotnet nuget locals all -c # Clear all Nuget cache
93+
cd $env:localappdata # Go to your AppData\Local folder
94+
Get-ChildItem -Filter "*Xamarin*" # Check for your XamarinBuildDownloadCache folder
95+
rm -Force -Recurse XamarinBuildDownloadCache # Delete that folder
96+
Get-ChildItem -Filter "*Xamarin*" # Confirm that it has been deleted
97+
```
98+
- In your Mac Terminal:
99+
```zsh
100+
setopt interactive_comments
101+
# Now comment is enabled
102+
cd ~/Library/Caches # Go to your Caches folder
103+
ls -d *Xamarin* # Check for your XamarinBuildDownload folder
104+
rm -rf XamarinBuildDownload # Delete that folder
105+
ls -d *Xamarin* # Confirm that it has been deleted
106+
```
90107
4. Make sure you didn't skip step 3.
91108
5. Delete your project `bin` and `obj` folders.
92109
6. Make sure you didn't skip step 5.

0 commit comments

Comments
 (0)