SOMS/SolutionCleanupTool/Models/SolutionModel.cs
2025-12-31 14:25:09 +08:00

25 lines
869 B
C#

using System;
using System.Collections.Generic;
namespace SolutionCleanupTool.Models
{
/// <summary>
/// Represents a parsed Visual Studio solution file
/// </summary>
public class SolutionModel
{
public string FilePath { get; set; } = string.Empty;
public List<ProjectReference> Projects { get; set; } = new List<ProjectReference>();
public List<SolutionConfiguration> Configurations { get; set; } = new List<SolutionConfiguration>();
public Dictionary<string, string> GlobalSections { get; set; } = new Dictionary<string, string>();
}
/// <summary>
/// Represents a solution configuration (Debug, Release, etc.)
/// </summary>
public class SolutionConfiguration
{
public string Name { get; set; } = string.Empty;
public string Platform { get; set; } = string.Empty;
}
}