dotConnect for Oracle breaks WPF designer.
Posted: Mon 31 Jan 2011 12:31
Hi!
I have a really odd issue with dotConnect for Oracle and Visual Studio 2010.
The WPF designer behaves erratically when dotConnect is installed (in particular, when the "Design time support assemblies" is installed.
Normally, when you drag visual components from the toolbox to a WPF window, the cursor reverts to a normal pointer after the component is dropped on the WPF designer. (Which enables you to select elements and move them around)...
In my case, the cursor becomes a crosshair, which means that if a click on the designer after dropping a component, it just draws out more and more components. Not even clicking the pointer icon in the toolbox gets the normal pointer back. The only way is to close the form and open it again. I have tried resetting the toolbox, without any effect. When you do heavy editing in the WPF design surface, this gets very annoying.
The odd thing about this is that if I uninstall dotConnect, it works as expected. I have nailed it down to the dll Devart.Data.Oracle.Vs.dll. I did some testing, and if I rename this dll and start Visual Studio, I get an expected error message saying that it could not load the dll, but the behaviour then works as expected. Unfortunately no other features of dotConnect works either...
I have tried uninstalling VS2010, everything dev.related on the box and even reinstalling .Net FW 4.0, but the issue is still there.
Has anyone seen similar behaviour?
Regards
//Thomas
I have a really odd issue with dotConnect for Oracle and Visual Studio 2010.
The WPF designer behaves erratically when dotConnect is installed (in particular, when the "Design time support assemblies" is installed.
Normally, when you drag visual components from the toolbox to a WPF window, the cursor reverts to a normal pointer after the component is dropped on the WPF designer. (Which enables you to select elements and move them around)...
In my case, the cursor becomes a crosshair, which means that if a click on the designer after dropping a component, it just draws out more and more components. Not even clicking the pointer icon in the toolbox gets the normal pointer back. The only way is to close the form and open it again. I have tried resetting the toolbox, without any effect. When you do heavy editing in the WPF design surface, this gets very annoying.
The odd thing about this is that if I uninstall dotConnect, it works as expected. I have nailed it down to the dll Devart.Data.Oracle.Vs.dll. I did some testing, and if I rename this dll and start Visual Studio, I get an expected error message saying that it could not load the dll, but the behaviour then works as expected. Unfortunately no other features of dotConnect works either...
I have tried uninstalling VS2010, everything dev.related on the box and even reinstalling .Net FW 4.0, but the issue is still there.
Has anyone seen similar behaviour?
Regards
//Thomas