Reputation: 68740
I have a ASP.NET Core 2.x application with three projects
The Tests project references the other projects, but is not referenced by the others of course.
I get the error:
When VSTS builds the Release version, the agent work folder doesn't contain the App.Tests.dll so the VSTS Test runner doesn't run, there is no dll to run on.
Here is a picture of the agent build folder. No App.Test.dll
How can I get the agent to build the App.Tests.dll ?
Upvotes: 0
Views: 414
Reputation: 26
You can use .NET Core task with 'test' command instead. It's a simpler way.
Upvotes: 1