Drag&drop of image files into WYSIWYG comment editor doesn't work. What's wrong?

Normally, you can drag an image file from e.g. Windows Explorer and drop it directly into the Comment editor. The image will automatically be inserted in the comment. Sometimes this doesn't work for the following reasons:

  1. You have Windows Vista or later (e.g. Win 7 and 8) and you run Visual Studio as administrator. This is a known issue.

    On Windows Vista and newer Windows Explorer runs with medium integrity level. If you run Visual Studio as administrator (high integrity level) then for security reasons OS will disable drag and drop from Explorer to Visual Studio.

    You can either run Visual Studio as normal user or use an alternate file manager that can be executed as administrator. For other possible solutions see http://stackoverflow.com/questions/15226600/visual-studio-does-not-let-me-drag-drop-items-into-it.
  2. You have Windows Vista or later (e.g. Win 7 and 8) and you open the comment editor as a modal dialog. Visual Studio doesn't allow drag&drop in modal dialogs in Vista and newer. You need to set the comment editor as modeless window in VSdocman options.

If none of the above solutions is suitable for you, there's one general workaround. Use copy&paste instead of drag&drop. Select the desired image file in Windows Explorer and copy it by pressing CTRL+C. Go to the comment editor and paste it by pressing CTRL+V.


Start generating your .NET documentation now!
Free, fully functional trial
VSdocman Tip
Adding <see> and <seealso> links into your XML comments is easier with VSdocman's WYSIWYG comment editor.

Medical institutions
Government institutions
Large financial institutions
Thousands of SW companies

Deloitte & Touche
Wells Fargo


Rolls-Royce Naval Marine
Toyota Motorsport

Mitsubishi Electric
Johnson Controls
Bentley Systems

Hewlett Packard
Bosch (Australia)
Schneider Electric

Volvo Information Technology
Agilent Technologies
Tesco SW

Fraunhofer Heinrich-Hertz-Institut

vs launch partner logo

VS Mag award VS Mag award

A few years ago, we gave a test to several products to document our source code. We finally chose VSdocman mostly because it was easy to use, from within the development environment, making training of programmers useless. It provides flexible features which enables producing complete documentation for people using our products and also for internal use. When technical support is required (we needed this when switching to VS 2015), Peter answered our emails very quickly. After more than 3 years with VSdocman, we strongly recommend the product which is amazingly easier to use than SandCastle.

Pierrick Combreau, Product Manager, Quotalys Ltd