由于deps.json,Teamcity构建失败

时间:2020-08-24 13:30:05

标签: asp.net-core teamcity csproj vstest visual-studio-test-runner

TestProj1在TestProj2中被引用

Teamcity尝试在构建服务器上进行“ TestProj2”构建时,Teamcity正在 TestProj2 bin文件夹中寻找“ TestProj1 .deps.json” 作为 C:\ work2 \ ad41akjfds \ TestProj2 \ bin \ x64 \ Release \ netcoreapp2.1 \ win7-x64 \ TestProj1.deps.json , 其中,TestProj2 bin文件夹中只有其相关的“ TestProj2.deps.json”文件。我缺少什么?如何控制“ deps.json”文件的创建?

Teamcity使用“ VStest”

TestProj2.csproj的配置如下,

   <PropertyGroup>
     <TargetFramework>netcoreapp2.1</TargetFramework>
     <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
     <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
     <Platforms>x64</Platforms>
     <PreserveCompilationContext>false</PreserveCompilationContext>
   </PropertyGroup>

0 个答案:

没有答案
相关问题