Visual Studio opening files when dragged and dropped in WPF app debugging session

I'm working on a WPF app (using VS2013 CE) which is intended to manage media files (TV Shows, movies, etc) and as part of this I am enabling the user to drag and drop media files on to the running app (by adding AllowDrop="True" and PreviewDragEnter="Window_PreviewDragEnter"
to my Window definition).
The problem I have is that when I drag files onto the app in a debugging session Visual Studio then opens the file(s) when I stop debugging... this is seriously annoying as when I am testing with large media files (> 1GB) it just locks up VS for minutes
at a time while it tries to open the file or files. When I run the app outside the debugger this does not happen - it's only when I'm in a VS debugging session.  The only way I can stop this happening is to kill VS completely from Task Manager then restart
it - this is also very annoying but often I need to do this as it will freeze up for 5-10 minutes while it insists on loading the files in VS.
I understand the app, whilst debugging, is running in the context of VS but why does VS then have to try to open the files when debugging is finished?   I have looked through the options but can't see anything to switch this off and no amount of searching
has turned up anything - can anyone put me out of my misery with a solution to this annoying issue?

Hello nzmike,
Does Visual Studio behaves like the following image shows and just hangs when opening your media file?
Do you have any other computer which installs Visual Studio? Can you reproduce this on it?
In order to troubleshoot this issue I think we need to locate the root reason of your issue. The problem can related to the following:
1. Your project is corrupt and VS then trys to load that file when debug finished.
2. Your VS is corrupt and caused this problem.
So please do something below:
1. Try clean and rebuild your project.
2. Switch to some other PCs and use VS and your project there, check if the problem can be reproduced.
3. You can backup your VS setting and try some commands: devenv /resetsettings and devenv /resetuserdata
Details about VS command:https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
And based on th research of the above second step, if you can reproduce this issue on more than one PC, the problem is pending on your project and I need you to share a simple sample which can reproduce this issue. We will need to investigate the project
in detail.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?

    When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?  I have a heirarchical embedded folder structure under \Documents.  Usually, as I drag the file to be moved over the various folders, they will blink twice, then expand/open to reveal contents (in Finder).  Now, when the file to be moved is held (hovering) over the destination folder, it will not blink or expand, so there's no place to drop the file.  If I release the mouse button, the file image disappears, showing that it is "going back to the place it came from", a.k.a. was not moved.  This just started happening.  I noticed it after upgrading to Mavericks.  Is this a bug or could anything else be causing this?

    As of today, Apple Support discovered during a remote support session with me that the same thing happens on their own system.  It is isolated to "Column View"; the Icon and List views in Finder behave correctly.  Issue is being escalated to engineering, and Apple will call to report status in a couple days.  In all likelihood, this is a bug that will need to be addressed in a future update.

  • Mail doesn't attach files through dragging and dropping the files!

    Help please,
    Mail doesn't attach files through dragging and dropping the files on OS X ML, it crashes for a while !!

    Open Disk Utility and Repair disk permissions on the First Aid tab.
    Then, Restart and boot into Recovery Mode by holding down cmd-r on restart until you see a gray screen. When the Mac boots, you will be presented with some options. Choose Disk Utility and select your Hard drive volume (Macintosh HD is the default name). Then, on the First Aid tab, click Repair Disk (not permissions).
    If that doesn't help, you could try installing the 10.8.2 combo updater from the Apple Downloads site:
    http://support.apple.com/kb/DL1581

  • Transfering files using drag and drop to Nano P

    I havent installed the supplied disks that came with my Nano Plus but am transfering files using drag and drop from "my music" folder on my computer to the Nano. These files are stored on my computer as the Name of the Artist as the folder name with a sub folder named the CD title (default setting when using Windows media to rip) with the individual track files in that folder.
    When I drag the main folder over to my Nano it just displays the Album title on the screen but not by artist and there is no way to select by artist (you can just switch "folders" on the Nano which will then display the CD title. If I used the supplied software with my Nano to transfer the files will I be able to choose by artist, CD, Genre, etc or is this not a function of the Nano?
    Is it best to just select the individual song tracks and throw them in one large group on the Nano and then it can figure out which artist, album, genre they belong to?

    The player will only show directories that contain music files.
    The behaviour you want is common on players that manage their content with a database (typically HD-based devices), but Creative's flash players don't work that way (and the software used on the host computer doesn't have any influence on this - the user interface is controlled by the player's firmware).

  • I have an external hard drive that I have been using for years.  All of a sudden my mac will not recognize the external as a "save as" device location.  But the external does show up on my desktop and I can open it to drag and drop items. Help.

    I have an external hard drive that I have been using for years.  All of a sudden my mac will not recognize the external as a "save as" device location.  But the external does show up on my desktop and I can open it to drag and drop items.  What happened and how do I get my mac to rerecognize the device?!?!?

    Hi,
    Check Finder>Preferences>Sidebar, is it checked there to show external drives?

  • When drag and dropping a page to a separate folder the default name is "Untitled Extract Pages.pdf", how do I change this to other default name?

    Hi,
    When drag and dropping a page to a separate folder the default name is "Untitled Extract Pages.pdf", how do I change this to other default name?
    Thanks for any reply that can help!
    BR
    /H

    I don't think you can change it.

  • Are there any events to script a component when dragged and dropped into the parsys area?

    are there any events to script a component when dragged and dropped into the parsys area?

    The cq:listeners node of a component's cq:EditConfig has a number of events that fire with relation to the edit mode drag'n'drop stuff. You would probably want to hook one or more of the insert ones (beforeinsert, beforechildinsert, afterinsert, afterchildinsert).

  • Start Workflow when Upload File using drag and drop

    Hi,
    I am working with SharePoint 2013.
    I have a workflow needed to be started and run only once after a document is uploaded into the document library. The document library has
    required custom columns with default values. If I set workflow starting option as 'On Created', when user got redirected to the edit form and click 'Save', there would be error as
    "The <filename> has been modified by <user> on <datetime>". Besides the unwanted error dialog, the metadata entered by users are not reflected. I understand the issue is because the workflow had already started before
    the edit form showed and it modified the file.
    So I changed the starting option to 'On Changed", created an additional column to record if the workflow has been run or not to avoid running the whole workflow more than once. This works fine for normal upload. However on drag and drop, the
    event 'On Changed' is not triggered and the workflow is not started. I checked the version of the file but in both normal upload and drag and drop, there is another version after the first version. But
    only the version of normal upload triggers the workflow.
    I read an article about some Mode = Upload on the edit form.
    https://go4answers.webhost4life.com/Example/workflow-triggered-during-upload-user-149297.aspx
    It seems that the Mode = Upload is not there anymore for normal upload, but it's still there for drag and drop. Not sure about this
    Is there a solution for my case. Basically I want to start the workflow only once when the document is uploaded normally or via drag and drop. For normal upload, user can
    edit the custom metadata right after they browse the file. For drag and drop, the
    metadata will be set as default values.
    Thank you.

    I'm still researching your issue, but as an interesting note... This is an issue only when I use a 2013 style workflow. I do not get the error when using a 2010 style workflow.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Set default import format when drag and drop sound file into multitrack view?

    I've looked around the preference panels but cannot find where to set the import settings for dragging and dropping sound files into multitrack view. Some of our computers have correct settings and others do not. Thanks for your help!
    G

    I should have been more specific, sorry... I mean bit depth and bit rate... On some machines this defaults correctly and on other machines it is wrong. Not sure how to set these to downconvert properly by default. Unless it automatically takes the format of the source file, in which case it's just been luck.
    Thanks,
    G

  • Is it possible to combine pdfs from software containing the file by dragging and dropping them?

    We have a piece of software that we profile PDF files into it and then have a need to combine those PDFs into one file.  Is it possible to just drag and drop from the software into the combine files area?  I know if you open the files first, you can do that or if you save the documents locally, then you can combine them.  It would be ideal to just select the files in the software, then drag and drop them into the combine pdf window.  We are using Adobe Pro XI.

    Hi Hawk2000,
    The workflow you are talking about is very much possible with Acrobat and a good example is Microsoft Outlook from which we can select multiple e-mails and simply drag into Acrobat combine dialog box for combining.
    What happens when you drag files from you software? Is it public software?
    Can we test your software?
    Regards,
    Anoop

  • Missing files after drag and drop

    In the newest FCP X, I accidentally imported a couple .mov files into the wrong event. I dragged and dropped them into the correct event but now they are missing. I've checked each event in FCP, and also looked for the files in Finder (opening each event from FCP), for the files and can't find them. I can't find them at all in the FCP X created backup versions. Any other ideas on where to find the files?

    Ah ha!  Now I bet I know where they are!   Go to the original Event, or the Event you copied them to.  Dont' search names, look at the clips them selves.  FCPX by defualt changes the names to creation time/date.  Select everything in an Event, go to the Modify menu, to "Apply Custom Name", and select "Original Name From Camera".  I bet they show up.
    From now on, when you move or copy stuff, to verify it will work properly, and for peice of mind, highlight what you want (Event, Project, media file), go to the File menu and select the move or copy command.
    And remember that FCPX renames your video when you import it.  I hate it, too.  But, that's how they do it.
    Also remember when you rename the file in FCPX, the creation time/date name stays in the Finder.

  • Problem Copying Files using Drag and Drop in Finder

    When I try to copy files from a camera's SD disk into a folder in Finder, it always seems to copy the files to some other location other than the folder I drag and dropped to. And then, when I try to redo the drag and drop, I get a message that these files already exist in the desired folder, even though I don't see them there!
    Also when I create a new folder in Finder, it never places the new folder under the folder I've currently highlighted.
    I'd love to hear whats going on here!
    Ted

    tedpratt wrote:
    When I try to copy files from a camera's SD disk into a folder in Finder, it always seems to copy the files to some other location other than the folder I drag and dropped to. And then, when I try to redo the drag and drop, I get a message that these files already exist in the desired folder, even though I don't see them there!
    What Finder "view" option are you using, List, Icons, Columns, or Cover Flow, for this question and the one below? Are you dragging those photos onto the icon of a closed folder or somewhere else? Please describe the exact process that you're executing.
    Also when I create a new folder in Finder, it never places the new folder under the folder I've currently highlighted.
    When you say "under", do you mean "within"? A new folder will be placed in the folder that's open.

  • Moving files by drag and drop

    Am I missing a trick in Finder? I have it set to the "three panels" where sub folders are displayed. If I have file in Panel A (leftmost) and I want to drag and drop it into a sub-folder or a folder in Panel A, how do I do it ?!! I can see the sub-folders in Panel B when I click on the main folder in Panel A, but as soon as I click on the stray file in Panel A, all the sub-folders in Panel B go disappear (as I am no longer clicked on the main folder).
    What I currently tend to do is drag the file to the desktop and then re-drag it to the sub-folder once I get it to re-display. Sometimes, I'll also try and hold the file while precariously trying to navigate towards the relevant subfolder, but only in times of madness. Either way it seems a very inconvenient making straight forward file movements, and I am wondering if I have something set wrong?

    Your best bet is to open a Window to Panel A & another Window to Panel B, or get a Desktop/Finder replacement APP.

  • "cgpdftops quit unexpectedly" when drag-and-drop/batch printing in Yosemite

    I have an annoying little frustration when printing certain PDF documents in Yosemite. It happens when I drag and drop documents from Finder onto an installed printer--i.e., dragging the document file onto the printer icon that has been copied to the desktop (essentially batch printing). Whenever this happens, I get a "Stopped - 'Filter' failed" error message, along with a "cgpdftops quit unexpectedly" lengthy problem report. After tinkering around for a while, I discovered that this only happens when the document is in landscape mode--if I drag and drop a document in portrait mode, it prints just fine this way. Furthermore, if I actually open the PDF document in Adobe Reader--even the landscape ones--I can print them all perfectly fine that way. It ONLY happens on LANDSCAPE documents when using the drag-and-drop print method. VERY STRANGE!
    A little background--I found this out when one of my users was attempting to do this with her newly-upgraded iMac and started receiving this message. She does a lot of batch printing because of the number of files she has to routinely deal with, and this saves her a lot of time over opening each file individually. She says she never had an issue with this when she was on Mavericks, and it only started when she upgraded to Yosemite. I ended up trying this on my own Macbook Pro running Yosemite and was able to replicate the problem on it. I've also replicated the problem on more than one printer of different brands, so I can eliminate that being the source. My user ends up sending the files to her coworker, who is running Mavericks, and is able to batch print the files successfully.
    I have been able to whittle it down to the issue simply being printing any PDF file in landscape mode to any printer from any Mac running Yosemite using the drag-and-drop/batch printing method. Numerous Google searches have gotten me nowhere with this. Some point to similar issues which throw this error message, but none specifically point to this particular issue. Certainly I can't be the only person who has tried this...
    Does anyone have any ideas?? I'm all out...

    How much storage space is left on the boot drive of the Yosemite iMac where the CUPS cgpdftops filter croaks? Are the printer drivers for the problematic printers current for Yosemite. Have you removed and reinstalled current printer drivers for the associated printers?

  • Unable to upload a file with Drag and Drop and http

    Hello,
    I am trying to upload a file through the web interface (Netscape 4.7 and IE 5.0). When I click un upload, Via Drag and Drop, a new window is started, but never completes.
    With Netscape, I get a message box: Netscape is unable to locate the server null. Please check the server name and try again.
    With IE 5, I get an error: This page can not be displayed.
    Are there any files I need to edit on the PC side to get this to work?
    Thanks
    Scott
    PS I think you guys are doing a great job with support on iFS.

    WebUI Drag & Drop requires FTP to be running and available.
    Drag & Drop is really just uses the browser built in FTP ability.

Maybe you are looking for

  • Safari won't open (EXC_BAD_ACCESS)

    I have tried to update the latest version of Safari (for Tiger 10.4.11) but, still, won't open. It keeps unexpectedly closed. The log is here : Date/Time: 2010-12-29 21:13:07.783 +0700 OS Version: 10.4.11 (Build 8S165) Report Version: 4 Command: Safa

  • How to disable password for Diagnositics

    Hi, I want to disable the password option while I am doing Diagnostics. It is asking for password everytime when I select Navigation Menu -> Help -> Examine -> Diagnostics Please let me know how to disable this. Thanks in Advance!! Madhu Kumar

  • Can you change the default font in an iPad mail account?

    I suspect you can't, but just checking: can you change the default font in an iPad mail account?

  • Customer Balance Transfer possibility?

    Hi, Is there a possibility to transfer CUSTOMER balances directly or using somework around. Please let me know me know with the transaction codes possible! Thanks Regards

  • [Solved] Removing "Recently Used" and "Search" Entries from Open/Save

    Each time I save or open a document, the dialog box defaults to "Recently Used". What I'm wanting to find out is how to get rid of the entry from the "Places" bar altogether. I understand that the entry was put there with good intentions, but it seem