ProjectConfig DeserializeProjectConfig(string configPath) { try { return(PrjSerializer.DeserializeProjectConfig(File.ReadAllText(configPath))); } catch (Exception e) { throw new Exception( "Error while reading from '{0}': \n\n{1}".Fmt(Path.GetFileName(configPath), e.Message)); } }
string GetSerializedProjectConfigFromLists() { return(PrjSerializer.SerializeProjectConfig(GetProjectConfigFromLists())); }