Hi,
When trying to add and launch a test project to my helloworld.api project under https://github.com/wvandeneede/playground.dotnetcore i am getting the following error:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.InternalAbstractions, Version=1.0.0.0, Culture=neutral, Publ
icKeyToken=adb9793829ddae60'. Le fichier sp茅cifi茅 est introuvable.
at Xunit.Runner.DotNet.Program.GetAvailableRunnerReporters()
at Xunit.Runner.DotNet.Program.Run(String[] args)
at Xunit.Runner.DotNet.Program.Main(String[] args)
SUMMARY: Total: 1 targets, Passed: 0, Failed: 1.
Creating a seperate test project (dotnet new -t xunittest) seems to work, only not when combined with an api-project it seems.
steps to reproduce:
dotnet --version: 1.0.0-preview2-1-003177
Workaround: add Microsoft.DotNet.InternalAbstractions to test dependencies manually (https://github.com/xunit/xunit/issues/1015)
Updated as suggested, works now
Most helpful comment
Workaround: add
Microsoft.DotNet.InternalAbstractionsto test dependencies manually (https://github.com/xunit/xunit/issues/1015)