Код: Выделить всё
nuget restore -NoHttpCache -DirectDownload -MSBuildVersion latest
< /code>
Процесс восстановления не выполняет следующие ошибки: < /p>
Errors in \Project1.csproj
NU1101: Unable to find package Microsoft.Net.Sdk.Compilers.Toolset. No packages exist with this id in source(s): source1, source2, source3, source4, source5
Errors in \Project2.csproj
NU1101: Unable to find package Microsoft.Net.Sdk.Compilers.Toolset. No packages exist with this id in source(s): source1, source2, source3, source4, source5
Errors in \Project3.csproj
NU1101: Unable to find package Microsoft.Net.Sdk.Compilers.Toolset. No packages exist with this id in source(s): source1, source2, source3, source4, source5
Errors in \Project4.csproj
NU1101: Unable to find package Microsoft.Net.Sdk.Compilers.Toolset. No packages exist with this id in source(s): source1, source2, source3, source4, source5
Код: Выделить всё
dotnet nuget why . Microsoft.Net.Sdk.Compilers.Toolset
< /code>
Вывод был: < /p>
Unable to run 'dotnet nuget why' for project 'SolutionFolder'. See https://aka.ms/dotnet/nuget/why#older-project-format
Project 'Project1' does not have a dependency on 'Microsoft.Net.Sdk.Compilers.Toolset'.
Project 'Project2' does not have a dependency on 'Microsoft.Net.Sdk.Compilers.Toolset'.
Project 'Project3' does not have a dependency on 'Microsoft.Net.Sdk.Compilers.Toolset'.
Project 'Project4' does not have a dependency on 'Microsoft.Net.Sdk.Compilers.Toolset'.
Подробнее здесь: https://stackoverflow.com/questions/795 ... -sdk-compi