VSTS构建错误:第一个标记之前为非空格 [英] VSTS build error: non-whitespace before first tag
问题描述
VSTS Build定义失败,并且我无法弄清楚这个错误的原因……
C:\Windows\ \system32\chcp.com 65001
活动代码页:65001
检测到NuGet版本3.3.0.212 / 3.3.0
SYSTEMVSSCONNECTION存在true
错误:第一个标记之前为非空白。
那里有一篇文章可以为您提供帮助。
VSTS Build definition is failing and I can't make heads or tails of this error...
C:\Windows\system32\chcp.com 65001
Active code page: 65001
Detected NuGet version 3.3.0.212 / 3.3.0
SYSTEMVSSCONNECTION exists true
Error: Non-whitespace before first tag.
Nuget Installer build step, Visual Studio Build build step
Are the build steps out of order? Am I not referencing the right file on the Nuget Installer step? The Nuget Installer calls for a nuget.config xml file but my .Net Core app houses its dependencies in a project.json file. Please let me know if I need to provide more information, or what's missing from the post that would make this easier to diagnose.
For .Net Core app, using dotnet-restore command to restore package. The dotnet restore command uses NuGet to restore dependencies as well as project-specific tools that are specified in the project.json file.
Add Command Line step to your build definition. (Tool: dotnet, Argument: restore, Working folder: [folder path, which contains the project.json file])
There is an article that can help you.
这篇关于VSTS构建错误:第一个标记之前为非空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!