dotnet test should have a --runtime option for consistency with other commands.
See original GitHub issueSteps to reproduce
First dotnet build -r linux-x64
So xxx.dll file will generate to /bin/Release/netcoreapp2.1/linux-x64/ folder.
Then dotnet test --no-build
Will get a error like this
The test source file “/bin/Release/netcoreapp2.1/xxx.dll” provided was not found.
how to solve it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
dotnet test should have a --runtime option for consistency ...
I agree. I would like to make these options consistent between the "implicit restoring" and "implicit building" commands. Unfortunately, the ...
Read more >Can dotnet-test specify a runtime-identifier?
I am trying to use dotnet test, but I would like to be able to specify a runtime identifier. Specifically, I need to...
Read more >dotnet test command - .NET CLI
The dotnet test command is used to execute unit tests in a given solution. The dotnet test command builds the solution and runs...
Read more >dotnet build command - .NET CLI
The dotnet build command builds a project and all of its dependencies.
Read more >dotnet restore command - .NET CLI
Learn how to restore dependencies and project-specific tools with the dotnet restore command.
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
Hi @Rwing. Thanks again for reporting this issue. I’ve made a fix to 2.2.100 (a future version of the .NET Core SDK) that will add the
--runtime
option todotnet test
. As such, I’m closing this issue. Please reopen if you have any questions or concerns. Thanks!@peterhuene –runtime have not been added to documentation (in fact, latest
dotnet test
documentation is for 2.1 version)