dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.96k stars 4.91k forks source link

dotnet restore error (Parameter 'password') #4394

Open coloseis opened 4 years ago

coloseis commented 4 years ago

dotnet restore fails

I installed the latest sdk version (dotnet-sdk-3.1.102-win-x64.exe)

When I try to start a new proj I get this error:

D:\netcore\demo>dotnet --list-sdks
3.1.102 [C:\Program Files\dotnet\sdk]

D:\netcore\demo>dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on D:\netcore\demo\demo.csproj...
C:\Program Files\dotnet\sdk\3.1.102\NuGet.targets(528,5): error : El valor no puede ser nulo ni una cadena vacía. (Parameter 'password') [D:\netcore\demo\demo.csproj]

Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'
winstxnhdw commented 2 years ago

Doesn't seem like it matters. If you do not have any NuGet packages defined in your .csproj file, this is a non-issue.