Search

Atalasoft Knowledge Base

FIX: Drag-Drop of Some Atalasoft Viewers Not Adding Control to Designer

Administrator
DotImage

In newer versions of Visual Studio (VS2012 and VS2013 at the time of writing), When you drag/drop one of Atalasoft's Winforms viewers onto your forms designer, it can sometimes fail to show up.

There are several possible causes for this...

The first thing to do is to check that you're not targeting x64. We have x64 dlls and absolutely support building x64 apps with DotImage, but the VS forms designer is running in 32 bit and can't understand our x64 dlls. (this actually can happen in ALL versions of VS, not just 2012 and 2013)

To address this situation set your platform target to x86 or AnyCPU while working in the designer and use our x86 DLLs.

The next case (if you're ensured you've got the "bitness" sorted) is to ensure you add references to ALL of the following DLLs:

Atalasoft.dotImage.dll
Atalasoft.dotImage.Lib.dll
Atalasoft.dotImage.WinControls.dll
Atalasoft.Shared.dll

You may need to restart Visual Studio after adding those references if the drag/drop still doesn't work.

Finally, if you've done all that and when you drag/drop the designer still refuses to work and/or if you see an error saying it can't add the reference to Atalasoft.dotImage.WinControls.dll because it's already there, Go ahead and remove the reference to Atalasoft.dotImage.WinControls.dll, restart VS and try again.

If you're still having issues after following these guidelines, create s support case (please make sure you reference this KB article, indicating you've already tried following it.

For more information, please see:

INFO: Bitness Roundup Whitepaper: x86, x64, AnyCPU

Original Article:
Q10406 - FIX: Drag-Drop of Some Atalasoft Viewers Not Adding Control to Designer

Details
Last Modified: 6 Months Ago
Last Modified By: Administrator
Type: FIX
Article not rated yet.
Article has been viewed 36 times.
Options
Also In This Category