Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Edit and Continue in Visual Studio

I was using Visual Studio 2010 Express for a project and recently changed over to ultimate 2010. I am noticing that when I would debug in express I could put a break point, edit the code if needed and continue without having to recompile.

With VS 2010 ultimate it tells me the version has changed and i have to stop and restart. How do i get the functionality that express had in ultimate?

Thanks for the help.

EDIT: More specifically, here is the message i get: "This source file has changed. It no longer matches the versio nof the file used to build the application being debugged".

like image 695
bline22 Avatar asked Apr 08 '11 17:04

bline22


1 Answers

You have to enable 'Edit & Continue' both in the debug menu (should be on by default. check by going to debug > options+settings) and possibly again in the specific project if it's a web project of some sort. It should be a checkbox there.

edit: it's been a bit since i've tried it, but as far as i recall, that's the how. i'll see if i can grab you a link.

like image 110
FGhilardi Avatar answered Oct 16 '22 15:10

FGhilardi