dotnet / dotnet/wpf

[XAML] Nested x:TypeArguments: "Type was not found" error.

Open
#10,050 6 comments 0 reactions 0 assignees View on GitHub
area-Compilers Untriaged
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

When using a nested generic type argument with the x:TypeArguments directive (such as Nullable\), the following error is incorrectly shown in the XAML file:
![Image](https://github.com/user-attachments/assets/9dcdc2da-5d56-49f8-ad6e-c4023aa4e9a3)

When you actually run the application, it works fine.

I'm using Visual Studio 2022 17.11.4.

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.