You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Diagnostics.FileVersionInfo.Tests is selected by the WASI library-test project graph and evaluates with PublishReadyToRun=true, but the tests do not appear in the WASI ReadyToRun test results.
Browser coverage is intentionally absent: the project sets IgnoreForCI=true for TargetOS=browser, and the assembly has a Browser platform skip. The missing WASI coverage appears unintended.
Reproduction Steps
Evaluate src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj with TargetOS=wasi, TargetArchitecture=wasm, RuntimeFlavor=CoreCLR, TestWasmReadyToRun=true, and TargetFramework=net12.0-browser.
Observe that PublishReadyToRun=true and the project is included by src/libraries/tests.proj.
Inspect the successful net12.0-wasi-Release-wasm-CoreCLR_WASI_R2R_Release-WasmTestOnWasmtime run from Azure DevOps build 1692590, test run 4725609.
Observe that none of the 7,149 results belong to System.Diagnostics.FileVersionInfo.Tests.
Expected behavior
The FileVersionInfo tests should execute in the WASI ReadyToRun lane, or the project should have an explicit and documented exclusion if the API is unsupported there.
Actual behavior
The WASI ReadyToRun lane succeeds without executing any FileVersionInfo tests.
Regression?
Unknown.
Known Workarounds
N/A.
Configuration
Target OS: WASI
Architecture: wasm
Runtime: CoreCLR
Mode: ReadyToRun
Evidence: Azure DevOps build 1692590, test run 4725609
Other information
This was identified while reviewing #138114. The project targets net12.0-browser for WebAssembly, and its assembly-level Browser skip may also suppress the WASI execution path; this needs investigation.
Activity
dotnet-policy-service commentedon Nov 23, 2026
Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Nov 23, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.