2024-06-18 17:35:31 -04:00
|
|
|
|
namespace ReCodeIt.Models;
|
|
|
|
|
|
|
|
|
|
public class CrossCompilerProjectModel
|
|
|
|
|
{
|
2024-06-18 20:42:58 -04:00
|
|
|
|
#region REQUIRED_ON_CREATION
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The path of the original assembly
|
|
|
|
|
///
|
|
|
|
|
/// (Required on creation)
|
|
|
|
|
/// </summary>
|
2024-06-18 17:35:31 -04:00
|
|
|
|
public string OriginalAssemblyPath { get; set; }
|
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Remapped output path
|
|
|
|
|
///
|
|
|
|
|
/// (Required on creation)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RemappedAssemblyPath { get; set; }
|
2024-06-18 17:35:31 -04:00
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The path to the working directory vs project
|
|
|
|
|
///
|
|
|
|
|
/// (Required on creation)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VisualStudioSolutionPath { get; set; }
|
2024-06-18 17:35:31 -04:00
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is where the final dll is built to
|
|
|
|
|
///
|
|
|
|
|
/// (Required on creation)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BuildDirectory { get; set; }
|
2024-06-18 17:35:31 -04:00
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
#endregion REQUIRED_ON_CREATION
|
2024-06-18 17:35:31 -04:00
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the solution
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SolutionName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The ReCodeIt.json path
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ReCodeItProjectPath { get; set; }
|
2024-06-18 17:35:31 -04:00
|
|
|
|
|
2024-06-18 20:42:58 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Remapped output hash
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OriginalAssemblyHash { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Remapped output hash
|
|
|
|
|
/// </summary>
|
2024-06-18 17:35:31 -04:00
|
|
|
|
public string RemappedAssemblyHash { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Key: Remapped name, value: old name
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Dictionary<string, string> ChangedTypes { get; set; } = [];
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Remap models used on this project
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<RemapModel> RemapModels { get; set; } = [];
|
|
|
|
|
}
|