runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Edit and continue not working

Open treziac opened this issue 10 years ago • 15 comments

When creating a Console Application project (.NET Core) in visual studio 2015, edit and continue is not working in debug (classic "this source file has changed. It no longer matches the version of the file used to build the application being debugged") However, it works when creating a standard console application project.

Couldn't find any info on the edit and continue feature on core project, is there a conf to enable or is it just not implemented in vs2015?

Version 14.0.25431.01 Update 3 Microsoft .NET Framework Version 4.6.01586 Microsoft .NET Core Tools (Preview 2) 14.1.20907.0

Thanks!

treziac avatar Oct 31 '16 15:10 treziac

did you found a solution for this?

hdesouky avatar Dec 26 '16 22:12 hdesouky

No, it still doesn't work and isn't fixed with new csproj in 2017 RC, making without it for the moment

treziac avatar Dec 27 '16 13:12 treziac

Is there any indication of when this might be fixed?

Ziflin avatar Jan 09 '17 21:01 Ziflin

cc: @noahfalk

janvorli avatar Jan 09 '17 21:01 janvorli

@gregg-miskelly - is something you guys were aware of?

noahfalk avatar Jan 10 '17 01:01 noahfalk

@treziac Do you know if you are using portable PDBs? I believe it is the default for the VS templates (see https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs for more information).

If so - I believe this is fixed in 2017 RC.3 when that comes out: https://github.com/dotnet/roslyn/pull/16197. If not - I am not sure why this isn't working for you. I can give it a try.

gregg-miskelly avatar Jan 10 '17 01:01 gregg-miskelly

Using VS 2017 RC4-26206

Creating a simple Console Application from template and trying to modify "Hello World" while debugging, will then not allow the current debug location to be moved.

Sharpiro avatar Feb 15 '17 16:02 Sharpiro

@mikem8361 @noahfalk @lt72 PTAL

gkhanna79 avatar Mar 05 '17 03:03 gkhanna79

@gkhanna79 - @gregg-miskelly's team usually takes the first crack at issues that repro in VS and then engages our team if they think the bad behavior is coming from our APIs.

noahfalk avatar Mar 06 '17 23:03 noahfalk

Thanks @noahfalk - I assigned it to you to triage and route as appropriate as you would know the best :)

gkhanna79 avatar Mar 07 '17 01:03 gkhanna79

@gkhanna79 - Heh, yeah, I realized your intent a little ways after responding ; ) Certainly thanks for forwarding and please keep doing so.

noahfalk avatar Mar 07 '17 02:03 noahfalk

It was working better for me on last RC, but I'm waiting for the official release to check again ;)

treziac avatar Mar 07 '17 07:03 treziac

Assigning to Gregg for proper tracking.

lt72 avatar Mar 29 '17 20:03 lt72

@treziac did you get a chance to try in RTW yet?

gregg-miskelly avatar Mar 29 '17 21:03 gregg-miskelly

Yes, it seems to work properly, thanks!

treziac avatar Mar 31 '17 11:03 treziac