Vanara
Vanara copied to clipboard
ShellBrowser control causes error when trying to drop on a form
Grabbing the packages from NuGet (via Vanara.Windows.Shell) and trying to use a ShellBrowser (dragging the Vanara shell browser into a windows Form) causes an exception "microsoft.dotnet.designtools.client.design tools serverexception object doesnot match target type" ... Not sure if I'm doing something wrong? Tried in msvc 2022 and 2019
This is a known issue. A few of us have tried to fix without success. It works if you add the control manually to your form.
See https://github.com/dahall/Vanara/tree/master/UnitTests/ExplorerBrowser for an example of how to do this.
This is a known issue. A few of us have tried to fix without success. It works if you add the control manually to your form.
Isn't this my Control?
I didn't use it some time now. I will see if I can fix it..
@dahall : Any issues known when using Vanara in .net 8 ?
This is a known issue. A few of us have tried to fix without success. It works if you add the control manually to your form.
Isn't this my Control?
I didn't use it some time now. I will see if I can fix it..
@dahall : Any issues known when using Vanara in .net 8 ?
Not to my knowledge, and, yes, this is the control that you reworked. I've got a beta released that supports nullability and .NET 7. I'll see how 8.0 affects that build.
@logikstate, @dahall: Sorry for being late..
I'll take a look at it.
@dahall: Could you assign this issue to me, so I don't forget about it?