From 01a7d3bfaa585c4fd8bdf930b29bf2a06e271309 Mon Sep 17 00:00:00 2001 From: Federico O'Reilly Regueiro Date: Mon, 31 Jan 2022 09:58:23 -0500 Subject: [PATCH] convert CSProjSubTypeInfos fields to members CSharp project subtype serialization is currently yielding an array of empty entries, if the class' fields are converted to members, the serialization passes --- Sharpmake.Generators/VisualStudio/Csproj.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Sharpmake.Generators/VisualStudio/Csproj.cs b/Sharpmake.Generators/VisualStudio/Csproj.cs index 20a089b2d..c179143b2 100644 --- a/Sharpmake.Generators/VisualStudio/Csproj.cs +++ b/Sharpmake.Generators/VisualStudio/Csproj.cs @@ -2778,16 +2778,16 @@ private void WriteEvents(Project.Configuration conf, Options.ExplicitOptions opt [Serializable] public class CsProjSubTypesInfos { - public string CsProjFullPath; - public DateTime LastWriteTime; - public List SubTypeInfos; + public string CsProjFullPath { get; set; } + public DateTime LastWriteTime { get; set; } + public List SubTypeInfos { get; set; } [Serializable] public class SubTypeInfo { - public string FileName; - public DateTime LastWriteTime; - public string SubType; + public string FileName { get; set; } + public DateTime LastWriteTime { get; set; } + public string SubType { get; set; } } }