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

No information about behaviour for multi framework projects #12551

Closed
shoter opened this issue May 28, 2019 — with docs.microsoft.com · 2 comments · Fixed by #18167
Closed

No information about behaviour for multi framework projects #12551

shoter opened this issue May 28, 2019 — with docs.microsoft.com · 2 comments · Fixed by #18167
Assignees

Comments

Copy link

shoter commented May 28, 2019

There is no description on what happens when we are trying to test projects with multiple targeted frameworks.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@Greg-Smulko
Copy link

Spoiler: when you multitarget a test project, dotnet test just runs tests against all targets.

@captainjono
Copy link

captainjono commented Apr 8, 2021

@Greg-Smulko

dotnet test "some.fullframework.dll"

"no tests found"

vstest.console.exe "some.fullframework.dll"

"5 test pass"

Im building a tool that executes tests automatically against either of these frameworks. The doco is not clear here - and attempting to detect which framework i need to run a .dll against is not pretty.

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

Successfully merging a pull request may close this issue.

7 participants