.net core tests not working due to missing path

We are using Teamcity 2017.1.4 with the /Net Support plugin with a reported version of "SNAPSHOT-20170912130407"

We have Visual Studio 2017 installed on our build agent. The project builds and runs fine locally.

When we go to run the unit tests, which are in a .net core project, we get the following in the log:

Path "C:\BuildAgent\tools\TeamCity.Dotnet.Integration.2017.2.0\vstest15\TeamCity.VSTest.TestAdapter.dll" to VSTest logger was not found

At an earlier stage in the build, prior to running tests, the following line is logged:

[Copy] Copying file from "C:\Users\tcserver\.nuget\packages\teamcity.vstest.testadapter\1.0.3\build\_common\vstest15\TeamCity.VSTest.TestAdapter.dll" to "bin\Release\netcoreapp2.0\TeamCity.VSTest.TestAdapter.dll".

It seems to me that the build step is looking in the wrong place for the dll, but I can't see anywhere I can specify a different path for this DLL.

Should I just copy the DLL into the place it is expecting to find it? Shouldn't it already be there? Am I missing a prerequisite?

0
7 comments
Official comment

The issue was resolved

Hi Dylan

Did you upload the TeamCity.Dotnet.Integration package manually? Did you change the name of .nupkg?

0

Is it possible to make a screenshot of your build step?

0
Avatar
Permanently deleted user

I've been interstate, sorry, not at my computer.

The package was uploaded manually. Its name was not changed.

0
Avatar
Permanently deleted user

I would like to resolve this issue, as we have presently disabled the build step, which now means a bunch of our tests are not being run. Just let me know if there is anything you need.

0

The issue was resolved

0

Please sign in to leave a comment.