Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet test Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.InternalAbstractions, Version=1.0.0.0, Culture=neutral, Publ icKeyToken=adb9793829ddae60'. #366

Closed
wvandeneede opened this issue Nov 23, 2016 · 2 comments

Comments

@wvandeneede
Copy link

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

@justdmitry
Copy link

Workaround: add Microsoft.DotNet.InternalAbstractions to test dependencies manually (xunit/xunit#1015)

@wvandeneede
Copy link
Author

Updated as suggested, works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants