Cannot run test when add reference from from other project
See original GitHub issueI have a structure as bellow
- Common (Class Library) project and added FastEndpoints
- API project and added reference from Common.
when run testing on solution.
dotnet test solution.sln --collect:"XPlat Code Coverage"
it’s only working when run test inside API project.
when I used FastEndpoints on only API project, it’s working
I think we should investigate, it’s important for run CI on real application
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
c# - Can't reference a project to run unit testing on it
Your solution file has no projects in it other than your test project. Add the project you want to test to your solution,...
Read more >Cannot Add Reference To XUnit Test Project
Usually test projects are created as standalone libraries. You don't add references to them. You just run the tests straight out of them ......
Read more >Shared project not listed in Add Reference for Unit Test ...
Your open channel to Microsoft engineering teams ... so it is impossible to add a reference to a Shared Project on a Unit...
Read more >Manage references in a project - Visual Studio (Windows)
Project references. Universal Windows Platform (UWP) projects can create references to other UWP projects in the solution, or to Windows 8.1 ...
Read more >How To Resolve Issue Of Test Project Not Running The ...
Even though there was no single error after the upgrade, the solution was cleaned and built successfully I was not able to run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
can you make a small repro solution with just 1 sample endpoint and 1 test? zip it up and attach it here. i will have a look. this is most likely a project misconfiguration issue where it can’t find
fastendpoints.dll
for some reason.@dj-nitehawk many thanks