Generated solution includes markdown documents for disabled components

未关闭
#226 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@Arlodotexe 已经在做这个了。

开始于 2024年11月4日。

评估

这个 Issue 还没有评估数据。

描述

bug :bug:
Describe the bug

The generated solution doesn't exclude markdown documents for disabled components, making it impossible to use the 'single-component' view through our primary solution.

Steps to reproduce
.\tooling\GenerateAllSolution.ps1 -MultiTargets wasdk -Components Extensions

Note: due to another bug, the Converters and SettingsControls must be included when building the gallery, making the repro command:

.\tooling\GenerateAllSolution.ps1 -MultiTargets wasdk -Components Extensions,Converters,SettingsControls
Expected behavior

When single-solution (tabbed) view should show if only a single component is requested during solution generation, and documents in excluded components shouldn't be included.

Screenshots

Note how the sample projects are not included, but the markdown files containing the samples appear anyway.

Image

Code Platform
  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)
Other Windows Build number

No response

App minimum and target SDK version
  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)
Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

No response

Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item.

主要语言
C#
星标
57
派生
20
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommunityToolkit/Tooling-Windows-Submodule 的其他 Issue

查看 CommunityToolkit/Tooling-Windows-Submodule 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。