Repository navigation
An assembly specified in the application dependencies manifest (testhost.deps.json) was not found #710
Unanswered
sandeeptalabathula
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Which command does actually cause the error? Is it the first line: Or the second: If the first line? If yes, then I probably can't help. Maybe you have to update the |
1 reply
|
I use the same commands in my projects and it works fine for me. The error message seem strange to me: ReportGenerator does not have a dependency to I have no idea what's wrong with your setup. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Following this integration guide - https://reportgenerator.io/getstarted
This command is continuously producing the below error. We don't
PS C:\TestFolder> dotnet test --collect:"XPlat Code Coverage" "\users\YOUR_USERNAME.nuget\packages\reportgenerator\5.4.1\tools\net8.0\ReportGenerator.exe" -reports:\TestResults*\coverage.cobertura.xml -targetdir:\coveragereport
VSTest version 17.11.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Testhost process for source(s) '\users\YOUR_USERNAME.nuget\packages\reportgenerator\5.4.1\tools\net8.0\ReportGenerator.exe' exited with error: Error:
An assembly specified in the application dependencies manifest (testhost.deps.json) was not found:
package: 'Newtonsoft.Json', version: '13.0.1'
path: 'lib/netstandard2.0/Newtonsoft.Json.dll'
. Please check the diagnostic logs for more information.
Test Run Aborted.
I even tried to downgrade Newtonsoft.Json but that didn't help.
All reactions