public void Save()
{
StartupItem = StartupProject?.Name;
for (var i = 0; i < ProjectReferences.Count; i++)
{
ProjectReferences[i] = ProjectReferences[i].ToAvalonPath();
}
SerializedObject.Serialize(Path.Combine(CurrentDirectory, Name + "." + Extension), this);
}
public static Solution Create(string location, string name, bool save = true) { var result = new Solution(); result.Name = name; result.CurrentDirectory = location + Platform.DirectorySeperator; if (save) { result.Save(); } return(result); }