71 lines
1.9 KiB
C#
71 lines
1.9 KiB
C#
namespace ReCodeIt.Models;
|
|
|
|
public class CrossCompilerProjectModel
|
|
{
|
|
#region REQUIRED_ON_CREATION
|
|
|
|
/// <summary>
|
|
/// The path of the original assembly
|
|
///
|
|
/// (Required on creation)
|
|
/// </summary>
|
|
public string OriginalAssemblyPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// The path to the working directory vs project
|
|
///
|
|
/// (Required on creation)
|
|
/// </summary>
|
|
public string VisualStudioSolutionPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// The path to the dependency folder for the active solution. Also where the remapped dll is
|
|
/// built to and replaced
|
|
///
|
|
/// (Required on creation)
|
|
/// </summary>
|
|
public string VisualStudioDependencyPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// This is where the final dll is built to
|
|
///
|
|
/// (Required on creation)
|
|
/// </summary>
|
|
public string BuildDirectory { get; set; }
|
|
|
|
#endregion REQUIRED_ON_CREATION
|
|
|
|
/// <summary>
|
|
/// The path to the working directory vs project
|
|
/// </summary>
|
|
public string VisualStudioSolutionDirectoryPath => Path.GetDirectoryName(VisualStudioSolutionPath)!;
|
|
|
|
public string ProjectDllName => SolutionName.Replace(".sln", ".dll");
|
|
|
|
public string OriginalAssemblyDllName => Path.GetFileName(OriginalAssemblyPath);
|
|
|
|
/// <summary>
|
|
/// Name of the solution
|
|
/// </summary>
|
|
public string SolutionName => Path.GetFileName(VisualStudioSolutionPath);
|
|
|
|
/// <summary>
|
|
/// Remapped output hash
|
|
/// </summary>
|
|
public string OriginalAssemblyHash { get; set; }
|
|
|
|
/// <summary>
|
|
/// Remapped output hash
|
|
/// </summary>
|
|
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; } = [];
|
|
} |