/// <summary> /// Initializes a new instance of the <see cref="ShellViewModel"/> class. /// </summary> public ShellViewModel() { this.Model = new AutoSquirrelModel(); this.UserPreference = PathFolderHelper.LoadUserPreference(); var last = this.UserPreference.LastOpenedProject.LastOrDefault(); if (!string.IsNullOrEmpty(last) && File.Exists(last)) { OpenProject(last); } }