dotnet / dotnet/project-system

Solution Explorer doesn't show files conditionally included

Open
#935 16 comments 14 reactions 0 assignees View on GitHub
Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

The Solution Explorer lacks any kind of context to display files that may be selectively included by conditions.

See
https://github.com/onovotny/Zeroconf/blob/f72ae4c009b540d22096b0233c75e61e6ad8fa9f/Zeroconf/Zeroconf.csproj

In that file, there are platform-specific files that are included in some cases. When open in the IDE, the IDE has the correct per-file context, but there's no way to pick them in the solution explorer.

The solution explorer should show all these files (possibly with some parenthesis that show the applied precondition).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.