我是VSTS的新手。 我想建立我的解决方案。由于某种原因,曾经存在的Visual Studio模板不再存在。所以我使用ASP.Net模板。 目前,Nuget Restore失败了;
当我转到高级还原选项并选择V4而不是默认的V3.3时,我收到此错误;
==============================================================================
Task : NuGet Installer
Description : Installs or restores missing NuGet packages
Version : 0.2.31
Author : Microsoft Corporation
Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613747)
==============================================================================
C:\Windows\system32\chcp.com 65001
Active code page: 65001
Detected NuGet version 4.0.0.2283 / 4.0.0
SYSTEMVSSCONNECTION exists true
d:\a\_tasks\NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b\0.2.31\node_modules\nuget-task-common\NuGet\4.0.0\NuGet.exe restore -NonInteractive d:\a\1\s\SIR.sln -ConfigFile d:\a\1\s\SIR.sln
NuGet.Config is not valid XML. Path: 'd:\a\1\s\SIR.sln'.
Data at the root level is invalid. Line 2, position 1.
Error: d:\a\_tasks\NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b\0.2.31\node_modules\nuget-task-common\NuGet\4.0.0\NuGet.exe failed with return code: 1
Packages failed to install
******************************************************************************
Finishing: NuGet restore
******************************************************************************
我该如何解决这个问题?