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>