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!
DOWNLOAD
Free, fully functional trial
VSdocman Tip
Use WYSIWYG comment editor if you want to insert tables, lists, pictures, links and other formatting directly in your XML comments.
Customers

Universities
Medical institutions
Government institutions
Large financial institutions
Thousands of SW companies

Deloitte & Touche
PricewaterhouseCoopers
Bloomberg
Wells Fargo
QBE

Caterpillar
Lear
DuPont
Pfizer

Boeing
Airbus
Rolls-Royce Naval Marine
Toyota Motorsport

Bose
Mitsubishi Electric
Johnson Controls
Bentley Systems

Intel
Hewlett Packard
Bosch (Australia)
Schneider Electric

Intergraph
Volvo Information Technology
SOPRA GROUP
Agilent Technologies
Tesco SW

Syncfusion
T-Systems
Verizon
Fraunhofer Heinrich-Hertz-Institut

vs launch partner logo

VS Mag award VS Mag award

I have been using VSdocman to provide C# .NET API integrated documentation for our customers for the past 7 years. Keeping up with Microsoft's Visual Studio version changes can be challenging for developers, but VSdocman has continued to provide excellent functionality that meet our requirements to satisfy internal and external users. This company also provides immediate excellent customer support when issues or confusion occur.

Edna Turner Stilwell, Staff Writer/.NET Lead