Home : Exceptions/Errors : Drag-Drop of Some Atalasoft Viewers Not Adding Control to Designer
Q10406 - FIX: Drag-Drop of Some Atalasoft Viewers Not Adding Control to Designer

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:

Q10165 - FAQ: Cause of System.BadImageFormatException

Q10149 - INFO: Compiling with DotImage on a 64-bit system

Q10341 - INFO: Workaround for a license compiler exception on 64-bit systems with VS2010 .Net 4.0

Q10288 - INFO: Workaround for a license compiler exception on 64-bit systems with VS2008/VS2010 .Net 2.0

Q10158 - INFO: Warning:Referenced assembly targets a different processor

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.

Powered By InstantKB.NET v1.3
Copyright © 2002, 2017. InstantASP Ltd. All Rights Reserved