Skip to content

Commit

Permalink
convert CSProjSubTypeInfos fields to members
Browse files Browse the repository at this point in the history
CSharp project subtype serialization is currently yielding an array of empty entries, if the class' fields are converted to members, the serialization passes
  • Loading branch information
friketrike committed Jan 31, 2022
1 parent e4da5b5 commit 01a7d3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sharpmake.Generators/VisualStudio/Csproj.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SubTypeInfo> SubTypeInfos;
public string CsProjFullPath { get; set; }
public DateTime LastWriteTime { get; set; }
public List<SubTypeInfo> 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; }
}
}

Expand Down

0 comments on commit 01a7d3b

Please sign in to comment.