gpt4 book ai didi

tfsbuild - 是否可以将可移植类库 (PCL) 与 Visual Studio Online 托管构建服务器一起使用?

转载 作者:行者123 更新时间:2023-12-01 00:47:21 30 4
gpt4 key购买 nike

我正在尝试使用 Visual Studio Online 中的 Hosted Builder 服务器。
我正在使用 Visual Studio 2015。

一切正常,直到我包含一个可移植类库 (PCL)。
我收到与 AssemblyInfo.cs 文件相关的错误:

Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (9, 12)
The type or namespace name 'AssemblyTitle' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (10, 12)
The type or namespace name 'AssemblyDescription' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (11, 12)
The type or namespace name 'AssemblyConfiguration' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (12, 12)
The type or namespace name 'AssemblyCompany' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (13, 12)
The type or namespace name 'AssemblyProduct' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (14, 12)
The type or namespace name 'AssemblyCopyright' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (15, 12)
The type or namespace name 'AssemblyTrademark' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (16, 12)
The type or namespace name 'AssemblyCulture' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (17, 12)
The type or namespace name 'NeutralResourcesLanguage' could not be found (are you missing a using directive or an assembly reference?)
Source\TestprojectSolution\TestprojectPCL\Properties\AssemblyInfo.cs (29, 12)
The type or namespace name 'AssemblyVersion' could not be found (are you missing a using directive or an assembly reference?)

是否可以将 PCL 与托管构建服务器一起使用?如果是这样,我该怎么做?

最佳答案

我刚刚在这里回答了这个问题:https://stackoverflow.com/a/33571729/1123431

发生这种情况的原因是构建代理上的 NuGet 版本不足以生成 project.lock.json来自 project.json 的文件文件。在 Microsoft 更新其默认服务器上的 NuGet 版本之前,我们只需 checkin project.lock.json文件与我们的项目。

关于tfsbuild - 是否可以将可移植类库 (PCL) 与 Visual Studio Online 托管构建服务器一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33411163/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com