Skip to content

Conversation

tmat
Copy link
Member

@tmat tmat commented Mar 18, 2021

Implements WatchHotReloadService wrapper around IEditAndContinueWorkspaceService that exposes EnC functionality in a shape suitable for dotnet watch.

Adds new capability to StartDebuggingSessionAsync that allows the EnC service to hydrate the content of files that support EnC in the given solution snapshot and checks that the sources match the checksums stored in the PDB. Matching document ids are cached so that the validation does not need to be redone when emitting deltas later on.

Implements #50773

@ghost ghost added the Area-Interactive label Mar 18, 2021
@tmat tmat force-pushed the WatchExternalAccess branch from baa123c to 48b5a09 Compare March 19, 2021 20:29
@tmat tmat force-pushed the WatchExternalAccess branch from 48b5a09 to 8a03b63 Compare March 19, 2021 20:34
@tmat tmat marked this pull request as ready for review March 19, 2021 20:35
@tmat tmat requested a review from a team as a code owner March 19, 2021 20:35
@tmat
Copy link
Member Author

tmat commented Mar 19, 2021

@davidwengier @pranavkm

@pranavkm
Copy link
Contributor

Did you miss adding WatchHotReloadService to this? Also I don't think these changes are in main as yet: https://github.com/dotnet/roslyn/tree/main-vs-deps/src/Tools/ExternalAccess/DotNetWatch

@tmat
Copy link
Member Author

tmat commented Mar 19, 2021

@pranavkm Ah, yes. Sadly git commit -am does not commit new files :(

@tmat tmat merged commit b254587 into dotnet:main Mar 22, 2021
@ghost ghost added this to the Next milestone Mar 22, 2021
@tmat tmat deleted the WatchExternalAccess branch March 22, 2021 16:53
@333fred 333fred mentioned this pull request Mar 25, 2021
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants