dotnet / dotnet/project-system

Allow visibility to be conditional in VS workload/component availability

Open
#7,358 0 comments 0 reactions 1 assignee Claimed by @drewnoakes View on GitHub
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

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.