diff --git a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/HotReload/ProjectHotReloadSessionManager.cs b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/HotReload/ProjectHotReloadSessionManager.cs index 4fe0de7543..3b0087c560 100644 --- a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/HotReload/ProjectHotReloadSessionManager.cs +++ b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/HotReload/ProjectHotReloadSessionManager.cs @@ -479,12 +479,11 @@ internal class HotReloadState : IProjectHotReloadSessionCallback // TODO: Support restarting the session. public bool SupportsRestart => true; - public UnconfiguredProject? Project { get; } + public UnconfiguredProject? Project => _sessionManager._project; public HotReloadState(ProjectHotReloadSessionManager sessionManager) { _sessionManager = sessionManager; - Project = _sessionManager._project; } internal void OnProcessExited(object sender, EventArgs e)