`dotnet test` does not print output for .NET Framework tests for Microsoft.Bcl.Cryptography
@ViktorHofer is already working on this.
Since Jul 14, 2025.
Assessment
This issue has not been assessed yet.
Description
If you run dotnet test against Microsoft.Bcl.Cryptography, the .NET Framework tests will not print any output of the test execution.
Steps to reproduce on Windows:
- Check out
main - Do a build
.\build.cmd -rc Release -s clr+libs - Run
.\dotnet.cmd test .\src\libraries\Microsoft.Bcl.Cryptography\tests\
Observe that it does run the .NET 10 tests, and the output for the building the tests for .NET Framework, but does not actually print the output for the test execution itself
Results File: E:\code\runtime\artifacts\bin\Microsoft.Bcl.Cryptography.Tests\Debug\net10.0\TestResults\vcsjones_KEVINJONES078C_2025-06-12_16_32_26.trx
Html test results file : E:\code\runtime\artifacts\bin\Microsoft.Bcl.Cryptography.Tests\Debug\net10.0\TestResults\TestResult_vcsjones_KEVINJONES078C_20250612_163227.html
Failed: 0, Passed: 1484, Skipped: 12, Total: 1496, Duration: 1 s - Microsoft.Bcl.Cryptography.Tests.dll (net10.0)
Microsoft.Interop.SourceGeneration -> E:\code\runtime\artifacts\bin\Microsoft.Interop.SourceGeneration\Debug\netstandard2.0\Microsoft.Interop.SourceGeneration.dll
DownlevelLibraryImportGenerator -> E:\code\runtime\artifacts\bin\DownlevelLibraryImportGenerator\Debug\netstandard2.0\Microsoft.Interop.LibraryImportGenerator.Downlevel.dll
TestUtilities -> E:\code\runtime\artifacts\bin\TestUtilities\Debug\net481\TestUtilities.dll
System.Formats.Asn1 -> E:\code\runtime\artifacts\bin\System.Formats.Asn1\ref\Debug\net462\System.Formats.Asn1.dll
System.Formats.Asn1 -> E:\code\runtime\artifacts\bin\System.Formats.Asn1\Debug\net462\System.Formats.Asn1.dll
Microsoft.Bcl.Cryptography -> E:\code\runtime\artifacts\bin\Microsoft.Bcl.Cryptography\Debug\net462\Microsoft.Bcl.Cryptography.dll
System.Security.Cryptography.Pkcs -> E:\code\runtime\artifacts\bin\System.Security.Cryptography.Pkcs\ref\Debug\net462\System.Security.Cryptography.Pkcs.dll
System.Security.Cryptography.Pkcs -> E:\code\runtime\artifacts\bin\System.Security.Cryptography.Pkcs\Debug\net462\System.Security.Cryptography.Pkcs.dll
Microsoft.Bcl.Cryptography.Tests -> E:\code\runtime\artifacts\bin\Microsoft.Bcl.Cryptography.Tests\Debug\net481\Microsoft.Bcl.Cryptography.Tests.dll
Where is the text execution?
PS E:\code\runtime>
It will print the output if you explicitly pass the framework like .\dotnet.cmd test .\src\libraries\Microsoft.Bcl.Cryptography\tests\ -f net481
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 589
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agentic-workflows untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area-VM-meta-mono untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 75/100
sillsdev/languageforge-lexbox#2665 ·
-
bug documentation frontend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
azurenoops/spin_agent#975 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·