C
C#β€’11mo ago
toiletseenk

packages cant find path

been having the same error since yesterday idk atp tried reading some of the same questions asked on the developer community but i really didnt understand anything
No description
57 Replies
jcotton42
jcotton42β€’11mo ago
You could maybe try blowing away the package cache, in case it got messed up somehow
toiletseenk
toiletseenkOPβ€’11mo ago
how can i do that?
jcotton42
jcotton42β€’11mo ago
@toiletsink dotnet nuget locals all --clear I would close VS first that will blow away all nuget caches
toiletseenk
toiletseenkOPβ€’11mo ago
now it shows this, do i just wait this out or do i have to reinstall my packages?
No description
jcotton42
jcotton42β€’11mo ago
did you close VS first? it should do a package restore when you open or build the solution? you could try a dotnet restore from the solution directory
toiletseenk
toiletseenkOPβ€’11mo ago
yea packages now loaded when i restarted my vs after i sent this lmao lemem try getting the firebase ios
toiletseenk
toiletseenkOPβ€’11mo ago
womp womp
No description
jcotton42
jcotton42β€’11mo ago
hmm follow that path yourself in File Explorer, where does it end?
toiletseenk
toiletseenkOPβ€’11mo ago
C:\Users\AdrianJ.nuget\packages\xamarin.firebase.ios.core\8.10.0.3\lib\net6.0-ios15.4\Firebase.Core.resources\GoogleUtilitiesComponents.xcframework\ios-arm64_x86_64-simulator\GoogleUtilitiesComponents.framework\PrivateHeaders nothing inside privateheaders for some reasons
jcotton42
jcotton42β€’11mo ago
hmmm it shows up in nuget package explorer https://nuget.info/packages/Xamarin.Firebase.iOS.Core/8.10.0.3
jcotton42
jcotton42β€’11mo ago
No description
toiletseenk
toiletseenkOPβ€’11mo ago
should i just download it ffrom there? like the missing ones?
jcotton42
jcotton42β€’11mo ago
oh wait, I wonder if you might be hitting MAX_PATH...
toiletseenk
toiletseenkOPβ€’11mo ago
yea thats the thing i saw on the dev community
jcotton42
jcotton42β€’11mo ago
exactly at 260
jcotton42
jcotton42β€’11mo ago
the "duplicate" isn't even the same issue omegalul
jcotton42
jcotton42β€’11mo ago
you could try moving the package cahce folder with the NUGET_PACKAGES env var https://learn.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders
How to manage the global packages, cache, temp folders in NuGet
How to manage the global package installation folder, the package cache, and the temp folders that exist on a computer, which are used when installing, restoring, and updating packages.
toiletseenk
toiletseenkOPβ€’11mo ago
GitHub
VS paired to MAC throws MessagingRemoteException when a MAUI app is...
Steps to Reproduce Pair VS for Windows to MAC; Add DevExpress Packages to the project (or use DX template) Select a target simulator device in the Build/Run selector; Try to build the application. ...
jcotton42
jcotton42β€’11mo ago
try something short like C:\nugetpkg that appears to be a completely different issue they're on macOS
toiletseenk
toiletseenkOPβ€’11mo ago
ah i see, mb lemme try reading the one u sent my pea brain can NOT understand this manπŸ’€πŸ’€
jcotton42
jcotton42β€’11mo ago
you know how to set environment variables?
toiletseenk
toiletseenkOPβ€’11mo ago
nope
jcotton42
jcotton42β€’11mo ago
this thing
No description
No description
jcotton42
jcotton42β€’11mo ago
make a new one under the User section with a name of NUGET_PACKAGES, and a value of the path you want to use I'd make it short, something like C:\nuget
toiletseenk
toiletseenkOPβ€’11mo ago
this one?
No description
jcotton42
jcotton42β€’11mo ago
no at the bottom of that dialog
toiletseenk
toiletseenkOPβ€’11mo ago
new right
No description
jcotton42
jcotton42β€’11mo ago
yes
toiletseenk
toiletseenkOPβ€’11mo ago
what do i put in the variable value?
MODiX
MODiXβ€’11mo ago
jcotton42
make a new one under the User section with a name of NUGET_PACKAGES, and a value of the path you want to use
Quoted by
<@446416451230760990> from #packages cant find path (click here)
React with ❌ to remove this embed.
toiletseenk
toiletseenkOPβ€’11mo ago
ah mb
toiletseenk
toiletseenkOPβ€’11mo ago
No description
toiletseenk
toiletseenkOPβ€’11mo ago
alright made one now
jcotton42
jcotton42β€’11mo ago
no it should be named NUGET_PACKAGES and the value should be a nice short path
toiletseenk
toiletseenkOPβ€’11mo ago
ah ok lemme make one
jcotton42
jcotton42β€’11mo ago
I'd make it something like C:\nuget (make the folder first)
toiletseenk
toiletseenkOPβ€’11mo ago
No description
toiletseenk
toiletseenkOPβ€’11mo ago
here
jcotton42
jcotton42β€’11mo ago
yep make that folder, then reopen VS and try again
toiletseenk
toiletseenkOPβ€’11mo ago
WAAAAAAAAAAAAA
No description
toiletseenk
toiletseenkOPβ€’11mo ago
it used the nuget folder but still
jcotton42
jcotton42β€’11mo ago
that's a different error tho! different path
toiletseenk
toiletseenkOPβ€’11mo ago
yea different path now, lemme check whats inside
jcotton42
jcotton42β€’11mo ago
@toiletsink if you go to nuget.org, search for the package, then click "nuget package explorer" in the sidebar on the right, you can get to this thing which lets you browse the package contents online
toiletseenk
toiletseenkOPβ€’11mo ago
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" ` -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force i just paste thsi to my powershell?
jcotton42
jcotton42β€’11mo ago
at a minimum you'll need to restart VS after setting the reg key an admin powershell yes then blow away the nuget cache, restart VS, and try again
toiletseenk
toiletseenkOPβ€’11mo ago
by doing dotnet nuget locals all --clear right?
jcotton42
jcotton42β€’11mo ago
yes
toiletseenk
toiletseenkOPβ€’11mo ago
alright ill try now, wish me luck fr
toiletseenk
toiletseenkOPβ€’11mo ago
forced the long path, cleared, restarted,
No description
jcotton42
jcotton42β€’11mo ago
:/ you could try restarting Windows, I can't recall if that setting needs an OS reboot that's my last idea
toiletseenk
toiletseenkOPβ€’11mo ago
dont wanna jinx it but its taking longer to install this now for some reasons after i restarted
toiletseenk
toiletseenkOPβ€’11mo ago
welp
No description
toiletseenk
toiletseenkOPβ€’11mo ago
maybe you know any firebase packages for both android and ios? lmao
toiletseenk
toiletseenkOPβ€’11mo ago
how bout this one? maybe you know a fix for this?
No description
Want results from more Discord servers?
Add your server