Open AdmiralSnyder opened 4 years ago
Hello AdmiralSnyder, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
@Kyaa-dost how would i start fixing this?
@AdmiralSnyder If you can fix that and create a PR that would be great 👍
@marb2000 should this scenario work? Do you know what we might be missing here?
@Kyaa-dost i don't know where to start looking to fix that. - the XAML islands project doesn't build, for a start… (well… didn't, a week ago or so...)
@AdmiralSnyder Let's see what @marb2000 has to say about this scenario.
Using a .NET wrapped control like InkCanvas should work on the .NET Framework, although we encourage everyone to move to .NET Core 3.x . Also you should be able to use the WindowsXamlHost to host others system UWP controls. Custom controls) are not supported. We tested those NET wrapped controls long time ago (2 years?), and they worked well.
Did you try to create the controls via code behind instead of using the designer? Perhaps it's a issue with the WinForms designer.
hey, good idea. i tested it to create an InkCanvas at runtime, and got the problems described here: https://techcommunity.microsoft.com/t5/windows-dev-appconsult/using-xaml-islands-on-windows-10-19h1-fixing-the-quot/ba-p/376330 after solving them by creating a manifest and adding the maxtestedversion thing, it works. not in the designer, though... and core designer bugs out, either... but that's WIP, so... Still, the fact that it's not winforms designer compatible should either be fixed or at least be documented. i'll see whether it is compatible with UserControls this weekend.
Describe the bug
When trying to drag a control from the Visual Studio toolbox onto a WinForms' form, this error message pops up:
Microsoft Visual Studio
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
The control should appear, as it did in the WPF (core 3.1) project.
Environment