简体   繁体   中英

Visual Studio - Access to the path '/Users/.local/share/NuGet' is denied when adding Nuget package to the project in MacOs

I am using Visual Studio 2019 in macOS for .net Core development.

When I tried to add Nuget package, I encounter below error

Visual Studio - Access to the path '/Users/CCCC/.local/share/NuGet' is denied

How to solve it?

The reason of this error is because NuGet folder does not be created automatically.
After I create the folder myself, it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM