Edit and Continue

So Visual Studio’s Edit and Continue won’t work on external drives. Grr.

44,515 views 21 replies
Reply #1 Top

wooooot ?

Reply #2 Top

Does it help if you mount the drive as a subfolder on C: ?

Reply #3 Top

I hate when something causes me to stop debugging to make a change. Especially when I'm doing development on one of our websites.

 

*Stop* *Make change* *Restart Debugging* *Wait for the website to load up(takes forever when debugging)* *Log into test account* *Navigate through layers of pages to get to the page I was working on* ... *Etc*

 

Never had any issues with external drives though, my development folder is just on my C drive.

Reply #4 Top


So Visual Studio’s Edit and Continue won’t work on external drives. Grr.

End of quote

o_O

I think you should invert the polarity of the plasma relays and try again.

Sorry but... what on earth are you talking about? And why?

Reply #6 Top

Use notepad for all your needs. Notepad for HTML. Notepad for C++. Notepad for .php. Notepad for everything.

 

Notepad supremacy.

Reply #7 Top

How do you mount the drive as a subfolder on C:?

Reply #8 Top

You mean "text editor" for everything, right?  I'm gonna have to call you insulting names if you claim windows notepad is the best 8O

 

As for which text editor is best is of course something of a holy war, but windows notepad shouldn't have anyone in it's corner!

 

My personal favorite on Windows is Notepad++, but since I run Linux most of the time (Windows is a "Wintendo" for me!) I'm mainly a Vim guy, with tons of plugins of course!

Reply #9 Top

notepad++, always did drive the other programmers insane when used it :)

Reply #10 Top

Notepad++ is indeed awesome, I use it for pretty much all my editing needs. Debugging on the other hand is a different monster, so there are times when you need more specific tools.

Reply #11 Top

Quoting Sekerah, reply 3
I hate when something causes me to stop debugging to make a change. Especially when I'm doing development on one of our websites.

 

*Stop* *Make change* *Restart Debugging* *Wait for the website to load up(takes forever when debugging)* *Log into test account* *Navigate through layers of pages to get to the page I was working on* ... *Etc*

 

Never had any issues with external drives though, my development folder is just on my C drive.
End of Sekerah's quote

I get around a lot of the headaches by using IIS instead of Visual Studio's built-in web server.  This way I can stay on the page I was on and simply refresh when I make a change.

Bara

Reply #12 Top

Might be time to look at a hot swappable system for work and home. In theory you should be able to snatch the drive you are working on, take it home, and slap it in to continue the bug hunting fun. I have not messed with them so I am not sure that it will help with your issue :)

Reply #13 Top

Just share the external drive out, then Map the drive.

Reply #14 Top

Quoting Magog_AoW, reply 4

quoting post
So Visual Studio’s Edit and Continue won’t work on external drives. Grr.




I think you should invert the polarity of the plasma relays and try again.

Sorry but... what on earth are you talking about? And why?
End of Magog_AoW's quote

LOL, we have our new Chief Engineer, Captain.

Reply #15 Top

Visual Studio is pretty bad. I like it cuz its free (Express Edition) but it crashes very often. Intellisense has become integral to my programming, but we have to delete our NCB files pretty often to reset it. Is the professional or 2010 version any better... probably not...

Reply #16 Top

Quoting UmbralAngel, reply 16
Visual Studio is pretty bad. I like it cuz its free (Express Edition) but it crashes very often. Intellisense has become integral to my programming, but we have to delete our NCB files pretty often to reset it. Is the professional or 2010 version any better... probably not...
End of UmbralAngel's quote

I don't think I've ever had to delete an NCB file while using Visual Studio.  Although my VS crashes fairly often (once a week or so, which is often enough) too.  VS2008 crashed much more frequently though, so I'd say VS2010 is more stable.

Bara

Reply #17 Top

Quoting gerry58, reply 7
How do you mount the drive as a subfolder on C:?
End of gerry58's quote

Create a folder on your c drive called otherdrive or whatever you want.

Go into disk management.

Select the external drive, right click, and choose "Change drive letters and paths". Click the "change" button

Click the radio button "Mount in the following empty NTFS folder". Browse to the folder you created above ("otherdrive" in my example)

This is a handy trick if you are having rights/permissions issues with any drive that is physically on the same box. Files are written to the drive but treated as a folder in the C: drive.

Reply #18 Top

Don't know if this is the cause, but something to make note of...

Windows Vista and Windows 7 have this odd habit of marking your external USB drives as read only.  If that is the case, you need to take ownership.

  • Open a command prompt window as administrator.
  • In the command prompt type "diskpart"
  • Type "list volume" this will list all the drives on your computer and give them all volume numbers.
  • Next you want diskpart to set focus on the write protected drive "select volume #" which ever volume is the disk in question.
  • Now enter "attributes disk clear readonly" and then type "attributes volume clear readonly"
  • Check the drive in question, you should now be able to access the disk with full permissions.

 

Reply #19 Top

/* DISCLAIMER */

Be very careful about doing the above things. If you don't know what you're doing, bad things will happen

^_^'  I did something like this two years ago, and not really knowing what I was doing I screwed my computer up for a week or two until I could figure out how to undo it.