让dnu构建在TeamCity上工作

时间:2016-02-29 16:57:24

标签: teamcity asp.net-core dnx teamcity-9.0

我们正在尝试在TeamCity 9.16上构建一个vNext项目 - 该项目正在使用dnx451和dnxcore50框架。

当TeamCity为DNX运行dnu build时,Version = v4.5.1在尝试使用以下错误构建System.Configuration 4.0.0时出错:

DNX,Version=v4.5.1 error CS0012: The type 'Action<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes

但是,当TeamCity构建代理成功时(运行dnu build之后)登录到计算机时,从命令行运行dnvm upgrade

我怀疑这可能与TeamCity和Paths有关,但我不知道如何继续。

0 个答案:

没有答案
相关问题