dotnet / dotnet/project-system
Allow visibility to be conditional in VS workload/component availability
Open
Feature-Project-Properties-Designer
Triage-Approved
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
We currently have functions which may be called from visibility condition expressions to determine whether a given property should be displayed in the Project Properties UI or Launch Profiles UI.
It seems like allowing visibility to be conditional on whether a given VS component was installed would be useful.
---
For example, the `WebView2Debugging` property has description:
> Enable JavaScript debugger for Microsoft Edge (Chromium) based WebView2. Requires the JavaScript Diagnostics component.
We could remove the final sentence and outright hide it when the JavaScript Diagnostics component was not available.
Contributor guide
Assessment
This issue has not been assessed yet.