Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wirox opened this issue Nov 10, 2024 · 6 comments
Open

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

Wirox opened this issue Nov 10, 2024 · 6 comments

Comments

@Wirox
Copy link

Wirox commented Nov 10, 2024

When using a nested generic type argument with the x:TypeArguments directive (such as Nullable<bool>), the following error is incorrectly shown in the XAML file:
Image

When you actually run the application, it works fine.

I'm using Visual Studio 2022 17.11.4.

@miloush
Copy link
Contributor

miloush commented Nov 11, 2024

This seems to be a Visual Studio/designer issue, out of scope for this repo.

@h3xds1nz
Copy link
Contributor

h3xds1nz commented Nov 11, 2024

Yeah, that's been there for quite some time.

Similarly, using a Nullable<T> binding over a generic will yield the same result (though it's a bit different case) though there are no issues in runtime as its supported.

@mgoertz-msft
Copy link

FYI @etvorun

@Wirox
Copy link
Author

Wirox commented Nov 12, 2024

This seems to be a Visual Studio/designer issue, out of scope for this repo.

Yeah, I've got to say I'm not quite sure which repo is the right place to report this sort of a bug. Do you know if there is a repo for Visual Studio itself? Or do I have to report the bug through the in-app system?

@miloush
Copy link
Contributor

miloush commented Nov 12, 2024

There is no repo for that, yes you go in VS to Help > Send Feedback > Report problem.

Btw is this WPF/UWP/WinUI?

@Wirox
Copy link
Author

Wirox commented Nov 14, 2024

There is no repo for that, yes you go in VS to Help > Send Feedback > Report problem.

Btw is this WPF/UWP/WinUI?

Thanks. And this is WPF.

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

No branches or pull requests

4 participants