Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Initialization of pages is very slow in 7.0.2 #4062

@curia-damiano

Description

@curia-damiano

Describe the bug

My customer is developing a big UWP application that uses the Windows Community Toolkit.
The behavior of the application is fine when using WCT 6.1.1.
After updating the NuGet package to 7.0.2, the application becomes very slow: it pretty unresponsive and in particular initialization of pages are very slow.

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
    yes, it is a regression: it is ok in 6.1.1, it happens on 7.0.2

Steps to Reproduce

  • Can this be reproduced in the Sample App?
    We are working in creating a POC.

Steps to reproduce the behavior:

  1. Given the existing application, simply running it, it is very slow with the latest version of the NuGet package
  2. With the visual studio profiler we have identified that the problem lays in GetXamlTypeByName

I attach here some screenshot showing the issue:

  1. 1
  2. 2
  3. 3
  4. 4

Expected behavior

We would expect the same performances we had in version 6.1.1.

Environment

NuGet Package(s):

Package Version(s):

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio
- [ ] 2017 (version: )
- [X] 2019 (version: 16.10)
- [ ] 2019 Preview (version: )

Additional context

I attach here other text files about this issue:

  1. threads1.txt
  2. threads2.txt
  3. threads3.txt
  4. threads4.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behaviorneed more info 📌

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions