Skip to content

Build is broken #838

Open
Open

Description

@Balkoth

Describe the bug

Image

Steps to reproduce

A clean fetch does not build and run.

Expected behavior

Compile and run.

Screenshots

No response

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 10 21H2 (Build 19044)
  • Windows 10 22H2 (Build 19045)
  • 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)
  • Windows 10, version 2104 (Build 20348)
  • Windows 11, version 22H2 (Build 22000)
  • 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.

Activity

  1. Avid29 commented on Apr 2, 2026

    @Avid29
    Member

    More information needed. Which solution are you looking at? Which Visual Studio version are you using?

    The image you attached is private and not accessible.

    That said, my first guess is that you're using Visual Studio 2026, which in my experience refuses to download the .NET 9 SDK. In global.json and change the sdk version to 10.0.1 (from 9.0.31).

  2. Balkoth commented on Apr 2, 2026

    @Balkoth
    Author

    Given this environment:

    The Windows Community Toolkit requires Visual Studio 2022 or later to build and Windows 10 or later to execute. If you're building an app with WinUI and Windows App SDK for the first time, follow these installation instructions.

    Required Visual Studio components:

    Windows application development
    .NET desktop development
    Windows 10 SDK, version 2004 (10.0.19041.0)
    Windows 10 21H1 (Build 19043) or greater

  3. Avid29 commented on Apr 2, 2026

    @Avid29
    Member

    Okay. How did you open the solution? Did you open CommunityToolkit.AllComponents.sln or did you click GenerateAllSolution.bat?

    What component do you want to look at?

  4. Arlodotexe commented on Apr 20, 2026

    @Arlodotexe
    Member

    @Balkoth If you could provide the exact repro steps and setup that you're running to hit this bug, we can help here.

  5. Balkoth commented on May 27, 2026

    @Balkoth
    Author

    -> Errors upon errors, does not matter if everything is run as admin. Please advise on how to build and run this project again.

  6. Balkoth commented on Jul 29, 2026

    @Balkoth
    Author

    I still can not build this from the steps i provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions