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

ShellBrowser control causes error when trying to drop on a form #319

Open
logikstate opened this issue Sep 20, 2022 · 5 comments
Open

ShellBrowser control causes error when trying to drop on a form #319

logikstate opened this issue Sep 20, 2022 · 5 comments

Comments

@logikstate
Copy link

logikstate commented Sep 20, 2022

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

@logikstate logikstate changed the title 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 ShellView component not working Sep 20, 2022
@dahall
Copy link
Owner

dahall commented Sep 21, 2022

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.

@dahall
Copy link
Owner

dahall commented Sep 21, 2022

See https://github.com/dahall/Vanara/tree/master/UnitTests/ExplorerBrowser for an example of how to do this.

@dahall dahall changed the title ShellView component not working ShellBrowser control causes error when trying to drop on a form Sep 21, 2022
@tajbender
Copy link
Contributor

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 ?

@dahall
Copy link
Owner

dahall commented Nov 26, 2023

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.

@tajbender
Copy link
Contributor

@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?

tajbender added a commit to tajbender/fork.Vanara.4.tajbender that referenced this issue Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants